Gymnasiast
e29ba3bca4
Move Sawyer coding into its own namespace
2025-07-04 22:47:09 +02:00
Gymnasiast
8c001ba4b5
Move SawyerEncoding files to their own folder
2025-07-04 22:07:17 +02:00
Michael Steenbeek
a3494d5358
Fix #24544 : RCT1 Maze designs with wooden walls not imported correctly
2025-06-02 21:26:48 +00:00
Michael Steenbeek
dea020fe7a
Move TD46 stuff to own file
2025-05-30 00:04:52 +02:00
Gymnasiast
c5fff2bb77
Create enum class for FileMode
2025-03-25 22:47:08 +01:00
Gymnasiast
0bfeff59ba
Create weak enum for MazeWallType
2025-03-14 21:31:13 +01:00
Gymnasiast
114e8da200
Update RideMode to current code style
2025-03-06 23:01:47 +01: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
Gymnasiast
d9d5df509e
Add RtdSpecialType to replace checks for maze and other naughty types
2024-11-24 12:58:32 +01:00
Michael Steenbeek
47800cddcf
Change RTD flags to a strong enum
2024-08-13 20:20:25 +00:00
Aaron van Geffen
05e56517ab
Adopt existing namespaces into OpenRCT2 namespace ( #22368 )
...
* Put all of TitleSequenceManager into the same namespace
* Move RideConstructionState into the OpenRCT2 namespace
* Adopt existing namespaces into OpenRCT2 namespace
This adds `using namespace OpenRCT2` to compilation units where appropriate,
as a means to get the codebase to compile until these units have been placed
in a namespace of their own.
2024-07-26 09:59:58 +02:00
Aaron van Geffen
8cef18cd2f
Include cassert as needed at unit level
2024-07-09 16:43:03 +02:00
Gymnasiast
64230380af
Sync more TrackDesign fields with their Ride counterparts
2024-07-04 00:29:41 +02:00
Gymnasiast
3977841dd9
Move track and vehicle settings to their own struct
2024-07-04 00:29:41 +02:00
Gymnasiast
e47f526067
Move variables not saved in the track design to their own struct
2024-07-04 00:29:40 +02:00
Gymnasiast
56accb3790
Use RatingTuple across the codebase
2024-07-04 00:29:40 +02:00
Gymnasiast
9a616cd055
Remove vehicleType parameter (not used by OpenRCT2 and RCT2)
2024-07-02 22:35:20 +02:00
Gymnasiast
918ccf4c63
Move track design operations to its own struct
2024-07-02 22:35:20 +02:00
Gymnasiast
2c7d2fff7c
Move track design appearance to its own struct
2024-07-02 22:35:19 +02:00
Gymnasiast
2c6491f34a
Move track design statistics to their own struct
2024-07-02 17:08:05 +02:00
Gymnasiast
5fa007eb3b
Make TrackDesignTrackElement adhere to new coding style
2024-07-02 16:45:32 +02:00
Gymnasiast
267c2e5ecc
Remove unused flags members from TrackDesign
2024-06-14 21:17:34 +02:00
Gymnasiast
cdbedeece6
Desnake TrackDesign fields
2024-06-14 21:17:34 +02:00
Harry-Hopkinson
c489d6288a
Rename NumColourSchemes to kNumColourSchemes
2024-05-27 07:52:32 +00:00
Harry Hopkinson
3c04e67ece
Refactor constant notation in Limits.h
2024-05-26 17:54:31 +02:00
Gymnasiast
c2ed24b183
Make RCT1::VehicleType a strong enum
2024-03-02 01:33:51 +01:00
Michael Steenbeek
9efe25c11c
Fix #20907 : RCT1/AA scenarios use the 4-across train for the Inverted RC ( #21303 )
2024-02-04 20:39:52 -03:00
Gymnasiast
5593eca03d
Import maze entrances in the same way as regular ones
2024-01-11 22:49:40 +01:00
Gymnasiast
7df3b22e14
Move conversion of station object to TD4/6 import/export
2024-01-03 21:14:04 +01: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
baf88ef490
Refactor in-memory track design element ( #21010 )
2023-12-02 14:43:03 -03:00
ζeh Matt
3d5e6ea932
Replace Equals with IEquals where appropriate
2023-07-05 23:14:05 +03: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
Michael Steenbeek
d8417fee30
Desnake the rct2/rct12 fields ( #19254 )
2023-01-22 19:16:41 +00:00
Duncan
b76bffe1ec
Desnake RCT12 class names
2023-01-21 22:32:44 +00:00
Michael Steenbeek
48619afbb8
Replace snake_case in rct1 folder
2023-01-19 21:48:07 +00:00
James103
73738bbdc8
Replace 2022 with 2023 in copyright headers
...
Replace all instances of the year 2022 with 2023 in all copyright headers
2023-01-01 11:58:01 +01:00
frutiemax
6d804f5323
Add RIDE_TYPE_FLAG_IS_MAZE
2022-12-14 14:21:21 +01:00
Gymnasiast
079253e168
Remove now-unused SawyerEncoding.{cpp,h}
2022-10-08 23:09:07 +02:00
Gymnasiast
c33e377d7c
Close #17341 : Always allow loading with incorrect checksum
2022-10-08 22:58:23 +02:00
73
b9e677945d
Replace 20XX with 2022 ( #18158 )
...
* Replace 2020 with 2022
Replace all 2020 headers with 2022
* replace other years with 2022
add missing years
2022-10-01 08:42:14 +01:00
Duncan
adc51ad9aa
Rework rct_vehicle_colour ( #16051 )
...
* Remove rct_vehicle_colour and replace with VehicleColour
* Update network version
* Update replay version
2022-08-13 19:30:30 +00:00
Duncan
5157b57a15
OpenRCT2 Limits ( #16088 )
...
* Move over max rides to limits file
* Move max stations to limits file
* Move over max inversions, golf holes, helices, custhistsize
* Move over max trains per ride
* Bring over Max cars per train and max circuits per ride
* Port over NumColourSchemes and max vehicle colours
* Fix compilation
* Move over max awards
* Move over max peep spawns and park entrances
* Fix rebase issues
* Remove future work
* Switch style
* Update copyright
2022-02-01 20:59:48 +00:00
Gymnasiast
919c73d030
C++-ify most path handling
2022-01-08 16:58:57 +01:00
Duncan
eba42a9584
Introduce Limits headers. ( #15329 )
...
* Move RCT12 limits to seperate file and namespace
* Remove prefix from constants
* Add rct1 limits file
* Rename constants to remove prefix
* Add RCT2 limits file
* Remove RCT2 prefix from constants
* Move constant to correct header
* Fix rebase mistakes
* Drop prefix
2021-11-27 16:20:05 +00:00
IntelOrca
34128dc262
Add new .park save format
...
Co-authored-by: Gymnasiast <Gymnasiast@users.noreply.github.com >
Co-authored-by: duncanspumpkin <duncanspumpkin@users.noreply.github.com >
Co-authored-by: ZehMatt <Zehmatt@users.noreply.github.com >
Co-authored-by: Broxzier <Broxzier@users.noreply.github.com >
2021-11-21 22:43:22 +01:00
Hielke Morsink
4b4b3333d6
Remove unnecessary else blocks
2021-09-16 18:31:12 +02:00
Gymnasiast
bdab3219cb
Modify object loading for JSON-only objects
2021-09-15 11:28:39 +02:00
ζeh Matt
8f5fb9d179
Convert switch to two conditional scopes
2021-09-03 23:53:04 +03:00