Gymnasiast
ea5fc03dd0
Turn WindowDetail into strong enum
2025-09-17 23:35:10 +02:00
Gymnasiast
a662c5ef8e
Change WindowClass members to use lowerCamelCase
2025-09-17 23:18:52 +02:00
Gymnasiast
b6e09bbc7e
Change code style of enums in Viewport.h
2025-09-17 20:10:11 +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
5b8fedd5b2
Rework Map.h includes (remove transitive header includes)
2025-09-04 22:16:53 +02:00
Aaron van Geffen
a052437d12
Move Park game actions to GameActions namespace
2025-08-26 20:52:46 +02:00
Aaron van Geffen
238b397968
Move scenery game actions into GameActions namespace
2025-08-26 15:55:26 +02:00
Aaron van Geffen
bcb803df96
Move Footpath game actions into GameActions namespace
2025-08-26 14:48:16 +02:00
Aaron van Geffen
e8ef3897df
Rework more game actions into GameActions namespace
2025-08-26 14:22:58 +02:00
Aaron van Geffen
134f4ac43e
Start moving game actions into GameActions namespace
2025-08-25 22:16:55 +02:00
Gymnasiast
9c810d9e32
Update ParkData fields to new code style
2025-08-21 22:12:41 +02:00
Gymnasiast
d2f9d34123
Differentiate formatTextTo() from formatTextWithColourTo()
2025-05-21 00:15:16 +02:00
Gymnasiast
068112c1ee
Rename Banner methods to use camelCase
2025-05-21 00:15:16 +02:00
Gymnasiast
ddacaacc71
Change SCROLLING_MODE_NONE to kScrollingModeNone
2025-05-20 22:57:59 +02:00
Gymnasiast
2002f697e0
Refactor INPUT_FLAGS into FlagHolder
2025-03-26 13:00:54 +01:00
Gymnasiast
4badffcdb6
Change GameState_t members to lowerCamelCase
2025-03-20 23:05:57 +01:00
Aaron van Geffen
2c8c37c09d
Reduce Map.h includes ( #24007 )
2025-03-16 18:41:51 +01:00
Michael Steenbeek
05b64985f4
Update Ride struct to new codestyle
2025-03-09 00:26:25 +01:00
Gymnasiast
e35c7fdb5c
Update RideStatus to current code style
2025-03-06 23:01:46 +01:00
Michael Steenbeek
06c1fed4f7
Refactor gScreenFlags to LegacyScene enum
2025-03-05 20:45:04 +00:00
Aaron van Geffen
a380413c56
Remove Scenario.h include from many units ( #23901 )
...
* Reduce includes/dependencies for Scenario.h
* Remove Scenario.h include from many units
2025-03-01 17:32:32 +01:00
Aaron van Geffen
cf448753c1
Move WindowInvalidate and WidgetInvalidate families into WindowManager ( #23692 )
...
* Move WindowInvalidate and WidgetInvalidate families into WindowManager
* Use InvalidateWidget shorthand in more places
* Cut back on UiContext includes
* Cut back on Window.h includes
* Remove outdated parameter comments
2025-01-25 13:46:08 +01:00
Michael Steenbeek
be9f27e4f9
Mass rename constants ( #23656 )
2025-01-19 15:59:45 +00:00
Aaron van Geffen
5fbe8d0ae1
Centralise external window signatures in Windows.h ( #23653 )
2025-01-19 15:50:54 +01:00
Aaron van Geffen
bed4d5bdca
Move WindowCreate and WindowFocusOrCreate into WindowManager ( #23643 )
...
* Move WindowBringToFront into WindowManager
* Move WindowCreate and WindowFocusOrCreate into WindowManager
* Cut back on Context/UiContext includes
2025-01-19 06:58:28 -03:00
Aaron van Geffen
aa45247f21
Move WindowFind functions into WindowManager ( #23517 )
...
* Move WindowFind* functions into WindowManager
* Update parameter documentation where applicable
2025-01-08 21:12:11 +01:00
Aaron van Geffen
fa06a49302
Update copyright year to 2025 ( #23514 )
2024-12-31 20:30:04 +01:00
RedMarcher
c24e47dea1
Rename cheat variables to match new code style
2024-12-01 18:15:37 +01:00
Michael Steenbeek
a2ed026264
Split up remaining tile elements
2024-10-15 22:02:31 +02:00
Michael Steenbeek
71ce725a2a
Split off BannerElement and TrackElement ( #22955 )
2024-10-14 14:26:10 +02:00
duncanspumpkin
6283993351
Move WallElement into its own header/source files
2024-10-07 22:04:13 +02:00
Michael Steenbeek
e6e0f97557
Split off EntranceElement header
2024-10-03 12:42:53 +02:00
Aaron van Geffen
97acb793e8
Rename InteractionInfo::SpriteType to interactionType
2024-09-22 16:53:43 +02:00
Gymnasiast
4ff99d6fd1
Confine provisional paths to Footpath.cpp
2024-09-06 23:31:50 +02:00
Duncan
a07b56a655
Move Viewport functions into Ui ( #22454 )
...
* Move viewport functions into ui
* Move footpath function to ui
* Don't include viewport in footpath.h
* Include missing includes
2024-08-02 06:01:31 +01:00
mrmbernardi
9ed5c63857
Rename Location.hpp constants ( #22385 )
2024-07-26 10:23:25 +02:00
Aaron van Geffen
3d5c19de08
Drop Localisation.h include where not required
2024-07-13 13:33:32 +02:00
Aaron van Geffen
ef4cad5ee3
Move UI exclusive string ids to UiStringIds.h
2024-05-10 23:24:46 +02:00
Michał Janiszewski
7b12667ddb
Reduce <algorithm> include ( #21947 )
2024-05-01 13:47:27 +02:00
Gymnasiast
4f3b7aa8a9
Turn Park into struct
2024-04-04 18:12:36 +02:00
Gymnasiast
28451027b1
Move Park to GameState_t
2024-04-04 18:12:08 +02:00
Duncan
7a60e7f2e0
OpenRCT2::Ui::Windows namespace for OpenRCT2 Ui Windows ( #21559 )
...
* Move all the windows into OpenRCT2::Ui::Windows namespace
* Fix missing symbol
* Clang format
* Call the correct FormatStringID
2024-03-10 13:52:35 +00:00
Duncan
3146d463bd
Move Ui header items to OpenRCT2::Ui ( #21546 )
...
* Move ui definitions to ui project
* Enforce coding style
* Apply clang format
* Add clang tidy ignore
* Increase compiler happiness
2024-03-09 14:15:45 +00:00
ζeh Matt
d95f14dcda
Fix ViewportPosToMapPos using the wrong rotation
2024-03-05 10:23:30 +02:00
ζeh Matt
1a7b873256
Fix ViewportInteractionGetClosestPeep not using the right rotation
2024-03-05 10:23:29 +02:00
ζeh Matt
87dd29f3bc
Make GetClosestPeep static
2024-03-05 10:23:29 +02:00
Duncan
4b6ba80a46
Move cheats to struct in GameState_t
2024-03-03 22:44:15 +01:00
Harry Hopkinson and Gymnasiast
701bbda164
Move gEditorStep to GameState_t ( #21492 )
...
* Move gEditorStep to GameState_t
* Fix compilation on GCC
---------
Co-authored-by: Gymnasiast <m.o.steenbeek@gmail.com >
2024-03-01 20:26:20 +00:00
James103
1d8dc111f1
Replace 2023 with 2024 in copyright headers ( #21139 )
...
Replace all instances of the year 2023 with 2024 in all copyright headers
2024-01-01 12:52:28 +01:00
Hielke Morsink
a49b34a3af
Pass tile elements by their type and as const ref
2023-08-07 00:30:48 +02:00