Aaron van Geffen
fa06a49302
Update copyright year to 2025 ( #23514 )
2024-12-31 20:30:04 +01:00
Michał Janiszewski
6a04aaf2fa
Update code formatting for clang-format 19
2024-12-09 23:25:40 +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 Bernardi
f110ea14f5
Apply check-code-formatting changes
2024-10-03 10:49:25 +10:00
Aaron van Geffen
584f6b8661
Rename Peep::SpriteType to AnimationGroup
2024-09-22 16:54:33 +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
51873dc0f6
Include Diagnostic.h at unit level
2024-07-09 16:23:31 +02:00
Aaron van Geffen
f9dcc21f05
Replace assert_struct_size macro with static_assert
2024-07-09 15:23:20 +02:00
Harry Hopkinson
530a7de98f
Replace notation in Guest.h
2024-04-15 16:48:41 +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
Spacek531
7fe9580131
vehicle chooses between brake speed and block brake speed
2023-04-11 19:28:26 -07:00
ζeh Matt
8f82aa95b3
Move Direction out and rename it to Orientation to avoid name conflict
2023-04-07 22:46:25 +03:00
ζeh Matt
679f5aac2e
Rename members of EntitySpriteData
2023-04-07 19:47:26 +03:00
ζeh Matt
dce21bc8ec
Split move sprite specific data into EntitySpriteData
2023-04-07 19:37:47 +03:00
ζeh Matt
436c881f95
Rename Vertical to GuestPurchase, this better reflects actual use
2023-03-22 22:28:14 +02:00
ζeh Matt
f07434546c
Re-order the compared fields and add missing ones
2023-03-22 16:34:43 +02:00
spacek531
1dfbb5f124
Widen Vehicle::update_flags to 32 bits ( #19340 )
...
* Expand update_flags to uint32
* move IsCrashedVehicle to update_flags
* rename update_flags to Flags
* Update replays
---------
Co-authored-by: duncanspumpkin <duncans_pumpkin@hotmail.co.uk >
2023-02-10 21:46:06 +00:00
ζeh Matt
2f8e208a9d
Refactor sprite_index to Id
2023-01-27 19:21:57 +02:00
ζeh Matt
17ce2d759f
Rename Id to Id to PeepId to avoid conflicts with entity id
2023-01-27 19:11:04 +02:00
Gymnasiast
3dd895abf7
Rename pad_ to Pad
2023-01-21 16:39:35 +01:00
Duncan
23b6d1840e
Rename classes with snakes OpenRCT2/G*-M*
2023-01-19 15:13:23 +00:00
Hielke Morsink
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
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
Hielke Morsink
3bb8ea3668
Better annotate some magic numbers in for loops
2022-10-17 16:08:55 +00: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
Duncan
adc51ad9aa
Rework rct_vehicle_colour ( #16051 )
...
* Remove rct_vehicle_colour and replace with VehicleColour
* Update network version
* Update replay version
2022-08-13 19:30:30 +00:00
spacek531
05b80acfa1
Rename VAR_C4 ( #16217 )
2022-02-22 20:14:42 -03:00
spacek531
82378c09c3
Rename VAR_CE and its unions ( #16215 )
2022-02-20 23:20:06 -03:00
ζeh Matt
52047805db
Use correct type for EntityId and fix issues
2022-02-16 18:56:43 +02:00
ζeh Matt
ff1eb583fc
Make clang-format happy
2022-02-16 18:56:43 +02:00
ζeh Matt
d7f5003943
Introduce EntityId and refactor everything
2022-02-16 18:56:39 +02:00
ζeh Matt
9f23449ffb
Move Staff/Guest/Peep to entity
2021-11-26 18:26:19 +02:00
ζeh Matt
03fb9b390f
Rename Sprite to EntityRegistry
2021-11-24 17:04:12 +02:00
ζeh Matt
7c726e2a0c
Fix includes
2021-11-24 16:48:33 +02:00
ζeh Matt
3b261f99b8
Decouple game state snapshots structure from internal structure
2021-11-24 16:06:02 +02:00
ζeh Matt
c6242fd310
More renaming
2021-11-24 15:50:18 +02:00
ζeh Matt
f2564503c9
Remove MiscEntity
2021-11-22 00:46:21 +02:00
Duncan
3f19d6f7d7
Split Peep header Guest into separate header ( #15810 )
...
* Move guest functions and classes to guest header
* Reduce includes of Peep.h
2021-10-28 21:38:23 +01:00
Duncan
a8d2d5fd44
Staff patrol area 2 from NSF ( #15600 )
...
* Port over changes from NSF for staff
* Fix import and export
* Fix crash on export
* Fix import issue
* Fix patrol import issue
* Remove staff id field
* Increment network version
* Actually remove all instances of staff id
* Update replays
2021-10-27 21:19:10 +01:00
Hielke Morsink
53c22c9b4b
Check for nullptr explicitly ( #15458 )
2021-09-24 20:05:50 +02:00
ζeh Matt
e9c959b187
Test correct fields in the gamestate snapshot
2021-08-30 21:13:34 +03:00
spacek531
6d7fd57f5b
remove var_CA
2021-08-29 14:52:43 -07:00
ZehMatt
de364aa15a
Rename type SpriteBase to EntityBase
2021-08-26 15:37:16 +03:00
spacek531
c49c6ca4a7
Rename animation vars
2021-08-21 19:23:27 +02:00
Duncan
223b926f8c
Use std::vector for ride use memory ( #14884 )
...
* Use std::vector for ride use memory
* Use new system for import/export
* Remove legacy field
* Add replay entity size protection to prevent crash
* Increment network version
* Update replays
* Move function to header
* Move constant to RCT12 header as used for both 1 and 2
* Align naming with nsf
2021-08-17 21:29:35 +01:00
ZehMatt
163fe3756d
Fix GameStateSnapshots buffer overrun
2021-07-27 21:10:06 +03:00
Duncan
072772af7b
Rework importexport test to use GameStateSnapshots ( #14838 )
...
Rework importexport test to use GameStateSnapshots
Output errors
Rename function
2021-06-08 08:35:31 +01:00