hdpoliveira
1fceefbbc8
Part of #9473 : vehicle_update_arriving to Vehicle::UpdateArriving
2020-04-18 14:39:03 -03:00
hdpoliveira
e901d71efd
Part of #9473 : vehicle_update_travelling_boat to Vehicle::UpdateTravellingBoat
2020-04-18 14:37:12 -03:00
hdpoliveira
d7f3d3f463
Part of #9473 : vehicle_update_travelling_cable_lift to Vehicle::UpdateTravellingCableLift
2020-04-18 14:37:12 -03:00
hdpoliveira
f6af166f34
Part of #9473 : vehicle_update_travelling to Vehicle::UpdateTravelling
2020-04-18 14:37:11 -03:00
hdpoliveira
8e3d9c6f8a
Part of #9473 : vehicle_update_departing to Vehicle::UpdateDeparting
2020-04-18 14:37:11 -03:00
hdpoliveira
0547f1c500
Part of #9473 : vehicle_update_rotating to Vehicle::UpdateRotating
2020-04-18 14:37:03 -03:00
hdpoliveira
da4146d72b
Part of #9473 : vehicle_update_crooked_house_operating to Vehicle::UpdateCrookedHouseOperating
2020-04-18 14:35:31 -03:00
hdpoliveira
960aca09f1
Part of #9473 : vehicle_update_haunted_house_operating to Vehicle::UpdateHauntedHouseOperating
2020-04-18 14:33:47 -03:00
hdpoliveira
a4a2106d28
Part of #9473 : vehicle_update_space_rings_operating to Vehicle::UpdateSpaceRingsOperating
2020-04-18 14:33:46 -03:00
hdpoliveira
20ddfda72c
Part of #9473 : vehicle_update_ferris_wheel_rotating to Vehicle::UpdateFerrisWheelRotating
2020-04-18 14:33:46 -03:00
hdpoliveira
a1cfa63d4f
Part of #9473 : vehicle_update_top_spin_operating to Vehicle::UpdateTopSpinOperating
2020-04-18 14:33:45 -03:00
hdpoliveira
a01d05ccf8
Part of #9473 : vehicle_update_simulator_operating to Vehicle::UpdateSimulatorOperating
2020-04-18 14:33:45 -03:00
hdpoliveira
da52e69b26
Part of #9473 : vehicle_update_swinging to Vehicle::UpdateSwinging
2020-04-18 14:33:34 -03:00
hdpoliveira
e214a7e40e
Part of #9473 : vehicle_update_dodgems_mode to Vehicle::UpdateDodgemsMode
2020-04-18 14:29:21 -03:00
hdpoliveira
fe3befcda6
Part of #9473 : vehicle_update_crash to Vehicle::UpdateCrash
2020-04-18 14:29:20 -03:00
hdpoliveira
d39b4e9400
Part of #9473 : vehicle_update_waiting_to_depart to Vehicle::UpdateWaitingToDepart
2020-04-18 14:29:20 -03:00
hdpoliveira
3b5f9a372f
Part of #9473 : Convert vehicle_update_moving_to_end_of_station to Vehicle::UpdateMovingToEndOfStation
2020-04-18 14:29:19 -03:00
hdpoliveira
857db2925c
Part of #9473 : Convert cable_lift_update to Vehicle private method CableLiftUpdate
2020-04-18 14:29:19 -03:00
Michael Steenbeek
b4a763c751
Move naming convention to RTD ( #11319 )
2020-04-18 12:12:07 +02:00
Tulio Leao
b449e445f7
Use named casts on openrct2/ride ( #11163 )
...
Excluding subfolders
2020-04-17 19:53:33 +02:00
Gymnasiast
edd31d9f16
Move flags to RideTypeDescriptors
2020-04-17 17:03:33 +02:00
Michael Stowe
163119ea3b
Fix #11275 : Crashes that kill only 1 peep create grammatically incorrect messages ( #11278 )
...
Fix #11275 : Crashes that kill only 1 peep create grammatically incorrect messages (#11278 )
Co-authored-by: Tulio Leao <tupaschoal@gmail.com >
2020-04-16 21:04:12 -03:00
Duncan
92449773c5
Fix #11106 : Crash on getting invalid vehicle index ( #11305 )
...
* Fix #11106 : Fix crash on bad value prev_vehicle
This allows Thorpe Park to be loaded again. This is ultimately not a great fix. In the future it should be made so that the vehicle pointers are validated on load to ensure there are no loops or bad values.
2020-04-16 18:24:07 -03:00
Aaron van Geffen
a81488d704
Fix #11272 : Make casualty and stalled vehicle notifications optional
2020-04-16 14:41:39 +02:00
duncanspumpkin
54a058ca6c
Fix boat location import/export/update.
...
After a refactoring to split off the boat location the import/export functions meant incorrect information could be loaded into the s6 file for boats that had not left the station. Boats that had left the station had other fields clobbered for the same reason
2020-04-07 20:19:26 +01:00
Duncan
f64ea65d03
Rename SPRITE_LIST_TRAIN_HEAD to reduce car head confusion ( #11105 )
...
A single car on a coaster can comprise of multiple vehicles. One of those vehicles will be the car head vehicle. The train can comprise of multiple cars. Therefore not all vehicle->IsHead 's will be in SPRITE_LIST_TRAIN_HEAD. This rename makes that slightly more clear
2020-03-29 09:23:24 +01:00
Michael Steenbeek
b70c5cefd6
Use station index in a few more places ( #11066 )
2020-03-27 11:13:02 +01:00
Michael Steenbeek
cfb405f0ed
Use StationIndex in many more places ( #10992 )
2020-03-26 21:38:26 +01:00
Ted John
d34dec9c27
Create ZoomLevel struct to add two new zoom levels
2020-03-23 15:54:03 +00:00
Gymnasiast
04a6eaea3f
Replace registers in vehicle_update_track_motion_forwards_get_new_track()
2020-03-19 17:20:44 +01:00
Aaron van Geffen
e27a1a230a
Fix regression in boat hire pathfinding ( #10958 )
...
This doesn't fix the guests falling into the water (#10902 ), but it does fix the spotty pathfinding.
2020-03-18 10:52:27 +01:00
Michael Steenbeek
c31ef8e635
Extract vehicle subposition data to its own file ( #10912 )
2020-03-15 11:27:45 +01:00
Gymnasiast
bdf681f440
Clean up many other coordinates
2020-03-13 12:03:43 +01:00
Gymnasiast
cf945f7656
Clean up collide coords
2020-03-13 10:36:45 +01:00
Gymnasiast
2eb967b30d
Change station start to CoordsXY
2020-03-05 12:29:02 +01:00
Michael Steenbeek
8351a0477d
Merge pull request #10854 from tupaschoal/coords-3
...
Increase usage of ScreenCoordsXY on viewport functions and structs
2020-03-05 12:21:04 +01:00
Michael Steenbeek
22768ea915
Merge pull request #10596 from tupaschoal/pr-10070-copy
...
Remove global variable for sound param list
2020-03-04 11:06:22 +01:00
Tulio Leao
09fad0ef7f
Change rct_viewport to use ScreenCoordsXY
2020-03-02 20:50:58 -03:00
Michael Steenbeek
61175a4fbf
Confine use of LocationXY8 to RCT12 load/save code ( #10698 )
2020-03-01 21:16:10 +01:00
Michael Steenbeek
d5c4d78d49
Move vehicle track location to CoordsXYZ ( #10856 )
...
* Move vehicle track location to CoordsXYZ
Co-authored-by: Tulio Leao <tupaschoal@gmail.com >
2020-03-01 15:45:51 -03:00
Tulio Leao
0aab236c01
Use vector for soundParamList instead of array
2020-03-01 14:29:17 -03:00
UltimaBGD
2d35c50a9a
Refactor gVehicleSoundParamsList to use std::array
2020-03-01 14:29:17 -03:00
Michael Steenbeek
f41f878581
Replace some usages of LocationXY(Z)16 ( #10699 )
2020-02-18 22:42:38 +01:00
Michael Steenbeek
1690361b36
Increase size of ride_id_t to 16 bits
2020-02-16 22:21:17 +01:00
Michael Steenbeek
6d97601d6f
Replace hardcoded occurrences of maximum map size ( #10696 )
2020-02-13 20:27:13 +01:00
TusharSariya
3df79cb4d5
Part of #9473 : Convert vehicle_update to Vehicle struct method ( #10677 )
...
* Issue #9473 , moved static void vehicle_update in Vehicle.cpp to a member of the Vehicle struct
* Fix formatting
Co-authored-by: Michael Steenbeek <m.o.steenbeek@gmail.com >
2020-02-11 11:44:05 +00:00
duncanspumpkin
5e9e9df7ce
Refactor invalidate_sprite
2020-01-19 17:16:42 +00:00
duncanspumpkin
bdcfd615ed
Refactor sprite_move
2020-01-19 17:16:41 +00:00
duncanspumpkin
a5ef8d6240
Rename rct_vehicle
2020-01-19 17:14:56 +00:00
duncanspumpkin
164acc85cc
Rename sprites to newer style naming
2020-01-19 17:10:53 +00:00