Michael Steenbeek
673d14b247
Merge pull request #22386 from mrmbernardi/format
...
Apply check-code-formatting changes
2024-10-03 13:21:45 +02:00
Michael Steenbeek
e6e0f97557
Split off EntranceElement header
2024-10-03 12:42:53 +02:00
Michael Bernardi
f110ea14f5
Apply check-code-formatting changes
2024-10-03 10:49:25 +10:00
Matt
8698a65afd
Merge pull request #22866 from ZehMatt/pathfinding-cleanup-2
...
Refactor work for pathfinding
2024-09-30 22:46:59 +03:00
ζeh Matt
763e9968cf
Refactor FootpathIsZAndDirectionValid and its uses, more constness
2024-09-30 22:31:13 +03:00
ζeh Matt
3755f3a6d1
Remove two more globals, pass them as arguments
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
931f0705ce
Introduce PeepNamesObjects for 'real' names of peeps ( #22758 )
...
* Add initial PeepNamesObject implementation
* Add peep names object to default objects
* Append peep names object to object list for older saves
* Deduplicate AppendRequiredObjects functions
* Remove built-in 'real name' tables
* Increment park version; introduce kPeepNamesObjectsVersion
* Update objects dependency to v1.4.8
2024-09-29 15:05:55 +02:00
Michael Bernardi
8875c75461
Fix tweener leaving stale pixels on screen
2024-09-27 00:07:40 +10:00
Michael Bernardi
8cc53324b6
Remove view width and height from Viewport struct
2024-09-27 00:07:40 +10:00
Aaron van Geffen
81b759e74e
Use different name table offset depending on staff type ( #22813 )
2024-09-25 16:03:42 +00:00
Harry Hopkinson
d34f17c945
Refactor Colour.h constants to kCamelCase
2024-09-24 20:42:44 +00:00
Aaron van Geffen
584f6b8661
Rename Peep::SpriteType to AnimationGroup
2024-09-22 16:54:33 +02:00
Aaron van Geffen
6d27369ea6
Rename PeepSpriteType to PeepAnimationGroup
2024-09-22 16:42:27 +02:00
Aaron van Geffen
58f33ca325
Rename PeepAnimationType::Ui to Hanging
2024-09-22 16:21:32 +02:00
Aaron van Geffen
48a71461bf
Rename PeepAnimationType::StaffCheckboard to StaffCheckBoard
2024-09-22 16:18:41 +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
ee7bb61bb0
Rename WalkingFrameNum to WalkingAnimationFrameNum
2024-09-22 16:10:04 +02:00
Aaron van Geffen
2edf8b472a
Rename (Next)ActionSpriteType to (Next)AnimationType
2024-09-22 16:08:58 +02:00
Aaron van Geffen
435cf14d49
Rename PeepActionSpriteType to PeepAnimationType
2024-09-22 16:07:35 +02:00
Aaron van Geffen
c0f145a099
Name _backupActionSpriteImageOffset (unk_F1AEF0)
2024-09-22 15:45:51 +02:00
Aaron van Geffen
e70ca5c889
Allow staff to use ‘real’ names as well ( #22732 )
2024-09-15 20:18:00 +00:00
Aaron van Geffen
cf516db6dc
Split StringTypes.h off from String.hpp; adjust header includes
2024-09-10 23:55:53 +02:00
Harry Hopkinson
c1ac7c0700
Cleanup gameState usage
2024-09-02 22:42:37 +02:00
Tulio Leao
8c56982613
Unify function to get string from hex
2024-08-19 19:52:14 -03: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
Harry Hopkinson
7a403e0537
Add cheat to make guests ignore prices
2024-08-11 11:27:32 +00:00
Greg
dae5b00f05
Close #22509 : Refactor SPR_NONE to ImageIndex ( #22517 )
...
* ImageIndex typedef moved from ImageId.hpp to new file ImageIndexType.h.
* SPR_NONE redefined as ImageIndex type in ImageIndexType.h.
* SPR_NONE renamed to kSpriteIdNull
* Remove casts and enum all sprites as ImageIndex
* Remove sprites.h include from LandTool.h, RideData.h
* Ensure all RTD headers include sprites.h
---------
Co-authored-by: Aaron van Geffen <aaron@aaronweb.net >
2024-08-11 09:58:28 +00:00
Harry Hopkinson
9ff90adf87
Adjust more constants to new constexpr notation ( #22463 )
...
* Rename DUCK_MAX_STATES to kDuckMaxStates
* Rename DuckMoveOffset to kDuckMoveOffset
* Rename DuckAnimationFlyToWater to kDuckAnimationFlyToWater
* Rename DuckAnimationSwim to kDuckAnimationSwim
* Rename DuckAnimationDrink to kDuckAnimationDrink
* Rename DuckAnimationDoubleDrink to kDuckAnimationDoubleDrink
* Rename DuckAnimationFlyAway to kDuckAnimationFlyAway
* Rename DuckAnimations to kDuckAnimations
* Rename ReplayVersion to kReplayVersion
* Rename ReplayMagic to kReplayMagic
* Rename ReplayCompressionLevel to kReplayCompressionLevel
* Rename NormalRecordingChecksumTicks to kNormalRecordingChecksumTicks
* Rename SilentRecordingChecksumTicks to kSilentRecordingChecksumTicks
* Rename WindowButtonsOnTheLeftDefault to kWindowButtonsOnTheLeftDefault
2024-08-04 21:46:32 +02:00
Duncan
a07b56a655
Move Viewport functions into Ui ( #22454 )
...
* Move viewport functions into ui
* Move footpath function to ui
* Don't include viewport in footpath.h
* Include missing includes
2024-08-02 06:01:31 +01:00
Aaron van Geffen
51816d2bd5
Disambiguate calls to UtilBitScanForward ( #22402 )
2024-07-28 18:44:59 +02:00
mrmbernardi
9ed5c63857
Rename Location.hpp constants ( #22385 )
2024-07-26 10:23:25 +02:00
Aaron van Geffen
05e56517ab
Adopt existing namespaces into OpenRCT2 namespace ( #22368 )
...
* Put all of TitleSequenceManager into the same namespace
* Move RideConstructionState into the OpenRCT2 namespace
* Adopt existing namespaces into OpenRCT2 namespace
This adds `using namespace OpenRCT2` to compilation units where appropriate,
as a means to get the codebase to compile until these units have been placed
in a namespace of their own.
2024-07-26 09:59:58 +02:00
Aaron van Geffen
6de514c387
Address minor code style violation in unsigned suffix ( #22306 )
2024-07-15 21:16:30 +02:00
Aaron van Geffen
896eb4f488
Consolidate FormatStringIDLegacy, FormatStringToUpper into Formatting
2024-07-13 14:09:58 +02:00
Aaron van Geffen
3d5c19de08
Drop Localisation.h include where not required
2024-07-13 13:33:32 +02:00
Aaron van Geffen
c21a7b1178
Move PeepThoughts from localisation to their own unit in the peep folder
2024-07-13 11:41:47 +02:00
Aaron van Geffen
1c26a6cb41
Move RealNames.cpp,h from localisation to peep folder
2024-07-12 23:39:59 +02:00
Aaron van Geffen
3fd91038c3
Rename Date.h to Localisation.Date.h to match unit file
2024-07-12 22:18:43 +02:00
Aaron van Geffen
b5ef2693b0
Remove common.h include from all units
2024-07-09 16:45:19 +02:00
Aaron van Geffen
8cef18cd2f
Include cassert as needed at unit level
2024-07-09 16:43:03 +02:00
Aaron van Geffen
51873dc0f6
Include Diagnostic.h at unit level
2024-07-09 16:23:31 +02:00
Aaron van Geffen
7cc1cd09ea
Move StringIdType.h include out of common.h
2024-07-09 15:05:19 +02:00
Aaron van Geffen
889860cc2e
Add invalidation to frozen peeps ( #22236 )
2024-07-07 15:30:10 +02:00
Aaron van Geffen
7dcedfb260
Prevent having ANIMATION_FROZEN set while POSITION_FROZEN is not
2024-07-03 23:09:56 +02:00
Aaron van Geffen
0efbf7f5ea
Split off Update{Action,Walking}Animation and use for frozen peeps
2024-06-29 15:25:40 +02:00
Aaron van Geffen
ed6bde7d56
Introduce peep flags for static positions and animations
2024-06-29 14:42:09 +02:00