Michael Steenbeek
50beb138c0
Fix #21908 : Ride mode warnings when hovering track designs
2025-03-31 21:22:22 +00:00
Gymnasiast
4badffcdb6
Change GameState_t members to lowerCamelCase
2025-03-20 23:05:57 +01:00
Michael Steenbeek
05b64985f4
Update Ride struct to new codestyle
2025-03-09 00:26:25 +01:00
Gymnasiast
a35ce7ced3
Create RideModifyType enum
2025-03-06 23:24:43 +01:00
Michael Steenbeek
b0c99fcb6c
Refactor more constants to kConstant notation
2025-01-22 16:16:55 +00:00
Michael Steenbeek
be9f27e4f9
Mass rename constants ( #23656 )
2025-01-19 15:59:45 +00:00
Aaron van Geffen
fa06a49302
Update copyright year to 2025 ( #23514 )
2024-12-31 20:30:04 +01:00
RedMarcher
c24e47dea1
Rename cheat variables to match new code style
2024-12-01 18:15:37 +01:00
Matt
41a6e9d252
Fix #21908 : Errors showing up when placing/moving track design previews
2024-08-07 22:36:50 +02:00
Aaron van Geffen
51873dc0f6
Include Diagnostic.h at unit level
2024-07-09 16:23:31 +02:00
Gymnasiast
6d8ffeb99c
Fix formatting
2024-07-04 00:29:41 +02:00
Gymnasiast
624aa53038
Pass TrackDesign by reference
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
bc13b46f96
Do not use td6 as a variable name for TrackDesign
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
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
a7be543fc3
Rename MaxVehicleColours to kMaxVehicleColours
2024-05-27 07:32:12 +00:00
Peter Froud
87ee06b7a4
Use STR_ERR_RIDE_NOT_FOUND when ride==nullptr
2024-03-30 17:12:54 +01:00
Peter Froud
13abc3441c
Change "invalid game command" messages
2024-03-30 17:12:54 +01:00
Peter Froud
23958186bd
Change LOG_ERROR to LOG_WARNING for errors
2024-03-30 17:12:53 +01:00
Harry Hopkinson
048276b67a
Move gLastEntranceStyle to GameState_t
2024-03-09 11:27:05 +01:00
Duncan
4b6ba80a46
Move cheats to struct in GameState_t
2024-03-03 22:44:15 +01:00
Peter Froud
afe3b02a24
Use STR_OFF_EDGE_OF_MAP when !LocationValid()
2024-01-24 23:27:34 -08:00
Gymnasiast
7df3b22e14
Move conversion of station object to TD4/6 import/export
2024-01-03 21:14:04 +01:00
Gymnasiast
cfff3c53f9
Do not use RCT1/2 limits in TrackDesign.h
...
Some unrelated files seemingly relied on TrackDesign.h to import RCT2.h for them.
2024-01-03 21:12:53 +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
Hielke Morsink
917c091e6b
Rename snake_case functions in OpenRCT2/marketing folder
2023-01-17 23:13:39 +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
Michael Steenbeek
412bf8f8be
Use ride references instead of pointers
2023-01-07 14:02:18 +01: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
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
Ted John
0b9184b99b
Avoid overwriting _currentTrackPieceDirection when placing TD
2022-05-10 22:41:09 +01:00
Michael Steenbeek
e78c29ea5c
Fix most occurrences of ‘ternary’ ( #16832 )
2022-03-20 19:22:05 +01:00
ζeh Matt
c0474d2d27
Merge pull request #16466 from ZehMatt/refactor/identifier-rideid
...
Use TIdentifier for RideId
2022-02-12 11:23:54 -08:00
ζeh Matt
06e430157f
Use RideId::GetNull and RideId::IsNull over constant
2022-02-12 18:11:18 +02:00
ζeh Matt
a2470c0573
Rename ride_id_t to RideId
2022-02-12 18:11:18 +02:00
Michael Steenbeek
f0ee220ec6
Fix messages [ci skip]
...
Co-authored-by: pizza2004 <chad@neejean.org >
2022-02-12 12:28:37 +01:00
Gymnasiast
635a6507eb
Fix #16572 : Refactor error made in #15403
2022-02-12 00:43:32 +01: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
ζeh Matt
dea22ad951
Refactor RideCreateAction to pass entrance object explicitly
2022-01-29 17:07:31 +02:00
GalBr
fae4e6323f
Fix #16234 : Wrap vehicle colors when there are more than 32 trains ( #16323 )
...
* Wrap vehicle_colours in TrackDesignAction
* Wrap the color presets in set_vehicle_colours_to_random_preset
* Increment network version
* Update changelog.txt
Co-authored-by: Tulio Leao <tupaschoal@gmail.com >
2022-01-08 19:03:58 -03:00
Gymnasiast
ef6f2cceee
Create RideConstruction.h
2021-12-18 20:27:13 +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
ζeh Matt
83b911b193
#15634 : Refactor passing GameActions::Result by copy ( #15951 )
...
* Refactor to result GameActions::Result as copy instead of unique_ptr
* Remove alias GameActions::Result::Ptr
* Remove MakeResult wrapper
* Remove type forwarder in TileInspector
2021-11-24 07:35:08 +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