Gymnasiast
c158854a7f
Move Park into namespace, add other park-related things to struct
2024-04-04 18:14:27 +02:00
Gymnasiast
4f3b7aa8a9
Turn Park into struct
2024-04-04 18:12:36 +02:00
Gymnasiast
28451027b1
Move Park to GameState_t
2024-04-04 18:12:08 +02:00
Gymnasiast
1f1377a8ef
Move Date to GameState_t
2024-04-04 18:12:08 +02:00
Claudio Tiecher
a94e6c54d8
Part of #21421 : replace define with constexpr ( #21679 )
2024-04-01 07:00:32 -03:00
Harry Hopkinson
25d3db0f1f
Move gParkRatingCasualtyPenalty to GameState_t ( #21610 )
2024-03-16 06:24:50 -03:00
Harry Hopkinson
048276b67a
Move gLastEntranceStyle to GameState_t
2024-03-09 11:27:05 +01:00
Harry Hopkinson
ef9840f29b
Replace static_cast with EnumValue
2024-03-04 15:37:20 +00:00
Harry Hopkinson
9748038815
Move gExpenditureTable to GameState_t
2024-03-04 15:24:29 +01:00
Jan Kelemen
bc149ca95c
Move gHistoricalProfit and gGuestsInParkHistory to GameState_t ( #21513 )
...
* Move gGuestsInParkHistory to GameState_t
* Move gHistoricalProfit to GameState_t
2024-03-03 16:05:48 +00:00
Harry Hopkinson
42844d1667
Move gCurrentProfit to GameState_t ( #21485 )
2024-03-01 05:47:30 -03:00
Harry Hopkinson
063c4f7bce
Move gCurrentExpenditure to GameState_t
2024-02-27 22:03:40 +01: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
Harry Hopkinson
b989ccbb20
Remove unused gSavedAge ( #21410 )
...
* Remove the unused SavedAge variable.
2024-02-20 16:58:46 -03:00
Martin Mizzi
f5a9846ea2
Move gBankLoan and gBankLoanInterestRate to GameState_t
2024-02-19 04:42:44 -05:00
Harry-Hopkinson
b755c873e5
Move gMapSize to GameState_t
2024-02-12 21:32:08 +00:00
Harry Hopkinson
6deac11916
Move gTotalRideValueForMoney to GameState_t
2024-02-08 09:39:28 +00:00
Harry Hopkinson
ad5ef31a97
Move gTotalIncomeFromAdmissions to GameState_t ( #21348 )
2024-02-07 19:13:04 -03:00
Harry Hopkinson
3eb9cf2264
Move gTotalAdmissions to GameState_t ( #21341 )
...
Part of #21193 .
2024-02-06 21:42:05 +01:00
Harry Hopkinson
11ae8247bd
Move gNumGuestsInPark to GameState_t ( #21295 )
...
* Move gNumGuestsInPark to GameState_t
* Replace GetGameState() with gameState
2024-01-28 19:17:43 -03:00
Michael Steenbeek
32aa3f56b4
Move gScenarioRand to GameState_t
2024-01-26 09:19:45 +01:00
Hielke Morsink
f9870ece7a
Merge pull request #21271 from Broxzier/refactor/global-park-value
...
#21193 : Move gParkValue and gParkValueHistory to GameState_t
2024-01-25 16:14:23 +01:00
Hielke Morsink
0c10435b7e
#21193 : Move gParkValue to GameState_t
2024-01-25 14:30:44 +01:00
Hielke Morsink
74d61369be
#21193 : Move ParkEntrances to GameState_t
2024-01-25 12:52:56 +01:00
Michael Steenbeek
115e7389a9
Move most gScenario* globals to GameState_t
2024-01-24 22:17:32 +01:00
Michael Steenbeek
71c20a04d7
Move gWeekly* globals to GameState_t
2024-01-24 15:03:46 +01:00
Hielke Morsink
fb420f6516
#21193 : Move gParkEntranceFee to GameState_t ( #21256 )
2024-01-24 13:45:01 +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
ζeh Matt
25c807edbd
Small cleanup
2024-01-20 19:34:27 +02: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
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
Duncan
b56748bc82
ObjectEntry Cleanup. FootpathItem, SceneryGroup, Water, LargeScenery ( #19385 )
...
* Move footpathitem entry into new getter
* Move scenery group entry into new getter
* Move water entry into new getter
* Move large scenery entry into new getter
* Remove unused header includes
* Fix compile issue
* Include missing header from vcxproj
2023-02-15 21:35:16 +00:00
eaeiv
96bfa633fe
Widens TotalRideValue to fix overflow reported in #19292 ( #19326 )
...
* Widens TotalRideValue to 64 bits
* Adds name to contributors file
* Adds totalRideValue overflow fix to changelog
2023-02-09 21:51:03 +00:00
Duncan
24581e781f
Move misc ObjectEntries into Object folder ( #19281 )
...
* Move water entry
* Move FootpathEntry
* Move EntranceEntry
* Move SceneryGroupEntry
2023-01-27 19:44:58 +00: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
Michael Steenbeek
cf9aad7885
Close #19214 : Use consistent casing for RC and RCT ( #19230 )
2023-01-20 08:19:14 +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
Hielke Morsink
2c224cfd53
Rename snake_case functions in OpenRCT2/network folder ( #19203 )
2023-01-18 06:05:53 +00:00
Hielke Morsink
917c091e6b
Rename snake_case functions in OpenRCT2/marketing folder
2023-01-17 23:13:39 +00:00
Duncan
09611cd9a5
Remove snake_case from OpenRCT2/entity folder
2023-01-17 21:16:36 +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