Aaron van Geffen
aa35ec07cd
Introduce Scenario::Options struct; move cash and guest options
2025-08-22 15:57:33 +02:00
Gymnasiast
9c810d9e32
Update ParkData fields to new code style
2025-08-21 22:12:41 +02:00
Tulio Leao
80b5187da9
Rename ride_rating to RideRating_t
2025-08-17 08:49:03 -03:00
Aaron van Geffen
a053a84486
Move all object units into OpenRCT2 namespace ( #24980 )
...
* Move all object units into OpenRCT2 namespace
* Dealing with fallout, part 1
* Dealing with fallout, part 2
* Dealing with fallout, part 3
* Apply clang-format in a few more places
* Remove redundant 'virtual' keyword
2025-08-17 06:46:03 -03:00
Aaron van Geffen
e300ca8277
Move .maxBankLoan into ParkData struct
2025-08-13 22:29:25 +02:00
Aaron van Geffen
68a4991971
Move .bankLoan into ParkData struct
2025-08-13 21:24:06 +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
Joel Teichroeb
a146f38194
Fix #24173 : Allow all game speeds between 1 and 8 if developer mode is on ( #24270 )
2025-08-07 12:10:24 +02:00
Michał Janiszewski
f6292b4c13
Use clang-format 20 ( #24861 )
...
https://clang.llvm.org/docs/ClangFormatStyleOptions.html
2025-07-31 11:01:48 +02:00
Gymnasiast
d2615beb6e
Change News enums to use lowerCamelCase
2025-05-24 23:47:18 +02:00
Tulio Leao
b04348c56b
Make error message on console set command more descriptive
...
Previously when using `set variable something` you would always get the non-helpful message: "set variable command failed, likely due to permissions."
Since all of these are going through game actions, we can use the GameActionResult to return something more meaningful. For example, trying to do `set game_speed 5`:
Before:

After:

2025-05-23 15:44:16 +02:00
Gymnasiast
b68b177737
Change MAX_BANNERS to kMaxBanners
2025-05-20 22:57:03 +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
ζeh Matt
12063aa884
Rename SetLocation to SetViewportLocation, this is less confusing
2025-04-25 17:48:39 +03:00
ζeh Matt
e3062985c0
Fix code calling ViewportUpdatePosition this is incorrect
2025-04-25 17:48:37 +03:00
Aaron van Geffen
807a2fa7c9
Merge objective options into scenario options
2025-03-13 13:57:03 +01:00
Duncan
d5de6c2b49
Start Simplifying CMake code ( #24177 )
...
* Use generator expressions
* Update cmake minimum
* Move options and remove project name
* Use further generator expressions
* Try upgrading to CMake 3.25 on Ubuntu 22.04 CI
Install software-properties-common
* Standardise with DISABLE_TTF for disable defines
* Set X64 var differently due to unknown reasons
---------
Co-authored-by: Michael Steenbeek <1478678+Gymnasiast@users.noreply.github.com >
2025-04-11 16:09:52 +01:00
Aaron van Geffen
99836faeff
Rename Window_internal unit to WindowBase for consistency ( #24163 )
2025-04-06 17:43:36 +02: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
2ce206ed03
Move item temperature thresholds to climate objects
2025-03-07 18:57:00 +01:00
Aaron van Geffen
69d7488b8b
Drop climate variable from in-game console
2025-02-01 17:30:20 +01:00
Aaron van Geffen
5dda84c891
Implement scaffolding for climate objects
2025-02-01 16:52:39 +01:00
Michael Steenbeek
05b64985f4
Update Ride struct to new codestyle
2025-03-09 00:26:25 +01:00
Gymnasiast
114e8da200
Update RideMode to current code style
2025-03-06 23:01:47 +01:00
Michael Steenbeek
06c1fed4f7
Refactor gScreenFlags to LegacyScene enum
2025-03-05 20:45:04 +00:00
73
a976a43708
Rename network.h to Network.h ( #23882 )
2025-02-24 10:43:06 +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
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
Aaron van Geffen
c8da126c95
Move Viewport struct to Viewport.h
2025-01-24 22:44:21 +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
mrmbernardi
d8290a696f
Fix in game console "get location" command ( #23598 )
2025-01-12 14:06:22 +11:00
Aaron van Geffen
5ba6b97d89
Rework InteractiveConsole to use localised object type strings ( #23586 )
2025-01-09 21:44:41 +00:00
Aaron van Geffen
cfdfd1a234
List available staff costumes dynamically
2024-12-05 17:39:10 +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
InvokeStatic (Brendan Heinonen)
a3691982b3
Fix #23348 : console command bugfixes and refactor ( #23369 )
...
This commit fixes the graphics bug #23348 by introducing an asynchronous
command completion signalling system in InteractiveConsole. This causes the
console to stop accepting new inputs while a command is being executed.
The console command system was also refactored to reduce code duplication and
remove return codes, which were unused and also poor error handling.
2024-12-16 16:59:47 +11:00
Aaron van Geffen
6ee798337a
Introduce EnumUtils header ( #23407 )
2024-12-15 17:39:52 +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
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