Aaron van Geffen
4f32028e01
Move RideManager struct into its own compilation unit ( #23379 )
...
* Move RideManager struct into its own compilation unit
* Move RidesEndOfUsedRange into GameState_t
* Let RideManager keep a GameState_t& internally
2024-12-11 15:54:45 +01:00
mrmbernardi
9c0cc28d7f
Fix currency formatting in the in game console ( #23349 )
2024-12-09 18:22:17 +11:00
RedMarcher
c24e47dea1
Rename cheat variables to match new code style
2024-12-01 18:15:37 +01:00
Aaron van Geffen
3685d1a24b
clang-format: change IndentPPDirectives to BeforeHash ( #23287 )
2024-11-29 12:04:56 +09:00
Aaron van Geffen
f7ae40bac8
Re-introduce basic scenario text objects
2024-10-30 20:45:18 +01: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
8cc53324b6
Remove view width and height from Viewport struct
2024-09-27 00:07:40 +10:00
lewyche
e2551821f3
Close #20942 : Add button to remove park fences
...
Co-authored-by: Gymnasiast <Gymnasiast@users.noreply.github.com >
2024-08-11 09:31:57 +00:00
Aaron van Geffen
d1ca17adef
Remove ScenerySetDefaultPlacementConfiguration from _legacy.cpp
2024-07-31 20:12:23 +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
2e1fa5e644
Move a few more strings to UiStringIds.h ( #22257 )
...
* Replace more StringIds.h includes with StringIdType.h
* Move a few more strings to UiStringIds.h
* Tweak: TextComposition.cpp does not need InteractiveConsole.h
2024-07-12 14:59:00 +02:00
Harry Hopkinson
3c04e67ece
Refactor constant notation in Limits.h
2024-05-26 17:54:31 +02:00
Aaron van Geffen
a63d86c488
Introduce Config namespace and struct
2024-05-10 12:10:21 +02:00
Michał Janiszewski
7b12667ddb
Reduce <algorithm> include ( #21947 )
2024-05-01 13:47:27 +02:00
Michael Steenbeek
271a22d00e
Merge pull request #21681 from AaronVanGeffen/obj-list-refactor
...
Move various object list properties out of ObjectTypes header
2024-04-12 11:54:13 +02:00
Gymnasiast
c158854a7f
Move Park into namespace, add other park-related things to struct
2024-04-04 18:14:27 +02:00
Aaron van Geffen
cec251bb63
Take kAllObjectTypes internal as well
2024-03-27 21:26:07 +01:00
Aaron van Geffen
e898e9211d
Move kObjectEntryGroupCounts to ObjectList.cpp
2024-03-27 20:13:10 +01:00
Matt
1e8ae8ea11
Merge pull request #21542 from Harry-Hopkinson/gLandPrice-to-GameState
...
Move gLandPrice to GameState_t
2024-03-07 22:54:36 +02:00
Matt
a2fdd600cf
Merge pull request #21424 from ZehMatt/viewport-update
...
Store the rotation in viewports
2024-03-07 22:42:00 +02:00
Harry Hopkinson
81814bd81e
Move gLandPrice to GameState_t
2024-03-07 18:44:21 +00:00
ζeh Matt
462bb33234
Refactor viewport rotation to keep it in sync with the primary viewport
2024-03-05 10:23:31 +02:00
Harry-Hopkinson
56df39dcb4
Replace uint8's with EnumValue
...
Replace uint8's with EnumValue
Replace uint8's with EnumValue
Revertl arge change
Revert large change
Format
2024-03-04 19:04:18 +00:00
Duncan
4b6ba80a46
Move cheats to struct in GameState_t
2024-03-03 22:44:15 +01:00
Harry Hopkinson
57a4c83f80
Move gConstructionRightsPrice to GameState_t ( #21467 )
...
* Move gConstructionRightsPrice to GameState_t
* Add OpenRCT2 namespace
2024-02-27 20:20:11 +00:00
Harry Hopkinson
70ea832808
Move gCompanyValue to GameState_t
2024-02-27 16:31:38 +01:00
Harry Hopkinson
7797db10c8
Replace Macros and Notation in Cheats.h, common.h and Context.h. ( #21437 )
2024-02-23 19:30:35 -03:00
Martin Mizzi
f5a9846ea2
Move gBankLoan and gBankLoanInterestRate to GameState_t
2024-02-19 04:42:44 -05:00
Harry Hopkinson
1c285dbf9f
Move gMaxBankLoan to GameState
2024-02-13 21:36:35 +01:00
Hielke Morsink
0c10435b7e
#21193 : Move gParkValue to GameState_t
2024-01-25 14:30:44 +01:00
Hielke Morsink
f85cac627d
#21193 : Move gParkRating to GameState_t
2024-01-23 00:11:34 +01:00
Michael Steenbeek
b5786c2a86
Move gGuestInitial* to GameState
2024-01-22 22:28:16 +00:00
Hielke Morsink
13351d996e
#21193 : Move gParkFlags to GameState_t, refactor uses
...
Also changed a few instances where GetGameState was called inside the same function.
The change in Peep.cpp is needed because of a function conflict. FormatStringID exists both in the global and in the OpenRCT2 namespace.
2024-01-22 16:31:35 +01:00
Harry Hopkinson
0f283dc2a9
Move gClimate to GameState_t
2024-01-21 21:05:22 +00:00
ζeh Matt
c493e22b9b
#21193 : Move gInitialCash to GameState_t, refactor uses
2024-01-20 17:13:57 +02:00
ζeh Matt
3518a638bb
#21193 : Move gCash to GameState_t, refactor uses
2024-01-20 15:46:35 +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
mrmbernardi
98a52efb7e
Fix #5677 : Balloons pass through the ground and objects ( #20483 )
2023-12-26 08:28:19 -03:00
Gymnasiast
6d87e3e56d
Make remove_park_fences multiplayer-safe
2023-11-02 22:40:11 +01:00
Aaron van Geffen
d425e0a8bb
Remove const qualifier from constexpr statements
2023-06-24 11:45:26 +02:00
Michael Steenbeek
fd80b4c822
Refactor and clean up date handling ( #19666 )
...
* Refactor and clean up date handling
* Remove gDate, remove direct access to days_in_month
* Adjust the MultiLaunch test
* Bump network version
---------
Co-authored-by: ζeh Matt <5415177+ZehMatt@users.noreply.github.com >
2023-04-02 09:25:41 +01:00
Michael Steenbeek
dd624f9bff
Replace remaining usages of money16, money32 ( #19469 )
...
* Use money64 for ride prices and shop items
* Use money64 for park entrance fee
* Use money64 for gGuestInitialCash
* Use money64 for upkeep costs
* Use money64 for ride value
* Use money64 for marketing campaign cost
* Use money64 for object prices
* Use money64 for land prices
* Use money64 for guest expenditure
* Replace remaining occurrences of money32 with money64
* Update replays
* Bump network version
---------
Co-authored-by: duncanspumpkin <duncans_pumpkin@hotmail.co.uk >
2023-03-02 21:55:42 +00:00
ζeh Matt
a2a06d6dde
Return const RideObjectEntry*, refactor uses and fix related access
2023-02-05 17:36:37 +02:00
ζeh Matt
2f8e208a9d
Refactor sprite_index to Id
2023-01-27 19:21:57 +02:00
Duncan
e09f27df3c
Rename snake_case Class names (Remaining Bits) ( #19237 )
...
* Rename snake_case Class names
* Clang format
* Fix build issues
2023-01-21 19:57:17 +00:00
Duncan
7d08372c80
Remove snake_case from Class names OpenRCT2/Ride*-S* ( #19232 )
...
* Remove snake_case from Class names OpenRCT2/Ride*-S*
* Clang format
2023-01-20 20:58:55 +00:00
Duncan
9deed6d98a
Replace snakes in Class names OpenRCT2/N*-P* ( #19227 )
...
* Replace snakes in Class names OpenRCT2/N*-P*
* Rename PODDate (and TimeOfDay for good measure)
Co-authored-by: Gymnasiast <m.o.steenbeek@gmail.com >
2023-01-20 05:24:44 +00:00
Duncan
23b6d1840e
Rename classes with snakes OpenRCT2/G*-M*
2023-01-19 15:13:23 +00:00
Hielke Morsink
0762fcb601
Rename snake_case functions in OpenRCT2/util folder
2023-01-18 22:44:13 +01:00