Aaron van Geffen
4446ff9f6f
Pass game state ref as parameter to game actions ( #25065 )
2025-09-08 16:21:29 +02:00
Aaron van Geffen
5a4cc7d00d
Remove Network function name prefixes given namespace qualifiers
2025-08-31 16:02:43 +02:00
Aaron van Geffen
12ab9195b6
Rework EntityRegistry into class
2025-08-31 14:29:36 +02:00
Aaron van Geffen
abe58f6439
Move ClearAction, GameAction, ScenarioSetSettingAction into GameActions ( #25045 )
2025-08-29 06:32:05 -03:00
Aaron van Geffen
1bcee698a9
Move RideSetName/Price/Setting actions into GameActions namespace
2025-08-27 10:47:34 +02:00
Aaron van Geffen
be125fc9e1
Use ParkData refs in more places ( #25035 )
2025-08-25 22:25:53 +02:00
Aaron van Geffen
f11d1e33d0
Move Scenario::Objective into its own unit; enum class ObjectiveType
2025-08-22 17:40:47 +02:00
Aaron van Geffen
a99ffd9736
Move .suggestedGuestMaximum into ParkData struct
2025-08-13 23:20:59 +02:00
Aaron van Geffen
681a489d15
Move .guest(ChangeModifier|GenerationProbability) into ParkData struct
2025-08-13 23:18:29 +02:00
LRFLEW
52e3c774bc
Use ZStandard for Park and Replay Files ( #24734 )
2025-08-06 21:50:18 +02:00
LRFLEW
c79eb0609b
Don't Double-Compress Park Chunks in Replay File ( #24728 )
2025-07-20 21:03:52 -03:00
LRFLEW
1ecb2f9efe
Fix Compression Issue when Stopping Recording
2025-07-05 12:42:24 +02:00
LRFLEW
4101fb65a9
Refactor Compression and Streams, and Add IStream Direct Interface
2025-07-04 18:55:17 +02:00
Michał Janiszewski
9747c27664
GCC15 fix in ReplayManager.cpp ( #24707 )
...
```
In member function ‘bool OpenRCT2::ReplayManager::SerialiseCommand(DataSerialiser&, OpenRCT2::ReplayCommand&)’,
inlined from ‘bool OpenRCT2::ReplayManager::Serialise(DataSerialiser&, OpenRCT2::ReplayRecordData&)’ at /home/janisozaur/workspace/openrct2/src/openrct2/ReplayManager.cpp:778:37:
/home/janisozaur/workspace/openrct2/src/openrct2/ReplayManager.cpp:719:38: error: potential null pointer dereference [-Werror=null-dereference]
719 | command.action->Serialise(serialiser);
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
cc1plus: all warnings being treated as errors
```
```
$ gcc --version
gcc (GCC) 15.1.1 20250425
Copyright (C) 2025 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
```
2025-07-01 11:15:09 +00:00
Gymnasiast
d2615beb6e
Change News enums to use lowerCamelCase
2025-05-24 23:47:18 +02:00
Gymnasiast
47bb449e34
Make news item fields lowerCamelCase
2025-05-24 23:47:18 +02:00
Matt
42df41efdb
Remove the use of shared_ptr for the Context ( #24404 )
...
* Replace shared_ptr with unique_ptr for Context systems, return refs
* Fix all the users
* clang-format fix
* Fix linux builds
2025-05-15 22:46:06 +03:00
Gymnasiast
14b881e22b
Rename DIRID and its members
2025-03-25 23:39:27 +01:00
Gymnasiast
622a8dc525
Rename DIRBASE and its members
2025-03-25 22:47:09 +01:00
Gymnasiast
4badffcdb6
Change GameState_t members to lowerCamelCase
2025-03-20 23:05:57 +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
Aaron van Geffen
fa06a49302
Update copyright year to 2025 ( #23514 )
2024-12-31 20:30:04 +01:00
Harry Hopkinson
c1ac7c0700
Cleanup gameState usage
2024-09-02 22:42:37 +02: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
Andrew
df07d9cb2b
Close #19596 : Disable replay effects with a startup flag ( #22303 )
2024-07-25 17:29:01 -03:00
Aaron van Geffen
51873dc0f6
Include Diagnostic.h at unit level
2024-07-09 16:23:31 +02:00
Aaron van Geffen
a63d86c488
Introduce Config namespace and struct
2024-05-10 12:10:21 +02:00
Gymnasiast
61e8b6d206
Move _suggestedGuestMaximum to GameState_t
2024-02-08 21:47:31 +01:00
Gymnasiast
142d708cee
Move _guestGenerationProbability to GameState_t
2024-02-08 21:46:41 +01:00
ζeh Matt
9b2a79faf1
Adjust the import/export code to have the game state passed
2024-01-19 16:32:19 +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
Duncan
23b6d1840e
Rename classes with snakes OpenRCT2/G*-M*
2023-01-19 15:13:23 +00:00
Hielke Morsink
2c224cfd53
Rename snake_case functions in OpenRCT2/network folder ( #19203 )
2023-01-18 06:05:53 +00:00
Michael Steenbeek
bb55c6ce66
Remove loadsasnakes ( #19192 )
...
* Rename snake_case methods in scenario folder
* Rename snake_case methods in title folder
* Rename snake_case methods in object folder
* Rename snake_case methods in platform folder
* Rename snake_case methods in windows folder
* Rename tile_inspector.h to TileInspectorGlobals.h
* Rename snake_case methods in ui/windows folder
2023-01-17 19:46:55 +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
Stephan Spengler
76b918e7ed
Change openrct2/ride methods to UpperCamelCase, part 1
2023-01-17 01:32:54 +01:00
Hielke Morsink
6dafbbfb65
Rename global window functions to TitleCase ( #19167 )
2023-01-16 20:13:42 +00:00
Stephan Spengler
f8ab17749d
Rename CheatSetAction to fit naming pattern
2023-01-06 22:57:15 +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
abac080d3e
Rename public general config data members
2022-10-16 21:46:01 +02: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
Hielke Morsink
a258008bef
Refactor window functions to take references 4
2022-07-31 17:23:16 +02:00
duncanspumpkin
7e7947fe8b
Move legacy identifier interpreting to separate file from parkfile
2021-12-15 21:29:02 +00:00
ζeh Matt
56e78d5733
Merge pull request #15985 from ZehMatt/refactor/entities2
...
Refactor Sprite to Entity
2021-11-25 12:53:50 -08: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
c6242fd310
More renaming
2021-11-24 15:50:18 +02:00
ζeh Matt
83b911b193
#15634 : Refactor passing GameActions::Result by copy ( #15951 )
...
* Refactor to result GameActions::Result as copy instead of unique_ptr
* Remove alias GameActions::Result::Ptr
* Remove MakeResult wrapper
* Remove type forwarder in TileInspector
2021-11-24 07:35:08 +00:00