Commit Graph
159 Commits
Author SHA1 Message Date
Gymnasiast 7f8eeb09c1 Rename members of TrackElemType 2025-12-23 19:15:44 +01:00
Gymnasiast 0cb04754fb Rename members of PeepActionType 2025-10-05 14:46:12 +02:00
Gymnasiast 159dc7aab0 Rename members of PeepState 2025-10-05 14:46:12 +02:00
matheusvb3 d8da02e7dd Make peeps not stop on level crossings (#25089)
* Check if actions can be performed safely

* Add explanatory comment

* Refactor Easter egg logic in Guest::UpdateWalking

* Add changelog entry

* Make the comment more explanatory

* Update NetworkBase.cpp

* Update changelog for v0.28
2025-10-04 22:52:26 +00:00
Aaron van Geffen 5b8fedd5b2 Rework Map.h includes (remove transitive header includes) 2025-09-04 22:16:53 +02:00
mix d42ee0a062 Add RCT1 land edge door map animations 2025-06-14 21:17:17 +01:00
mix 92dd81b9ea Change tile related magic numbers to consts in map animation code 2025-06-13 21:13:34 +01:00
mix b56f150533 Change MapAnimations::ShiftAll parameter from CoordsXY to TileCoordsXY 2025-06-13 21:13:34 +01:00
mix ed4f926d7d Remove RCT1 land edge door map animations 2025-06-13 21:13:34 +01:00
mix 22f3dd429d Change invalidating map animations from set to vector of bools 2025-06-13 21:13:34 +01:00
mix c7dba755b1 Skip viewport in map animation invalidation if over max zoom 2025-06-13 21:13:34 +01:00
mix aed3a9cb3b Prevent scrolling text map animations invalidating when not drawn 2025-06-13 21:13:34 +01:00
mix d6d44f05b9 Raise map animation invalidation max zoom to 2 2025-06-13 21:13:34 +01:00
mix 46e85d4468 Mark auto pointers explicitly in map animations 2025-06-13 21:13:33 +01:00
mix 89f349f6e8 Change MapAnimations::MarkTileForInvalidation parameter to TileCoordsXY 2025-06-13 21:13:33 +01:00
mix d98a06564a Change MapAnimations::MarkTileForUpdate parameter to TileCoordsXY 2025-06-13 21:13:33 +01:00
mix dd3e62b56e Pass viewport as pointer in map animations 2025-06-13 21:13:33 +01:00
mix 7100c6b476 Don't update map animations on ticks where nothing is updated 2025-06-13 21:13:33 +01:00
mix 17d321103f Don't invalidate temporary map animation if not in view 2025-06-13 21:13:33 +01:00
mix 8a5145678c Pass viewport through map animation invalidation functions 2025-06-13 21:13:33 +01:00
mix d5bd92c483 Prevent scenery clocks from invalidating every frame 2025-06-13 21:13:33 +01:00
mix bfe150f249 Move update all temporary map animations to own function 2025-06-13 21:13:33 +01:00
mix 78c2b85b1d Rename MapAnimation namespace to MapAnimations 2025-06-13 21:13:33 +01:00
mix d847c37fc8 Calculate visible animated tiles by tile position 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
mix b96fe8f51b Call ViewportsInvalidate directly in map animations 2025-06-13 21:13:32 +01:00
mix 7df1a8602c Rename MapAnimation::CreateAll to MarkAllTiles 2025-06-13 21:13:32 +01:00
mix 57148e137a Load temporary map animations from S4 files 2025-06-13 21:13:32 +01:00
mix 43b0ed6dc8 Add animations for land edge doors 2025-06-13 21:13:32 +01:00
mix daf8c186d3 Add is animating state to scenery doors 2025-06-13 21:13:32 +01:00
mix e467f5db02 Add temporary map animations 2025-06-13 21:13:32 +01:00
ζeh Matt 769a85afb7 Refactor how map animations are created and stored 2025-06-13 21:13:32 +01:00
Gymnasiast ddacaacc71 Change SCROLLING_MODE_NONE to kScrollingModeNone 2025-05-20 22:57:59 +02: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 b0c99fcb6c Refactor more constants to kConstant notation 2025-01-22 16:16:55 +00:00
Aaron van Geffen fa06a49302 Update copyright year to 2025 (#23514) 2024-12-31 20:30:04 +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
Michael Steenbeek 52b70703af Turn TrackElemType into a strong enum 2024-10-11 13:30:27 +00: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 b70aaea31e Rename ActionSpriteImageOffset to AnimationImageIdOffset 2024-09-22 16:13:49 +02:00
Aaron van Geffen 24b36915ef Rename ActionFrame to AnimationFrameNum 2024-09-22 16:12:04 +02:00
Aaron van Geffen 2edf8b472a Rename (Next)ActionSpriteType to (Next)AnimationType 2024-09-22 16:08:58 +02:00
Michael Steenbeek 14f92966a6 Skip unnecessary step after map init
There are no map animations to create on an empty map.
2024-09-05 19:58:00 +02:00
Aaron van Geffen 51873dc0f6 Include Diagnostic.h at unit level 2024-07-09 16:23:31 +02:00
Gymnasiast 86f80faca8 Also shift jumping fountains and map animations 2024-05-18 21:10:53 +02:00
Michał Janiszewski a088f7615b Fix #21748: TileElement out of bounds (#21749)
* Fix #21748: TileElement out of bounds

This fixes crashes observed and allows the park to load. The park is
overlarge and breaks some assumptions we have in our code.

* Use ternaries for checking conditions
2024-05-02 18:14:22 +02:00