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
ζeh Matt
a5dde0f8dc
Replace gCurrentTicks with the one in GameState_t
2024-01-19 16:32:19 +02: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
Aaron van Geffen
d425e0a8bb
Remove const qualifier from constexpr statements
2023-06-24 11:45:26 +02:00
Michael Bernardi
9c5c1eb858
Fix #20349 : Tile inspector creates map animations
2023-06-06 21:55:15 +02:00
Duncan
b56748bc82
ObjectEntry Cleanup. FootpathItem, SceneryGroup, Water, LargeScenery ( #19385 )
...
* Move footpathitem entry into new getter
* Move scenery group entry into new getter
* Move water entry into new getter
* Move large scenery entry into new getter
* Remove unused header includes
* Fix compile issue
* Include missing header from vcxproj
2023-02-15 21:35:16 +00:00
Duncan
d811c9a9ba
Add Object Entry Manager ( #19332 )
...
* Add object entry manager
Port over wall and banner
* Port over small scenery to ObjectEntryManager
Clang format files
Actually make things safe
Fix build
2023-02-12 20:43:11 +00:00
Duncan
ead13c44b8
Split off LargeSceneryEntry ( #19277 )
2023-01-26 18:44:42 +00:00