RedMarcher
c24e47dea1
Rename cheat variables to match new code style
2024-12-01 18:15:37 +01:00
Gymnasiast
0979cf61ad
Replace direct check for RIDE_TYPE_LIM_LAUNCHED_ROLLER_COASTER
2024-11-24 12:58:03 +01:00
Aaron van Geffen
d2e01dde4e
Remove a bunch of Util.h includes
2024-10-29 13:12:52 +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
Michael Steenbeek
52b70703af
Turn TrackElemType into a strong enum
2024-10-11 13:30:27 +00:00
Gymnasiast
5f92d1920b
Group all sequence-bound properties
2024-09-18 22:43:55 +02:00
Michael Steenbeek
47800cddcf
Change RTD flags to a strong enum
2024-08-13 20:20:25 +00:00
Gymnasiast
9294a58e98
Change TrackDescriptor field names to lowerCamelCase
2024-08-03 12:51:25 +02:00
Aaron van Geffen
51873dc0f6
Include Diagnostic.h at unit level
2024-07-09 16:23:31 +02:00
shakthi124 and Gymnasiast
7fb3022f32
Close #13047 : De-duplicate track type normalisation in TrackRemoveAction
...
Co-authored-by: Gymnasiast <Gymnasiast@users.noreply.github.com >
2024-05-29 20:54:41 +00:00
Peter Froud
2b1d5ad9b7
Use specific error stringIDs
2024-03-30 17:12:54 +01:00
Peter Froud
40537a17fa
General cleanup of existing error messages
2024-03-30 17:12:54 +01:00
Peter Froud
87ee06b7a4
Use STR_ERR_RIDE_NOT_FOUND when ride==nullptr
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
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
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
spacek531
79730e50fd
Diagonal Brakes and Block Brakes
2023-10-01 18:58:03 -07:00
kyphii
9ca4e48c79
Fix : #13397 : Broken Stations with Simulate Mode
2023-04-22 19:41:26 +02:00
Duncan
e09f27df3c
Rename snake_case Class names (Remaining Bits) ( #19237 )
...
* Rename snake_case Class names
* Clang format
* Fix build issues
2023-01-21 19:57:17 +00:00
Michael Steenbeek
448c8fafd0
Rename base_height, clearance_height and owner
2023-01-19 20:36:30 +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
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
Gymnasiast
38b34e841a
Use safe method to access ted block
2022-12-10 22:31:23 +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
Michael Steenbeek
0bfc151ab9
Remove remaining usages of gGameCommandErrorText
2022-07-30 18:04:59 +02: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
Duncan
36e1a10431
Revert some of #16477 and fix scenery costs ( #16877 )
...
Split up supports and clearance costs
Add notes
2022-03-25 21:47:19 +00:00
ζeh Matt
a2470c0573
Rename ride_id_t to RideId
2022-02-12 18:11:18 +02:00
Gymnasiast
aa34f0f760
Drop the N postfix
2021-12-11 00:39:39 +01:00
Michael Steenbeek
2d1af0ec42
Replace many GetType() calls with GetTypeN()
2021-12-10 22:43:17 +01:00
Peter Schussheim
0495b265c0
Refactor unchecked std::array subscript operator
2021-11-25 10:13:20 +01: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
89cca5cb32
Refactor explicit constructor usage in TrackRemoveAction
2021-10-27 04:32:07 +03: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
046c060e74
Part of #13874 : Replace Track Sequence properties
2021-08-22 18:01:03 -04:00
frutiemax
382315b2c3
Part of #13874 : Replace block tables
2021-08-22 17:57:56 -04:00
frutiemax
b5219d76d8
Part of #13874 : Replace pricing tables
2021-08-22 17:55:17 -04:00
Jamie Quigley
4f6d0a00fd
Refactor RIDE_STATUS to use strong enum ( #14840 )
...
* Refactor RIDE_STATUS to use strong enum
* Change platform-specific code to match RIDE_STATUS refactor
* Re-added check for valid RideStatus value
* Fixed errors in "g2" build target
* Use EnumValue instead of static_cast<uint8_t>
* Revert rct{1,2}.h to use uint8_t.
* Fix formatting
* Reverted from constexpr variable to additional enum variant
* Fix formatting
2021-06-10 07:09:58 +01:00
Gymnasiast
d63e3b1d9f
Replace RideTypeDescriptors[ride->type] with GetRideTypeDescriptor()
2021-02-24 14:10:30 +01:00