Commit Graph
598 Commits
Author SHA1 Message Date
Gymnasiast 5ffee91c8a Rename members of GameActions::Status 2025-12-12 11:41:49 +01:00
Michael Steenbeek 31344adc61 Fix missed 'using' in Finance.h 2025-12-11 00:18:27 +00:00
Michael Steenbeek 355bb5d58d Refactor GAME_COMMAND_FLAG_* to enum+FlagHolder 2025-12-11 00:12:21 +01:00
mix e0f9e756cb Rename OpenRCT2::MapSelection functions to lowerCamelCase 2025-11-23 00:17:16 +00:00
mix 6631b452ad Encapsulate selected tiles and invalidate when changed 2025-11-23 00:17:15 +00:00
mix f3cedcc1d9 Remove manual map selection invalidation calls 2025-11-23 00:17:15 +00:00
mix 83591cf94e Fix track construction arrow position when removing track pieces 2025-11-23 00:21:14 +01:00
Michael Steenbeek 6f24577027 Fix return value of Widget::width() 2025-11-08 10:27:58 +01:00
Gymnasiast 124352c922 Update members of TextAlignment 2025-11-03 23:25:29 +01:00
Gymnasiast daa4fe8ac3 Rename field of all config categories 2025-10-07 20:21:32 +02:00
Gymnasiast 1f8c9af9ce Rename methods of InputManager 2025-10-01 20:35:35 +02:00
Gymnasiast 45912ec9a3 Rename members of SoundId 2025-10-01 20:35:34 +02:00
Michael Steenbeek eb38b7227f Change WindowFlag to strong enum 2025-09-20 21:46:42 +02:00
Gymnasiast aab21c4747 Rename validate_global_widx to VALIDATE_GLOBAL_WIDX 2025-09-17 23:50:28 +02:00
Gymnasiast 472e048f69 Make WindowView into strong enum 2025-09-17 23:49:17 +02:00
Gymnasiast a662c5ef8e Change WindowClass members to use lowerCamelCase 2025-09-17 23:18:52 +02:00
Gymnasiast 3a803e13e2 Change window functions to use lowerCamelCase 2025-09-17 20:10:12 +02:00
Gymnasiast d4a0bca091 Rename Window fields 2025-09-17 20:10:12 +02:00
Gymnasiast 2a792987a7 Rename local variables like ‘pressedWidgets’ in anticipation of field renames 2025-09-17 20:10:12 +02:00
Gymnasiast b6e09bbc7e Change code style of enums in Viewport.h 2025-09-17 20:10:11 +02:00
Gymnasiast 9db3d609d2 Turn MapSelectType into enum class 2025-09-11 22:06:10 +02:00
Gymnasiast 6f7987e1c7 Turn MapSelectFlags into FlagHolder 2025-09-11 22:06:10 +02:00
Aaron van Geffen 4446ff9f6f Pass game state ref as parameter to game actions (#25065) 2025-09-08 16:21:29 +02:00
Aaron van Geffen 5a4cc7d00d Remove Network function name prefixes given namespace qualifiers 2025-08-31 16:02:43 +02:00
Aaron van Geffen 5b8fedd5b2 Rework Map.h includes (remove transitive header includes) 2025-09-04 22:16:53 +02:00
Aaron van Geffen 013fcb3798 Split off MapSelection.h from Map.h 2025-09-04 21:57:36 +02:00
Aaron van Geffen abe58f6439 Move ClearAction, GameAction, ScenarioSetSettingAction into GameActions (#25045) 2025-08-29 06:32:05 -03:00
Michael Steenbeek ba2ed7564c Merge pull request #25027 from Gymnasiast/refactor/dropdown-3
Move more global dropdown stuff into individual items
2025-08-27 17:26:43 +02:00
Aaron van Geffen 0e2f9fbc03 Move RideSetStatus, RideSetVehicle into GameActions namespace 2025-08-27 11:03:08 +02:00
Aaron van Geffen 45ad3ec683 Move RideEntranceExit{Place/Remove}/FreezeRating/SetAppearance/SetColourScheme 2025-08-27 10:55:37 +02:00
Aaron van Geffen 50de94c5df Move RideCreateAction, RideDemolishAction into GameActions namespace 2025-08-26 22:39:51 +02:00
Aaron van Geffen 86a001875e Move Track game actions to GameActions namespace 2025-08-26 21:28:10 +02:00
Aaron van Geffen afdee8852a Move LoadOrQuit, Map, Maze, Network game actions 2025-08-26 21:17:44 +02:00
Gymnasiast ecd2cf0dfc Create PlainMenuLabel constructor 2025-08-24 11:30:59 +02:00
Gymnasiast 6f1b0bde03 Create ToggleOption and Separator constructors 2025-08-24 11:30:59 +02:00
Gymnasiast ff896787ac Replace dropdown disabled/checked functions 2025-08-24 11:30:58 +02:00
Michael Steenbeek 577c3336c6 Create struct for all dropdown-related globals (#25023) 2025-08-23 13:56:13 +02:00
Michael Steenbeek 92f493b28a Merge pull request #25010 from Gymnasiast/refactor/more-code-style
More code style refactors
2025-08-21 22:26:52 +02:00
Gymnasiast 9c810d9e32 Update ParkData fields to new code style 2025-08-21 22:12:41 +02:00
Gymnasiast 8fd9658cd3 Update dropdown item fields and functions to new code style 2025-08-21 21:33:22 +02:00
mix 6ed3783e06 Prevent diagonal slopes from being built if vehicles lack sprites (#23351) 2025-08-15 10:26:50 -03:00
Michael Steenbeek 7b322d825a Refactor constants in window .cpp files 2025-06-16 23:10:47 +02:00
Gymnasiast 81e3181ebb Pass ScreenSize to makeWindowShim() 2025-06-10 23:21:15 +02:00
Gymnasiast bdba89f428 Pass ScreenSize to window creation functions 2025-06-10 23:20:28 +02:00
Gymnasiast bd6ae5848c Rename remaining methods in Widget.h to lowerCamelCase 2025-06-10 23:20:18 +02:00
Gymnasiast 650fa3ae2e Rename WindowWidgetType to WidgetType and change for new code style 2025-06-10 19:55:12 +02:00
Gymnasiast 149468406b Update WindowColour enum for new code style 2025-06-10 19:53:12 +02:00
Gymnasiast 86e265f093 Make widget creation functions lowerCamelCase 2025-06-10 19:51:21 +02:00
Aaron van Geffen 0779b9f0ab Replace window shim and widget macros with constexpr functions (#24566) 2025-06-07 23:02:14 +02:00
ζeh Matt de0ad4f0f4 Add missing break statements 2025-05-23 18:31:18 +03:00