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
Aaron van Geffen
cf448753c1
Move WindowInvalidate and WidgetInvalidate families into WindowManager ( #23692 )
...
* Move WindowInvalidate and WidgetInvalidate families into WindowManager
* Use InvalidateWidget shorthand in more places
* Cut back on UiContext includes
* Cut back on Window.h includes
* Remove outdated parameter comments
2025-01-25 13:46:08 +01:00
Michael Steenbeek
b0c99fcb6c
Refactor more constants to kConstant notation
2025-01-22 16:16:55 +00:00
Aaron van Geffen
a8773dd805
Move WindowClose family into WindowManager ( #23646 )
...
* Replace WindowClose() calls with Close method calls where possible
* Move WindowClose family into WindowManager
* Remove UpdateSceneryGroupIndexes hack
2025-01-19 18:49:18 +01:00
Michael Steenbeek
be9f27e4f9
Mass rename constants ( #23656 )
2025-01-19 15:59:45 +00:00
Aaron van Geffen
90143b2e38
Address review comments
2025-01-09 12:34:45 +01:00
Aaron van Geffen
a786c89603
Start working on peep entity animation object conversion
2024-12-02 17:15:51 +01:00
Aaron van Geffen
fb9a5239b2
Introduce peep animation objects to object selection window
2024-11-25 17:57:15 +09:00
Aaron van Geffen
fa06a49302
Update copyright year to 2025 ( #23514 )
2024-12-31 20:30:04 +01:00
Aaron van Geffen
35e117aca2
Rename String methods to use lowerCamelCase
2024-12-11 22:49:37 +01:00
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
Aaron van Geffen
f90954b1a4
Reduce dependencies for Research.h ( #23268 )
2024-11-25 14:32:16 +00:00
Aaron van Geffen
f8ea776dba
Rework AppendRequiredObjects to take a std::string_view instead
2024-10-30 22:58:47 +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 Steenbeek
a2ed026264
Split up remaining tile elements
2024-10-15 22:02:31 +02:00
Michael Steenbeek
71ce725a2a
Split off BannerElement and TrackElement ( #22955 )
2024-10-14 14:26:10 +02: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
fbf95075f7
Bump PARK_FILE_MIN_VERSION
2024-09-27 04:41:54 +10:00
Michael Bernardi
ab558c931a
Increase park rating history size from 8 bits to 16 bits
2024-09-27 04:32:33 +10:00
Harry Hopkinson
2fe36661ab
Refactor Limits.h constants to kCamelCase
2024-09-24 20:43:18 +00: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
Gymnasiast
c0720d608f
Make pre-existing wooden flat-to-steep pieces invisible
2024-09-20 21:34:28 +02:00
Aaron van Geffen
cf516db6dc
Split StringTypes.h off from String.hpp; adjust header includes
2024-09-10 23:55:53 +02:00
Harry Hopkinson
5f0d657bf2
Move gScenarioFileName to GameState
2024-09-07 12:20:32 +02:00