Aaron van Geffen
b40c5bd3b4
Move .totalRideValueForMoney into ParkData struct
2025-08-13 23:19:54 +02:00
Aaron van Geffen
681a489d15
Move .guest(ChangeModifier|GenerationProbability) into ParkData struct
2025-08-13 23:18:29 +02:00
Aaron van Geffen
51f17c5754
Move .bankLoanInterestRate into ParkData struct
2025-08-13 23:15:24 +02:00
Aaron van Geffen
b9481305ba
Move .marketingCampaigns into ParkData struct
2025-08-13 23:06:51 +02:00
Aaron van Geffen
ee37cb1411
Move .currentAwards into ParkData struct
2025-08-13 23:05:14 +02:00
Aaron van Geffen
21504650d3
Move .total(IncomeFrom|)Admissions into ParkData struct
2025-08-13 23:02:11 +02:00
Aaron van Geffen
1c361dd508
Move .samePriceThroughoutPark into ParkData struct
2025-08-13 22:34:13 +02:00
Aaron van Geffen
e300ca8277
Move .maxBankLoan into ParkData struct
2025-08-13 22:29:25 +02:00
Aaron van Geffen
e6c0de0382
Move .numGuests(HeadingForPark|InParkLastWeek) into ParkData struct
2025-08-13 22:28:18 +02:00
Aaron van Geffen
84ec1cc209
Move .staff(Handyman|Mechanic|Security)Colour into ParkData struct
2025-08-13 22:06:01 +02:00
Aaron van Geffen
5d9de6292f
Move .weeklyProfit* into ParkData struct
2025-08-13 22:03:14 +02:00
Aaron van Geffen
68a4991971
Move .bankLoan into ParkData struct
2025-08-13 21:24:06 +02:00
Aaron van Geffen
e5ead99c83
Move .numGuestsInPark, .guestsInParkHistory into ParkData struct
2025-08-13 21:20:13 +02:00
Aaron van Geffen
b8bc487f19
Move .currentProfit, .currentExpenditure into ParkData struct
2025-08-13 21:17:14 +02:00
Aaron van Geffen
0162b09236
Move .expenditureTable into ParkData struct
2025-08-13 21:14:23 +02:00
Aaron van Geffen
7b161c74ff
Move .historicalProfit into ParkData struct
2025-08-13 21:10:51 +02:00
Aaron van Geffen
94f40e46ef
Move .companyValue into ParkData struct
2025-08-13 21:08:00 +02:00
Aaron van Geffen
b842537616
Move .cash, .cashHistory into ParkData struct
2025-08-13 20:23:14 +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
Gymnasiast
8468f87a87
Refactor MarketingCampaignFlags into a FlagHolder
2025-07-04 19:08:26 +02:00
Michael Steenbeek
31d2092b69
Always try mapping footpaths for .park files
2025-07-04 18:54:18 +02:00
Gymnasiast
47bb449e34
Make news item fields lowerCamelCase
2025-05-24 23:47:18 +02:00
Gymnasiast
7a68050897
Rename Banner::ride_index to rideIndex
2025-05-21 00:15:16 +02:00
Gymnasiast
cbd2c7b3d7
Use FlagHolder for banner flags
2025-05-21 00:15:12 +02:00
Gymnasiast
b68b177737
Change MAX_BANNERS to kMaxBanners
2025-05-20 22:57:03 +02:00
Michael Steenbeek
1a571cd4e4
Create enum for TextColour
2025-05-11 22:37:21 +02:00
Gymnasiast
cc2546b681
Close #19782 : Game stops counting inversions after 31
2025-04-19 19:00:22 +02:00
mix
751113b8c6
Prevent unpacking objects when loading a save file preview
2025-04-01 23:02:53 +01:00
Gymnasiast
fb75de8245
Rename many RCT12 constants
2025-03-26 12:33:40 +01:00
Gymnasiast
15707d64ec
Refactor fountain flags
2025-03-26 00:51:27 +01:00
Gymnasiast
c5fff2bb77
Create enum class for FileMode
2025-03-25 22:47:08 +01:00
Gymnasiast
a8982ac113
Rename SCENARIO_CATEGORY and turn into strong enum
2025-03-25 15:09:23 +01:00
Gymnasiast
4badffcdb6
Change GameState_t members to lowerCamelCase
2025-03-20 23:05:57 +01:00
Gymnasiast
d93de5c5b1
Move importing news items to function
2025-03-18 21:50:39 +01:00
Gymnasiast
73cda29208
Create strong enum for RideTestingFlags
2025-03-14 21:30:50 +01:00
Aaron van Geffen
0f22bc852e
Purge ClimateSetAction game action
2025-03-09 16:26:04 +01:00
Aaron van Geffen
8759185480
Append climate object based on legacy climate type
2025-02-01 19:21:39 +01:00
Michael Steenbeek
05b64985f4
Update Ride struct to new codestyle
2025-03-09 00:26:25 +01:00
Gymnasiast
3c35debafe
Rename RIDE_VALUE_UNDEFINED to kRideValueUndefined
2025-03-06 23:30:57 +01:00
Aaron van Geffen
af26d8c1d4
Implement embedded preview screenshots
2025-02-19 16:19:47 +01:00
Aaron van Geffen
f4809291cb
Initial park save preview implementation
2025-02-18 15:48:57 +01:00
Aaron van Geffen
225d3bda2c
ParkImporter: rename GetDetails to PopulateIndexEntry
2025-02-18 15:53:53 +01:00
orbifant
e77d9c0c30
Fix #23743 : Park with > 32k guests goal not in scenario list
...
Creating the scenario cache file tried to read the guest count as signed 16 bit value which doesn't work for values > 32k. In addition ObjectiveArg3 (variable to store guest count) is an signed value, unable to store 50k guests.
2025-03-01 19:51:10 +00: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
cb3dd87943
Drop unused parameter from GetLegacyPeepAnimationObjects ( #23877 )
2025-02-22 16:52:41 +00:00
Briar
376cb7980c
Fix #9999-#10003: translations have truncated strings
...
This issue, along with several related language-specific
trunctions, was traced back to the fact that ScenarioIndexEntry
uses a fixed-length array of utf8 characters to store the name,
internal name, and scenario details. In some cases, this does
not provide enough characters to contain the full description
and so the safe copy methods truncate them to fit in the
available buffer.
Since the use of fixed-size arrays is a holdover from earlier
C code, this commit addresses the issue by changing ScenarioIndexEntry
to use proper utf8 strings and string views, which do not require
truncation.
2025-02-15 00:18:24 +01:00
Aaron van Geffen
bb94ee8bc0
Rename ObjectType enum to follow recent code style ( #23810 )
2025-02-13 23:07:55 +01:00
Aaron van Geffen
6933af25ae
Rename 'Climate' properties to Weather ( #23786 )
...
* Rename ClimateState to WeatherState
* Rename ClimateCurrent to WeatherCurrent
* Rename ClimateNext to WeatherNext
* Rename ClimateUpdateTimer to WeatherUpdateTimer
* Use named initialisers for weather state import in S4/S6 importers
* Rename S4::ClimateTimer to WeatherUpdateTimer as well
* Rename WeatherState struct properties to lowerCamelCase
2025-02-13 07:38:45 -03: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