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
Duncan
ef27814ca5
Split off scenery entries ( #19133 )
...
BannerSceneryEntry, WallSceneryEntry footpathItemEntry
2023-01-25 19:56:29 +00:00
Duncan
d51b4d3191
Split off SmallSceneryEntry into dedicated file ( #19115 )
...
* Split off small scenery entry to new file
* Move flags to new file
2023-01-25 19:25:33 +00:00
Michael Steenbeek
448c8fafd0
Rename base_height, clearance_height and owner
2023-01-19 20:36:30 +01:00
Duncan
23b6d1840e
Rename classes with snakes OpenRCT2/G*-M*
2023-01-19 15:13:23 +00:00
Hielke Morsink and duncanspumpkin
6b7dc8fcdb
Rename snake_case functions in openrct2/src folder
...
Co-authored-by: duncanspumpkin <duncans_pumpkin@hotmail.co.uk >
2023-01-17 13:24:51 +01:00
Stephan Spengler
76b918e7ed
Change openrct2/ride methods to UpperCamelCase, part 1
2023-01-17 01:32:54 +01:00
Gymnasiast
5309c80e29
Remove snake_case in interface folder
2023-01-16 22:20:41 +01:00
James103
73738bbdc8
Replace 2022 with 2023 in copyright headers
...
Replace all instances of the year 2022 with 2023 in all copyright headers
2023-01-01 11:58:01 +01:00
Duncan
406b73d904
Remove final snakes from map and world ( #18304 )
2022-10-12 09:14:45 -03:00
Duncan
67bbc8560d
Code style: Remove snakes from everything world apart from Map.h ( #18273 )
...
* Remove remaining snakes from world (outside of map)
* Initial few desnaking of Map.h
2022-10-11 19:39:24 +01:00
duncanspumpkin
16581e9288
Address snakes in mapgen and map animation
2022-10-05 20:22:51 +01:00
73
b9e677945d
Replace 20XX with 2022 ( #18158 )
...
* Replace 2020 with 2022
Replace all 2020 headers with 2022
* replace other years with 2022
add missing years
2022-10-01 08:42:14 +01:00