Gymnasiast
fa15bc56d2
Rename INVALID_DIRECTION to kInvalidDirection
2025-03-25 22:47:08 +01:00
Matt
94be70f8a8
Merge pull request #24034 from Gymnasiast/refactor/gamestate-t-lower-camel-case
...
Change GameState_t members to lowerCamelCase
2025-03-21 23:32:02 +02:00
ζeh Matt
c7fd5093d3
Further cleanup the code, restrict maximum iterations
2025-03-21 15:55:58 +02:00
ζeh Matt
e3015198e7
Cleanup and style refactor PeepFootpathMoveForward
2025-03-21 15:55:54 +02:00
ζeh Matt
a287a7979d
Improve performance of spatial indexing
2025-03-21 01:21:18 +02:00
Gymnasiast
4badffcdb6
Change GameState_t members to lowerCamelCase
2025-03-20 23:05:57 +01:00
ζeh Matt
c7c5a2c9c0
Skip the type checking in GetEntity/TryGetEntity with T as BaseEntity
2025-03-21 00:04:41 +02:00
ζeh Matt
cac21504cd
Refactor PerformNextAction, we don't need a wrapper
2025-03-20 21:23:32 +02:00
ζeh Matt
bd4db4a91b
Use TryGetEntity for iterators as it handles null entities explicitly
2025-03-20 21:23:31 +02:00
ζeh Matt
e22c2eeb62
Cleanup the function PeepInteractWithPath
2025-03-20 21:23:31 +02:00
Aaron van Geffen
2ce206ed03
Move item temperature thresholds to climate objects
2025-03-07 18:57:00 +01:00
Michael Steenbeek
05b64985f4
Update Ride struct to new codestyle
2025-03-09 00:26:25 +01:00
Gymnasiast
3c35debafe
Rename RIDE_VALUE_UNDEFINED to kRideValueUndefined
2025-03-06 23:30:57 +01:00
Gymnasiast
114e8da200
Update RideMode to current code style
2025-03-06 23:01:47 +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
73
a976a43708
Rename network.h to Network.h ( #23882 )
2025-02-24 10:43:06 +01:00
Michael Steenbeek
b62f7763a6
Fix #14486 : Guests falling if path after park entrance is an upward slope
2025-02-19 22:34:31 +01:00
73
c7c703515e
Rename audio.h to Audio.h ( #23842 )
2025-02-17 13:24:03 +01:00
73
b9b2c96c97
Rename sprites.h to SpriteIds.h ( #23804 )
2025-02-13 15:51:46 +00:00
Aaron van Geffen
6933af25ae
Rename 'Climate' properties to Weather ( #23786 )
...
* Rename ClimateState to WeatherState
* Rename ClimateCurrent to WeatherCurrent
* Rename ClimateNext to WeatherNext
* Rename ClimateUpdateTimer to WeatherUpdateTimer
* Use named initialisers for weather state import in S4/S6 importers
* Rename S4::ClimateTimer to WeatherUpdateTimer as well
* Rename WeatherState struct properties to lowerCamelCase
2025-02-13 07:38:45 -03:00
Aaron van Geffen
2302f0d2e3
Rework Localisation includes ( #23789 )
...
* Clean up internal localisation header includes
* Remove some external localisation includes
* Remove dependency on FormatCodes.h from InteractiveConsole.h
* Reduce Formatter.h, Localisation.Date.h includes
2025-02-07 22:36:42 +01:00
matheusvb3
850cc397c3
Prevent staff statistics from overflowing ( #23719 )
...
* Use AddClamp when incrementing staff stats
* Remove decltype from AddClamp
* Use lowercase u in increment
2025-02-02 17:44:12 -03:00
Aaron van Geffen
aeca38d131
Prevent drawing peep accessories whilst drowning ( #23729 )
2025-01-27 19:24:33 +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
a3d5b4e0c3
Change FIXED_XDP from macros to constexprs
2025-01-25 13:42:22 +01:00
Michael Steenbeek
b0c99fcb6c
Refactor more constants to kConstant notation
2025-01-22 16:16:55 +00:00
Aaron van Geffen
a8773dd805
Move WindowClose family into WindowManager ( #23646 )
...
* Replace WindowClose() calls with Close method calls where possible
* Move WindowClose family into WindowManager
* Remove UpdateSceneryGroupIndexes hack
2025-01-19 18:49:18 +01:00
Michael Steenbeek
be9f27e4f9
Mass rename constants ( #23656 )
2025-01-19 15:59:45 +00: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
ζeh Matt
5261a5c102
Make sure that GuestNextInQueue is not uninitialized
2025-01-06 20:04:39 +02:00
Aaron van Geffen
42cbb0d1c0
Change leftover spelling of SuJongkwa to Sujeonggwa
2024-12-31 00:08:45 +01:00
Aaron van Geffen
6ed7fd461e
Move isSlowWalking property to animation group level
2024-12-23 12:21:04 +01:00
Aaron van Geffen
cc668f080e
Fix rendering balloons/hats/umbrellas held by guests
2024-12-19 09:26:39 +01:00
Aaron van Geffen
44a9f530f7
Separate RCT12PeepAnimationGroup further from PeepAnimationGroup
2024-12-09 19:43:05 +01:00
Aaron van Geffen
cfdfd1a234
List available staff costumes dynamically
2024-12-05 17:39:10 +01:00
Aaron van Geffen
7e3fe58067
Use peep animation objects for guest and staff sprites
2024-12-05 13:37:39 +01:00
Aaron van Geffen
b0da41fef5
WIP: start reworking PeepAnimationGroup
2024-12-02 19:58:00 +01:00
Aaron van Geffen
a786c89603
Start working on peep entity animation object conversion
2024-12-02 17:15:51 +01:00
Aaron van Geffen
48be2e911c
Set consumption time when giving items to guests ( #23581 )
2025-01-09 20:01:53 +01: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
Aaron van Geffen
23d4032eed
Move LightFX into its own namespace ( #23506 )
2024-12-30 11:04:39 +00:00
Michael Steenbeek
7baae607ac
Use ride_type_t in more places
2024-12-22 19:59:36 +01:00
Aaron van Geffen
91cf22aede
Reset all peep sprite bounds at save file import time
2024-12-17 21:06:11 +01:00
Aaron van Geffen
ec14a6dca8
Move invalidation out of Peep::UpdateSpriteBoundingBox
2024-12-17 21:05:38 +01:00
Aaron van Geffen
6ee798337a
Introduce EnumUtils header ( #23407 )
2024-12-15 17:39:52 +01:00
Aaron van Geffen
c034d2c921
Introduce PeepAnimation compilation unit ( #23383 )
...
* Move StaffType enum into Staff.h
* Introduce PeepAnimation compilation unit
2024-12-12 00:23:42 +01:00
Aaron van Geffen
35e117aca2
Rename String methods to use lowerCamelCase
2024-12-11 22:49:37 +01:00