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
Gymnasiast
4badffcdb6
Change GameState_t members to lowerCamelCase
2025-03-20 23:05:57 +01:00
ζeh Matt
cac21504cd
Refactor PerformNextAction, we don't need a wrapper
2025-03-20 21:23:32 +02:00
Michael Steenbeek
05b64985f4
Update Ride struct to new codestyle
2025-03-09 00:26:25 +01: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
73
c7c703515e
Rename audio.h to Audio.h ( #23842 )
2025-02-17 13:24:03 +01: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
Michael Steenbeek
b0c99fcb6c
Refactor more constants to kConstant notation
2025-01-22 16:16:55 +00:00
Michael Steenbeek
be9f27e4f9
Mass rename constants ( #23656 )
2025-01-19 15:59:45 +00:00
Aaron van Geffen
6ed7fd461e
Move isSlowWalking property to animation group level
2024-12-23 12:21:04 +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
fa06a49302
Update copyright year to 2025 ( #23514 )
2024-12-31 20:30:04 +01:00
Aaron van Geffen
6ee798337a
Introduce EnumUtils header ( #23407 )
2024-12-15 17:39:52 +01:00
Aaron van Geffen
f90954b1a4
Reduce dependencies for Research.h ( #23268 )
2024-11-25 14:32:16 +00:00
Aaron van Geffen
9436a9501e
Move bitScanForward from Util.h to Numerics.hpp
2024-10-29 11:08:39 +01:00
Aaron van Geffen
80b63a5ae7
Add line breaks after template declarations ( #23086 )
...
* Add line breaks after template declarations
* Additional clang-format patches
2024-10-29 16:54:01 +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
e6e0f97557
Split off EntranceElement header
2024-10-03 12:42:53 +02: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
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
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
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
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
3d5c19de08
Drop Localisation.h include where not required
2024-07-13 13:33:32 +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
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
15ee05dfb0
Rename kNumOrthogonalDirections constant
2024-07-01 17:29:37 +02:00
Gymnasiast
4cdaaa9810
Refactor slope flags
2024-05-10 20:16:07 +02:00
Aaron van Geffen
ca6f142a97
Remove Config.h include from many places
2024-05-08 22:29:32 +02:00
Aaron van Geffen
831c7651bb
Scripting: tailor costume assignment to each staff type
...
In order to transition staff costumes to objects, we must further disentangle staff from regular peeps. This has many advantages, such as making custom entertainers or even handymen costumes. However, this means putting some restrictions on what costumes can be assigned to staff in the mean while.
We are aware of plug-ins allowing staff to be decorated like normal peeps, though, e.g. using @Manticore-007's Peep Editor. Splitting staff from peeps will mean breaking such functionality. We can do our very best to reverting 'invalid' staff to their normal outfits instead of them outright disappearing. However, in the mean time, we should disallow peep costumes from being assigned to staff to prevent further disappointment down the line.
Once we get to actually adding custom staff costumes, I plan to add a new plug-in API to get available costumes for a particular staff type. This would apply to entertainers, but also other staff types. This should make it easier for plug-in authors to tap into custom costumes in the future.
2024-05-05 22:41:52 +02:00
Michał Janiszewski
7b12667ddb
Reduce <algorithm> include ( #21947 )
2024-05-01 13:47:27 +02:00
Aaron van Geffen
17af7db195
Force sprite update after invoking Staff::SetCostume
2024-04-21 22:54:10 +02:00
Harry Hopkinson
530a7de98f
Replace notation in Guest.h
2024-04-15 16:48:41 +02:00