Commit Graph

215 Commits

Author SHA1 Message Date
duncanspumpkin 9e391d7e03 Label known offsets 2016-02-17 18:22:38 +00:00
IntelOrca 5cf0c4bd07 remove commented out callproc/funcs 2016-02-16 20:10:24 +00:00
duncanspumpkin cd2d14fcec Reload vehicleEntry on change in car to fix special trains.
You can have different flags set for different train cars
2016-02-14 19:52:35 +00:00
duncanspumpkin 843b588b15 Remove redundant callproc code / comments. 2016-02-14 09:34:30 +00:00
Wirlie 4e3261decb One issue fixed with Ferris Wheel 2016-02-13 20:29:41 -06:00
Alexander Overvoorde 8f91375530 Add missing line in ferris wheel rotation code 2016-02-12 22:11:10 +01:00
Alexander Overvoorde 94d73f0c90 Fix ferris wheel rotating one extra time (fixes #2918) 2016-02-12 01:19:16 +01:00
duncanspumpkin c53ce355fa Fix #2827. Chairlifts now create vehicles correctly.
Issue was caused by incorrectly returning on successfully finding the next track piece. This in turn would cause the chairlift to not realise it was on an end station piece.
2016-02-02 18:52:41 +00:00
duncanspumpkin c879c1697e Fix #2110. Boat hire mode no longer causes a crash with incorrect vehicle type
This fixes the crash but you can't at present set the number of cars to 1 so its still not completely possible to do what @webhawk wanted
2016-01-25 18:20:46 +00:00
duncanspumpkin 7cf156a86a Fix #2771. Observation towers now spin correctly.
Issue was caused by mistyping the variable name
2016-01-24 08:15:10 +00:00
duncanspumpkin a79a6969eb Fixed miss centered vehicles. Fixed incorrect starting track progress. Fix newlines. 2016-01-23 18:50:36 +00:00
duncanspumpkin 8316e7e1a4 Fix merge mistakes 2016-01-23 07:23:06 +00:00
IntelOrca 554567d012 implement ride_create_vehicles 2016-01-23 07:23:05 +00:00
Michał Janiszewski 6d6f9f3c23 Refactor rides to be only accessible with getters
This changes how rides are accessed from macros to getter functions.
2016-01-23 01:13:36 +01:00
Duncan 64e17cc830 Fix cable lift test reset.
Code now matches the non cable lift code. Refactor in the future.
2016-01-19 12:41:20 +00:00
duncanspumpkin 3d6be6cb2a Fix track breaks when traveling backwards 2016-01-18 19:41:40 +00:00
duncanspumpkin 599d806113 Fix #2740. Swinging animations should now work correctly 2016-01-16 10:11:56 +00:00
Ted John e69e384d43 Merge pull request #2692 from marijnvdwerf/use-named-addresses
Replace known addresses with constants, globals and wrapper functions
2016-01-15 22:59:13 +00:00
Marijn van der Werf 94e47be3e3 Use `ride_type_has_flag` for checking ride type flags 2016-01-15 21:02:39 +01:00
Marijn van der Werf 98b5ad1bf4 Replace known addresses with constants 2016-01-15 21:01:34 +01:00
duncanspumpkin 10f85322ae Fix incorrect rct2 address comments 2016-01-15 19:17:00 +00:00
duncanspumpkin e68ae821db Fix #2717. Total air time now reset before testing.
This would cause total air time to become a very large number if you made changes to a ride and retested it
2016-01-14 18:56:29 +00:00
duncanspumpkin 937de36e49 Fix #2719. Vehicles getting stuck in unloading passengers mode 2016-01-14 18:41:15 +00:00
duncanspumpkin 23dbde38e2 Refactor. Split golf vehicle update code into seperate function 2016-01-14 18:25:41 +00:00
duncanspumpkin d3cb8c4ef6 Fix #2720. Golf peeps no longer walk incorrectly to the hole. 2016-01-14 18:04:07 +00:00
duncanspumpkin d8d706cc58 Fix #2700. Friction sound no longer goes very quite at high speeds.
Also labelled friction_sound_id and small refactor
2016-01-12 17:55:19 +00:00
duncanspumpkin 75ed781a5c Fix part of #2700. Reverse freefall now correctly slows down on reverse. 2016-01-12 17:43:47 +00:00
duncanspumpkin b5b6e93a03 Fix #2701. Rotated trains no longer disobey physics when crashing. 2016-01-12 17:32:16 +00:00
duncanspumpkin 27ec97d3c5 Fix #2694. Multi tile block breaks (i.e. cable lifts) now correctly unstop.
Issue was caused by looking at the wrong tile to unstop
2016-01-11 18:35:36 +00:00
Marijn van der Werf e961cc885a Use RCT2_ADDRESS_COMMON_FORMAT_ARGS instead of raw address 2016-01-11 12:55:33 +01:00
duncanspumpkin b16337a035 Refactor to remove all remaining warnings and remove redundant comments 2016-01-10 09:24:56 +00:00
duncanspumpkin 326c1f276a Fix fixed broken restraints causing the train to get stuck in a loop 2016-01-09 16:17:04 +00:00
duncanspumpkin 8e0413bd2f Fix mechanics not being called to broken down rides 2016-01-09 15:57:55 +00:00
duncanspumpkin d5bce19af1 Fix race car mode collisions 2016-01-04 10:06:26 +00:00
duncanspumpkin ccc7b1f228 Refactor var_4C into seperate variables 2016-01-04 09:36:29 +00:00
duncanspumpkin 5e6befe20b Fix 3D films only lasting 1 ticks time 2016-01-04 09:11:36 +00:00
duncanspumpkin 3d2a456481 Rework logic to make flow clearer. Fix issue with invalid direction. Fix small logic mistake. 2016-01-03 11:10:02 +00:00
Michał Janiszewski 2b1b0f76f3 Whitespace fixes.
This is just whitespace fixup for all files affected in vehcile-update
branch.
2016-01-03 00:59:10 +01:00
duncanspumpkin 797a2cc75d Fix bug with block breaks when there are track overlaps.
Labeled map_flag (1<<5) as block break closed as well.
2016-01-02 17:04:39 +00:00
duncanspumpkin afca9d27d6 Fix sound bugs with opening/closing track doors. Fix average speed bug. 2016-01-02 16:19:06 +00:00
duncanspumpkin bcd02e833c Fix vehicles bunching up when waiting for passengers in certain directions.
Most notable in bumper boats on blackpool pleasure
2016-01-02 10:45:59 +00:00
duncanspumpkin 1f4b4b2c3f Fix flying boats when entering the station.
Issue was caused by not clearing the word var_34 but instead only the byte var_34. This caused track_progress (word var_34) to become a very large negative number that would be interpreted as a valid track_progress. This would eventually end up reading invalid memory.
2015-12-31 10:27:33 +00:00
duncanspumpkin 3e03ab71fa Fix small bugs in boat hire code. 2015-12-31 09:53:23 +00:00
duncanspumpkin ac0d729baf implement sub_6DA280 2015-12-29 12:06:11 +00:00
duncanspumpkin f7520fd2ba implement vehicle_update_motion_collision_detection 2015-12-27 11:46:15 +00:00
duncanspumpkin 4c88609e7e Fix stretch backwards coasters 2015-12-23 11:57:50 +00:00
Michał Janiszewski 0903dda369 fixes for issues in vehcile-update 2015-12-22 17:00:21 +01:00
duncanspumpkin 7f68149516 Minor Refactor 2015-12-22 10:27:38 +00:00
duncanspumpkin 27d38c6f39 Fix incorrect comparison for backwards loop. 2015-12-21 22:18:56 +00:00
IntelOrca bc24393239 implement vehicle_update_motion_boat_hire 2015-12-21 21:33:17 +00:00