Rik Smeets
275adc9e68
Fix #7983 : Change when certain G-forces show up in red
...
Co-authored-by: Hielke Morsink <hielke.morsink@gmail.com >
2022-05-27 22:09:18 +00:00
Sebastian Flinck Lindström
8fe124b1dd
Close #13966 : Sort Music Style dropdown by name
2022-05-07 20:51:51 +00:00
spacek531
5659d43f46
Cleanup vehicle drawing code part 3 ( #16968 )
...
* Cleanup vehicle drawing code part 3
* Create functions to convert between rotation amounts
* Add regions to ease code navigation
2022-04-30 07:56:23 +01:00
Hielke Morsink
35915b0a5d
Fix: Writing out of bounds when trains have over 144 cars
2022-04-27 22:02:39 +02:00
Geoff Banh
85baa6f7ca
Fix #14093 : Replace MONEY macro with user defined literal
2022-03-29 07:23:35 -03:00
Michael Steenbeek
e78c29ea5c
Fix most occurrences of ‘ternary’ ( #16832 )
2022-03-20 19:22:05 +01:00
Ivan Krushkov
eb423a73b7
Close #12793 : Excitement/Intensity/Nausea ratings to Ride List view with sorting ( #16655 )
2022-03-11 11:17:14 +00:00
Rik Smeets
2a7209bee5
Fix #16140 : Disable 'follow this' in 'overall' and 'station' view
2022-03-02 20:05:53 +01:00
spacek531
82378c09c3
Rename VAR_CE and its unions ( #16215 )
2022-02-20 23:20:06 -03:00
Hielke Morsink
5c5f86ac42
Correct some mistakes
2022-02-18 23:28:21 +02:00
Hielke Morsink
ad0a2a8f96
Remove entrance/exit location functions
2022-02-18 23:28:17 +02:00
Hielke Morsink
2137cea3bb
Reduce use of UnderlyingType
2022-02-18 23:21:38 +02:00
Hielke Morsink
f06645d2f7
Make stations a private std::array and use getters for access
2022-02-18 23:21:35 +02:00
Hielke Morsink
054f7392a1
Let index underflow for reverse loops
2022-02-18 23:11:11 +02:00
Hielke Morsink
f47c1b9f96
Close #16468 : Use TIdentifier for StationIndex
2022-02-18 23:11:07 +02:00
ζeh Matt
d7f5003943
Introduce EntityId and refactor everything
2022-02-16 18:56:39 +02:00
Michael Steenbeek
ffe67ff33e
Merge pull request #16642 from Gymnasiast/refactor/dropdown
...
Create Dropdown::Item and use it for gDropdownItems
2022-02-15 18:50:26 +01:00
Ted John
b775832d01
Refactor window flags to be read with the helper methods
2022-02-13 23:09:42 +00:00
Ted John
da89a4e413
Remove rct_window::enabled_widgets ( #16643 )
...
`enabled_widgets` was used to enable input for widgets. However I do not recall anywhere this being used to specifically disable a widget which doesn't use the dedicated `disabled_widgets` flag. I don't think there is any purpose in keeping this, so I have removed all uses of it.
2022-02-13 23:06:19 +00:00
Gymnasiast
723867e0a0
Create Dropdown::Item and use it for gDropdownItems
2022-02-12 23:57:22 +01:00
Gymnasiast
49ccc21d84
Fix #16576 : Cannot select vehicle types with entry index >= 256
2022-02-12 20:43:45 +01:00
Gymnasiast
3ff8225bb9
Replace some uint8_t in Ride.cpp
2022-02-12 20:43:45 +01:00
ζeh Matt
06e430157f
Use RideId::GetNull and RideId::IsNull over constant
2022-02-12 18:11:18 +02:00
ζeh Matt
4554d6d883
Fix all uses of RideId
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
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
383412252c
Only modify gLastEntranceStyle for the callee of the game action
2022-01-29 16:42:27 +02:00
Michael Steenbeek
819495800c
Fix #15943 : Crash accessing unset w->focus ( #16364 )
2022-01-03 10:11:34 +00:00
Michael Steenbeek
875115ec33
Fix #16343 : Crash in Ride::PopulateVehicleTypeDropdown()
2022-01-01 15:07:42 +01:00
frutiemax
adb692b74e
Forward declare Formatter
2021-12-30 12:17:51 -05:00
Gymnasiast
ef6f2cceee
Create RideConstruction.h
2021-12-18 20:27:13 +01:00
Gymnasiast
449da0d6bd
Convert ride_get_station_object() to method
2021-12-18 18:48:52 +01:00
Ted John
6d7e2446db
Fix #16204 : Invisible entrance/exits render as tiny land sprites
2021-12-13 22:11:55 +00:00
Michael Steenbeek
27cbb6c6ae
Merge pull request #16190 from Gymnasiast/refactor/normalised-tile-element-type-3
...
Part of #15485 : normalise all OpenRCT2 tile element types
2021-12-12 09:53:09 +01:00
Michael Steenbeek
b83f7c3859
Merge pull request #16150 from IntelOrca/refactor/imageid-ui
...
Refactor footpath, scenery, terrain and mapgen windows to use ImageId
2021-12-11 23:21:19 +01:00
Gymnasiast
aa34f0f760
Drop the N postfix
2021-12-11 00:39:39 +01:00
Gymnasiast
fc3ce3294c
Move over switches to normalised tile element types
2021-12-11 00:30:59 +01:00
Michael Steenbeek
2d1af0ec42
Replace many GetType() calls with GetTypeN()
2021-12-10 22:43:17 +01:00
Ted John
9fb490aec0
Refactor ride window to use ImageId
2021-12-07 20:17:22 +00:00
ζeh Matt
7cfb5832c4
Fix #16075 : Track designs save scenery in wrong location
2021-12-04 12:07:10 +01:00
Hielke Morsink
325b986c56
Merge pull request #15489
2021-12-03 00:16:06 +01:00
Duncan
79b12d2953
Introduce DATLimits.h for RCT2 Dat file object limits ( #16034 )
2021-12-01 21:55:52 +00:00
Hielke Morsink
53d9bfa8b4
Update implicit zoom conversions
2021-12-01 00:08:35 +01:00
Hielke Morsink
b6562082e9
Replace hardcoded max zoomlevel
2021-11-30 19:11:08 +01:00
Hielke Morsink
f3735dc076
Use ZoomLevel for viewport and ride window
2021-11-30 19:11:08 +01:00
GalBr
c2fa54057a
Remove vehicle_colour and replace references to VehicleColour ( #16055 )
...
This is done because we had two identical structs: vehicle_colour and
VehicleColour. We now only use VehicleColour.
See: #16028
2021-11-29 22:04:31 +00:00
ζeh Matt
9f23449ffb
Move Staff/Guest/Peep to entity
2021-11-26 18:26:19 +02:00
ζeh Matt
56e78d5733
Merge pull request #15985 from ZehMatt/refactor/entities2
...
Refactor Sprite to Entity
2021-11-25 12:53:50 -08:00
Duncan
fccd298d2f
Clang tidy Part 2: Ui Project Class Names ( #15976 )
...
* Apply clang-tidy on class names in the ui project
* Rename classes to more appropriate names
* Adjust name again
2021-11-24 16:16:52 +00:00
ζeh Matt
0024252328
Fix includes
2021-11-24 17:19:52 +02:00