pizza2004
a5607da09d
Refactor Widget to TitleCase ( #13355 )
2020-11-03 18:29:22 -03:00
pizza2004
b0fd5f93d7
Refactor UI/Interface misc to TitleCase ( #13354 )
...
* Refactor LandTool to Namespace
* Refactor Theme to TitleCase
* Refactor ViewportInteraction to TitleCase
2020-11-03 10:59:00 +00:00
Sadret
c2d309af38
Close #13346 : Change FootpathScenery to FootpathAddition ( #13350 )
2020-11-03 08:17:29 +00:00
pizza2004
68bd035f12
Refactor Dropdown to TitleCase ( #13352 )
...
* Refactor Dropdown Namespace
* Refactor Dropdown to TitleCase
2020-11-03 08:16:06 +00:00
pizza2004
1643c62939
Refactor UI/Input MouseInput to Title Case
2020-11-02 07:05:33 -07:00
ζeh Matt
645289f4ec
Rename GameActionResult and use GameActions namespace instead ( #13184 )
2020-10-14 22:04:39 -03:00
Gymnasiast
eb2f40f35c
Fix typo in WC_EDITOR_OBJECTIVE_OPTIONS
2020-10-11 19:28:25 +02:00
Gymnasiast
16ca892449
Add Objective Options to Cheats menu
2020-10-11 19:28:25 +02:00
Matt
091145037e
Move the audio code into OpenRCT2 namespace
2020-10-07 00:34:42 +03:00
Julia Pinheiro
6a76547c5b
Close #12412 : Refactor PROMPT_MODE to use strong enum ( #13076 )
2020-10-02 23:04:59 -03:00
Aaron van Geffen
d27e14f45b
Compact, statically initialized syntax for event lists ( #12973 )
2020-09-28 20:36:15 +02:00
Michael Steenbeek
4a79e9305f
Replace gfx_draw_string_right() with DrawTextBasic ( #12966 )
2020-09-18 21:39:00 -03:00
Michael Steenbeek
77e22851cc
Merge pull request #12925 from richard-fine/dropdown-menus-static-data
...
RFC: Dropdown menus static data
2020-09-18 23:37:26 +02:00
Matt
ccde06ab0f
Explicitly pass formatter arguments to ShowError and family
2020-09-17 22:14:36 +03:00
Richard Fine
4f31ddaca4
Make menu data declarations local to the functions using them
2020-09-13 16:30:17 -04:00
Richard Fine
a51d8e4deb
Convert cheats menu to use new constexpr menu specification
2020-09-13 16:16:05 -04:00
Richard Fine
ce99928b81
Convert view menu to use new constexpr menu specification
2020-09-13 16:15:53 -04:00
Tulio Leao
731a93dc39
Create WindowColour enum for widget definition calls ( #12722 )
...
* Make MakeWidget* functions take enum colour
* Make windows A-D use WindowColour enum
* Make windows E-G use WindowColour enum
* Make windows I-M use WindowColour enum
* Make windows N-P use WindowColour enum
* Make windows R-S use WindowColour enum
* Make windows T use WindowColour enum
* Make windows V-W use WindowColour enum
2020-08-28 23:31:31 -03:00
Łukasz Pękalski
411f242cfd
Close #12431 Refactor VirtualFloorStyles to use strong enum ( #12790 )
2020-08-27 21:06:39 -03:00
Michał Janiszewski
6dd67296a4
Merge "new version" window back to changelog
2020-08-14 10:18:17 +02:00
Michał Janiszewski
6ae5645686
Show update information on main screen & in floppy menu
2020-08-14 10:18:17 +02:00
Michael Steenbeek
5e09ecc904
Fix #12308 : Cannot use cheats in editor modes ( #12661 )
...
This allows opening the cheats window while in editor mode. Some tabs and options are disabled because they are not relevant to these modes.
2020-08-13 13:03:56 +02:00
Duncan
733bc5a981
Close #12518 : Viewport Refactor ( #12541 )
...
* Remove viewport pointer from get_map_coordinates_from_pos
* Removed viewport from get_window
* Return a InteractionInfo from get_map_coord...
* Remove viewport_interaction_info struct
* Add Entity union to simplify code
* Name the enum used for viewport interaction
* Simplify functions further by returning the info struct
* Add default switches
2020-08-02 08:32:59 +01:00
Aaron van Geffen
16ad1d18fb
Refactor another set of widget definitions ( #12503 )
...
* Refactor TopToolbar
* Refactor TrackDesignManage
* Refactor TrackDesignPlace
* Refactor TrackList
* Refactor ViewClipping
* Refactor Viewport
* Refactor TitleEditor
* Refactor TitleCommandEditor
* Refactor Themes
* Refactor TextInput
2020-07-30 22:58:49 +02:00
Aaron van Geffen
681b8d7938
Introduce widget::width and widget::height helper functions ( #12053 )
2020-06-24 22:44:00 -03:00
TomasZilinek
cd6076b5bc
FIx #12017 - Create gfx_draw_sprite overload ( #12049 )
...
Second and final part. replaces the rest of the calls and removes the old function.
2020-06-24 12:48:17 -03:00
Tulio Leao
183ee1e595
Part of #11569 : Use ScreenCoordsXY instead of <x,y>
2020-06-11 10:11:33 -03:00
Tulio Leao
fab0ea131f
Part of #11569 : Use gfx_draw_string_right with ScreenCoordsXY
2020-06-11 10:11:20 -03:00
Michael Steenbeek
6d13f7ba68
Apply suggestions from code review
...
Co-authored-by: Aaron van Geffen <aaron@aaronweb.net>
2020-05-30 17:10:08 +02:00
Michiel
ac8dce44fd
Apply suggestions from code review
...
Co-authored-by: Michael Steenbeek <m.o.steenbeek@gmail.com>
2020-05-30 17:10:08 +02:00
Michiel Bos
3fdab8e7d9
Added icon to Cheats button to indicate clearance checks are disabled
2020-05-30 17:10:08 +02:00
Gymnasiast
9a9ab47856
Remove Twitch from the rest of the code
2020-05-28 09:28:32 +02:00
Ted John
be0e4a2869
Implement custom tools
2020-05-02 11:08:43 +01:00
Tulio Leao
d0704baab2
Make window_dropdown_show_text() use ScreenCoordsXY
2020-05-01 15:58:36 -03:00
Tulio Leao
0c51528425
Use ScreenCoordsXY on windows/TopToolbar.cpp
2020-05-01 12:52:07 -03:00
Ted John
c67962577a
Rename __ENABLE_SCRIPTING__ to ENABLE_SCRIPTING
2020-04-26 14:35:08 +01:00
Ted John
7f9ff121b1
Fix rebase
2020-04-26 14:35:07 +01:00
Ted John
e1c08defc8
Remove use of std::variant
2020-04-26 14:35:07 +01:00
Ted John
83fe0cf5c5
Implement strings for GameAction errors
2020-04-26 14:35:05 +01:00
Ted John
bac91cd563
Allow scripting to be compile-disabled
2020-04-26 14:35:03 +01:00
Ted John
639faa2085
Fix GCC issues
2020-04-26 14:35:03 +01:00
Ted John
4b95a3a9d0
Implement custom menu items
2020-04-26 14:35:01 +01:00
Michał Janiszewski
c4b6897635
Address possible nullptr dereferences
2020-04-21 13:31:01 +02:00
Tulio Leao
935cfe90fc
Use named casts on openrct2-ui/windows ( #11136 )
2020-04-18 13:32:48 +02:00
Olivier Wervers
506b06bd73
Fix #11072 : Land and water tools work out of bounds ( #11179 )
...
Tool tried to act out of bounds, where it shouldn't do anything
2020-04-17 19:34:32 -03:00
Ted John
d34dec9c27
Create ZoomLevel struct to add two new zoom levels
2020-03-23 15:54:03 +00:00
Michael Steenbeek
c519512cfe
Create ObjectEntryIndex ( #10980 )
2020-03-20 19:28:39 +01:00
Gymnasiast
459a0318cf
Implement review requests
2020-03-18 16:22:08 +01:00
Gymnasiast
5ba5daca42
Make ScenerySelection implementation a bit cleaner
2020-03-15 13:19:26 +01:00
Gymnasiast
70e287b076
Clean up scenery handling
2020-03-15 12:15:12 +01:00