RedMarcher
c24e47dea1
Rename cheat variables to match new code style
2024-12-01 18:15:37 +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
duncanspumpkin
1cdcbba655
Move wall declarations into wall.h
2024-10-07 22:04:13 +02:00
Harry Hopkinson
c1ac7c0700
Cleanup gameState usage
2024-09-02 22:42:37 +02:00
Michael Steenbeek
e5a6cccd5c
Split RTD, track and vehicle drawing
2024-07-31 20:10:55 +00:00
mrmbernardi
9ed5c63857
Rename Location.hpp constants ( #22385 )
2024-07-26 10:23:25 +02: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
3d5c19de08
Drop Localisation.h include where not required
2024-07-13 13:33:32 +02:00
Aaron van Geffen
51873dc0f6
Include Diagnostic.h at unit level
2024-07-09 16:23:31 +02:00
Peter Froud
2b1d5ad9b7
Use specific error stringIDs
2024-03-30 17:12:54 +01:00
Peter Froud
1f698dfc76
Add LOG_ERROR calls
2024-03-30 17:12:54 +01:00
Duncan
4b6ba80a46
Move cheats to struct in GameState_t
2024-03-03 22:44:15 +01:00
Peter Froud
4c18d322c6
Split if statements to return different errors
2024-01-24 23:28:16 -08: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
Aaron van Geffen
d425e0a8bb
Remove const qualifier from constexpr statements
2023-06-24 11:45:26 +02:00
Michael Steenbeek
e17f09c25c
Move three tables to MazeSetTrackACtion.cpp
2023-01-21 22:25:31 +00:00
Gymnasiast
f6427817e8
Rename byte_ to Byte
2023-01-21 16:41:03 +01:00
Hielke Morsink and duncanspumpkin
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
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
Duncan
406b73d904
Remove final snakes from map and world ( #18304 )
2022-10-12 09:14:45 -03:00
Duncan
7dd8989e70
Next chunk of World/Map.h snakes ( #18296 )
...
* Next chunk of World/Map.h snakes
* Apply clang-format
2022-10-12 06:35:20 +01:00
Duncan
67bbc8560d
Code style: Remove snakes from everything world apart from Map.h ( #18273 )
...
* Remove remaining snakes from world (outside of map)
* Initial few desnaking of Map.h
2022-10-11 19:39:24 +01:00
duncanspumpkin
3e8dc1b2ac
Remove snakes from the foopaths
2022-10-04 20:08:14 +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
Rik Smeets
5c596eae5d
Extract maze cost calculation
2022-08-22 19:29:56 +02:00
Michael Steenbeek
746722df1b
Fix #17703 : (undefined string) when building on invalid height
2022-08-06 15:42:51 +02:00
frutiemax
9971ca15ad
Use ride->GetRideTypeDescriptor() in Maze related game actions
2022-05-14 18:19:00 +00:00
norisa118
483548120b
Fix #16879 : TED::Price is price modifier, not price ( #16962 )
...
* Fix #16879 : TED::Price is price modifier, not price
Change unit type to uint32_t, change name to 'PriceModifer' &
add comment on how to use PriceModifier.
2022-04-14 20:36:39 +01:00
Duncan and Tulio Leao
5760f11349
Simplify Track Cost calcs ( #16940 )
...
* Multiply out 5 in track cost calcs and use _GBP
* Fix typo on Hypercoaster conversion
* Use two decimals for literals converted by _GBP
Co-authored-by: Tulio Leao <tupaschoal@gmail.com >
2022-04-07 11:35:11 +01:00
Tulio Leao
e63432a416
Add ToGBP function to convert non literals to money32
2022-03-31 17:54:52 -03:00
Hielke Morsink
f06645d2f7
Make stations a private std::array and use getters for access
2022-02-18 23:21:35 +02:00
ζeh Matt
f4d105f843
Remove NetworkRideId
2022-02-12 18:11:18 +02:00
Gal B
367fcaad3c
Refactor MazeGetSegmentBit to use const CoordsXY&
2021-12-22 18:48:37 +02: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
ζeh Matt
31239e3941
Refactor result passing on ConstructClearResult
2021-10-21 19:26:17 +03:00
ζeh Matt
7a30169c28
Refactor out construction clearance into a new compilation unit
2021-10-20 22:21:54 +03:00
ζeh Matt
7fc49fca39
Replace StringVariant with std::variant
2021-10-20 16:35:58 +03:00
frutiemax
355019f97f
#15367 : Encode RideType in TrackElement
2021-09-21 10:49:28 +02:00
spacek531
ebc201aaf2
comment and rename
...
refactor to class method
fix formatting
rename function
rename another
rename sub_6C683D
rename loc_6CD18E
annotate ride_get_entrance_or_exit_position_from_screen_position
fix format
rename loop value
fix formatting again
rename functions to TitleCase
2021-09-02 19:47:22 -07:00
frutiemax
450bf61ee4
Part of #13874 : TrackSequenceProperties, Pricing and MirrorMap renamed
2021-08-29 10:45:17 -04:00
frutiemax
5f438535ad
Part of #13874 : Gymnasiast review
2021-08-27 17:57:10 -04:00
frutiemax
b5219d76d8
Part of #13874 : Replace pricing tables
2021-08-22 17:55:17 -04:00
Duncan
7e84e0ef3f
Fix #14893 : Crash in MapCheckCapacityAndReorganise()
2021-06-13 13:34:54 +02:00
duncanspumpkin
b2c0c3e246
Handle reaching tile element limits more gracefully
2021-06-06 08:28:07 +01:00
Gymnasiast
44d0e77afb
Make all access to RTD table use the bounds checking function
2021-02-26 10:01:00 +01:00
Gymnasiast
d63e3b1d9f
Replace RideTypeDescriptors[ride->type] with GetRideTypeDescriptor()
2021-02-24 14:10:30 +01:00
Matt
1aa75f04b7
Add templated version for tile element insertion and cleanup code
2021-02-05 12:22:34 +02:00
Matt
71174b8de7
Make the insertion of tile elements type explicit
2021-02-04 19:00:59 +02:00