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
195de3b258
Fix #6228 : Track design queue connections not preserved when built
2025-11-07 21:43:45 +01:00
Gymnasiast
c2c834df15
Create struct for footpath slope
2025-10-12 22:46:59 +02:00
Gymnasiast
159dc7aab0
Rename members of PeepState
2025-10-05 14:46:12 +02:00
Gymnasiast
5cc8ab4fa5
Move WallInTheWay() to Wall.{cpp,h}
2025-09-14 17:09:26 +02:00
Gymnasiast
61db76f74b
Move FootpathGetDefaultSurface() into window
2025-09-14 17:09:26 +02:00
Gymnasiast
4cf07f181d
Move two footpath globals into the window
2025-09-14 17:09:26 +02:00
Gymnasiast
121c2e0831
Remove unused gFootpathSelectedId
2025-09-14 17:09:26 +02:00
Michael Steenbeek
63a1c49db2
Refactor footpath placement functions
2025-09-14 14:25:08 +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
d6e9f3d205
Replace duplicate MapIsLocationAtEdge function with MapIsEdge ( #25107 )
2025-09-06 21:45:49 +02:00
Aaron van Geffen
12ab9195b6
Rework EntityRegistry into class
2025-08-31 14:29:36 +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
1e059d18d0
Move Guest and Land game actions into GameActions namespace
2025-08-26 15:10:05 +02:00
mix
89f349f6e8
Change MapAnimations::MarkTileForInvalidation parameter to TileCoordsXY
2025-06-13 21:13:33 +01:00
mix
78c2b85b1d
Rename MapAnimation namespace to MapAnimations
2025-06-13 21:13:33 +01:00
mix
e464b2ebe7
Don't invalidate map animations for tiles that are not in view
2025-06-13 21:13:33 +01:00
ζeh Matt
769a85afb7
Refactor how map animations are created and stored
2025-06-13 21:13:32 +01:00
Aaron van Geffen
99836faeff
Rename Window_internal unit to WindowBase for consistency ( #24163 )
2025-04-06 17:43:36 +02:00
Michael Steenbeek
70bdddcf36
Reduce object casting ( #24072 )
2025-03-25 08:51:44 +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
Michael Steenbeek
06c1fed4f7
Refactor gScreenFlags to LegacyScene enum
2025-03-05 20:45:04 +00:00
Aaron van Geffen
bb94ee8bc0
Rename ObjectType enum to follow recent code style ( #23810 )
2025-02-13 23:07:55 +01:00
Michael Steenbeek
b0c99fcb6c
Refactor more constants to kConstant notation
2025-01-22 16:16:55 +00:00
Michael Steenbeek
be9f27e4f9
Mass rename constants ( #23656 )
2025-01-19 15:59:45 +00: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
Aaron van Geffen
f90954b1a4
Reduce dependencies for Research.h ( #23268 )
2024-11-25 14:32:16 +00:00
Aaron van Geffen
d2e01dde4e
Remove a bunch of Util.h includes
2024-10-29 13:12:52 +01:00
Aaron van Geffen
9436a9501e
Move bitScanForward from Util.h to Numerics.hpp
2024-10-29 11:08:39 +01:00
Michael Steenbeek
8063c5caa7
Reduce casting for objects
2024-10-16 14:12:25 +02: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
Michael Steenbeek
e6e0f97557
Split off EntranceElement header
2024-10-03 12:42:53 +02:00
ζeh Matt
763e9968cf
Refactor FootpathIsZAndDirectionValid and its uses, more constness
2024-09-30 22:31:13 +03:00
ζeh Matt
bc1f2f62cf
Rename IsValidPathZAndDirection and move to more appropriate place
2024-09-30 22:31:12 +03:00
Aaron van Geffen
978f38fdd5
Fix calculating wide path status ( #22827 )
...
* Fix calculating wide path status
* Increment kNetworkStreamVersion
* Add comment regarding excluded tile ratio
* Add changelog entry
2024-09-26 21:15:21 +00:00
Aaron van Geffen
2edf8b472a
Rename (Next)ActionSpriteType to (Next)AnimationType
2024-09-22 16:08:58 +02:00
Gymnasiast
5f92d1920b
Group all sequence-bound properties
2024-09-18 22:43:55 +02:00
Gymnasiast
4ff99d6fd1
Confine provisional paths to Footpath.cpp
2024-09-06 23:31:50 +02:00
Harry Hopkinson
c1ac7c0700
Cleanup gameState usage
2024-09-02 22:42:37 +02:00
Michael Bernardi
1602a68cae
Remove unused headers in Footpath.cpp
2024-08-30 02:23:10 +10:00
Michael Bernardi
c2a69b3c5c
Fix #22606 : Virtual floor at wrong height for paths
2024-08-30 02:22:30 +10:00
Aaron van Geffen
5f37ba6615
Rename footpath height related constants
2024-08-16 21:18:33 +00:00
Michael Steenbeek
47800cddcf
Change RTD flags to a strong enum
2024-08-13 20:20:25 +00:00
Harry Hopkinson
4744c7416d
Refactor object and network constants to kCamelCase
2024-08-11 20:21:24 +00:00
Aaron van Geffen
03bc1e5707
Introduce isToolActive function as alternative for globals ( #22430 )
...
* Introduce isToolActive function
* Ride window: use isToolActive instead of gCurrentToolWidget
* Footpath window: use isToolActive instead of gCurrentToolWidget
* Staff window: use isToolActive instead of gCurrentToolWidget
* MazeConstruction window: use isToolActive instead of gCurrentToolWidget
* Guest window: use isToolActive instead of gCurrentToolWidget
* Map window: use isToolActive instead of gCurrentToolWidget
* LandRights window: use isToolActive instead of gCurrentToolWidget
* Replace SceneryToolIsActive legacy function with calls to isToolActive
* ClearScenery window: use isToolActive instead of gCurrentToolWidget
* Scenery window: use isToolActive instead of gCurrentToolWidget
* Water window: use isToolActive instead of gCurrentToolWidget
* Land window: use isToolActive instead of gCurrentToolWidget
* Widget: replace WidgetIsActiveTool with isToolActive
* RideConstruction window: use isToolActive instead of gCurrentToolWidget
* Ride: use isToolActive instead of gCurrentToolWidget
* TrackDesignPlace window: use isToolActive instead of gCurrentToolWidget
* StaffList window: use isToolActive instead of gCurrentToolWidget
* ViewClipping window: use isToolActive instead of gCurrentToolWidget
* PatrolArea window: use isToolActive instead of gCurrentToolWidget
* TileInspector window: use isToolActive instead of gCurrentToolWidget
* Park window: use isToolActive instead of gCurrentToolWidget
2024-08-05 10:47:36 +02:00