Michael Steenbeek
5832b43228
Fix illegal access in window_scenery_tab_entries ( #11643 )
2020-05-05 18:19:01 +02:00
Michael Steenbeek
4c01a308f3
Fix #11644 : Powered launch with blocks not available ( #11646 )
2020-05-05 18:18:42 +02:00
Gymnasiast
cab9fdbe9c
Fix parameter name to apply_non_stop_block_brake()
2020-05-05 17:46:46 +02:00
blackhand1001
7fab48e2eb
Create constant for BLOCK_BRAKE_BASE_SPEED
2020-05-05 17:35:34 +02:00
Michael Steenbeek
f3c0476673
Create constants for both tile element limits ( #11645 )
2020-05-05 15:40:33 +02:00
Fred-1044276
b03fbc086d
Fix #11450 : Can't open rides, even with "Enable all track pieces"
2020-05-05 11:16:24 +02:00
Tulio Leao
b1b103b961
Add missing 'y' in "TrainReadyToDepart" ( #11636 )
2020-05-04 22:39:14 -03:00
hdpoliveira
bb07d84314
Implement Train class with iterators ( #11486 )
2020-05-04 19:43:25 -03:00
Michael Steenbeek
d3448a7a40
Convert STR_NONE and STR_VIEWPORT to constexpr, remove C cast ( #11629 )
2020-05-04 19:41:25 -03:00
Michael Steenbeek
80933dc0cc
Fix #11002 : Rides list shows both red and green light activated ( #11622 )
2020-05-04 19:38:48 -03:00
Michael Steenbeek
ff46481453
Merge pull request #11628 from Gymnasiast/fix/11624
...
Fix #11624 and clean up loc_6B4F6B()
2020-05-04 23:27:46 +02:00
Michael Steenbeek
dfc2512dd5
Merge pull request #11631 from Gymnasiast/refactor/regs2
...
Remove usage of regs.(e)bp
2020-05-04 23:26:41 +02:00
Michael Steenbeek
2911d01185
Remove usage of regs.eax from UpdateTrackMotion() ( #11630 )
2020-05-04 23:22:17 +02:00
Gymnasiast
4ad38f14fc
Replace regs.(e)bp in vehicle_update_track_motion_mini_golf()
2020-05-04 18:46:35 +02:00
Gymnasiast
09955a0114
Remove regs.bp from UpdateTrackMotionForwards/Backwards
2020-05-04 18:46:35 +02:00
Gymnasiast
f88e1c03a0
Fix #11624 : Crash when testing ride with a ghost end-of-station
2020-05-04 17:46:12 +02:00
Gymnasiast
50c750e176
Clean up GetOriginElement()
2020-05-04 17:10:57 +02:00
Gymnasiast
923701e16b
Clean up metal supports in Junior RC drawing
2020-05-04 14:59:29 +02:00
Michael Steenbeek
b5fed0d592
Fix #11548 : Operating mode cheat does not allow changing modes ( #11610 )
2020-05-03 12:04:46 -03:00
Tulio Leao
282c7ff6d6
Merge pull request #11598 from tupaschoal/more-coordz-2
...
Favour CoordsXYZ for ride related functions
2020-05-03 10:20:55 -03:00
Ted John
2c153477a6
Add network.currentPlayer plugin API ( #11607 )
2020-05-03 13:53:36 +01:00
Hielke Morsink
ec0a734511
Fix: Silent replay record message gets overwritten ( #11600 )
2020-05-02 11:40:21 -03:00
Tulio Leao
a808ded45a
Favour usage of CoordsXY objects instead of individual variables
2020-05-02 11:07:18 -03:00
Tulio Leao
1872152df9
Make window_ride_construction_update_state() use CoordsXYZ*
2020-05-02 11:07:18 -03:00
Tulio Leao
02a5c10a58
Make place_provisional_track_piece() use CoordsXYZ
2020-05-02 11:07:18 -03:00
Tulio Leao
7c82daec25
Use CoordsXYZD in window_ride_construction_mouseup_demolish_next_piece()
2020-05-02 11:07:18 -03:00
Tulio Leao
28b3ac1693
Make track_block_get_previous() use CoordsXYE
2020-05-02 11:07:18 -03:00
Tulio Leao
d58f3ec0b6
Make track_block_get_previous_from_zero() use CoordsXYZ
2020-05-02 11:07:17 -03:00
Tulio Leao
6203a5a20d
Make track_block_get_next_from_zero() use CoordsXYZ
2020-05-02 11:07:15 -03:00
Tulio Leao
1f7ef019fc
Merge pull request #11580 from IntelOrca/plugin/custom-tool
...
[Plugin] Implement custom tool API
2020-05-02 08:28:59 -03:00
Ted John
e3016cdc03
Fix plugin game action hook player and result ( #11587 )
...
- Player was not being attached to the game action event args.
- OpenRCT2 was looking for error on the event args object rather than the result sub object.
2020-05-02 11:45:05 +01:00
Ted John
e5b05747d3
Apply code review refactors
2020-05-02 11:38:33 +01:00
Ted John
be0e4a2869
Implement custom tools
2020-05-02 11:08:43 +01:00
Ted John
0ca52e58fd
Implement tile selection API
2020-05-02 11:08:43 +01:00
Duncan
32eb7071a1
Fix #11550 : Use std::nullopt instead of empty brace ( #11595 )
...
This is technically a gcc bug from the looks of it but since std::nullopt is slightly easier to read I've gone through the codebase and used that over empty braces. In addition noticed a mistake on the scripting viewport get widgetIndex function where it would return an incorrect widgetIndex.
2020-05-02 10:09:12 +02:00
hdpoliveira
d78638c17a
Part of #9473 : Create Vehicle::TrainReadToDepart ( #11593 )
...
Converted from train_ready_to_depart
2020-05-02 00:41:11 -03:00
hdpoliveira
3b099f52d0
Part of #9473 : Create Vehicle::SimulateCrash
...
Converted from vehicle_simulate_crash
2020-05-02 00:00:09 -03:00
hdpoliveira
0fdc6531dc
Part of #9473 : Create Vehicle::CrashOnLand
...
Converted from vehicle_crash_on_land
2020-05-02 00:00:09 -03:00
hdpoliveira
7c291c330e
Part of #9473 : Create Vehicle::CrashOnWater
...
Converted from vehicle_crash_on_water
2020-05-02 00:00:08 -03:00
hdpoliveira
efbdbee3fa
Part of #9473 : Create Vehicle::CloseRestraints
...
Converted from vehicle_close_restraints
2020-05-01 23:29:31 -03:00
hdpoliveira
f129fb55af
Part of #9473 : Create Vehicle::OpenRestraints()
...
Converted from vehicle_open_restraints
2020-05-01 23:29:31 -03:00
hdpoliveira
bfe5366dbe
Part of #9473 : Create Vehicle::UpdateVelocity
...
Converted from update_velocity
2020-05-01 22:04:17 -03:00
hdpoliveira
48045950c1
Part of #9473 : Create Vehicle::CheckAndApplyBlockSectionStopSite
...
Converted from check_and_apply_block_section_stop_site
2020-05-01 22:04:17 -03:00
hdpoliveira
dd8633499a
Part of #9473 : Create Vehicle::UpdateTrackMotionUpStopCheck
...
Converted from vehicle_update_track_motion_up_stop_check
2020-05-01 22:04:17 -03:00
hdpoliveira
55aae04ff5
Part of #9473 : Create Vehicle::Claxon
...
Converted from vehicle_claxon
2020-05-01 22:04:17 -03:00
hdpoliveira
24ec443ff5
Vehicle update 9473 05 ( #11586 )
...
* Part of #9473 : Create Vehicle::CanDepartSynchronised
Converted from vehicle_can_depart_synchronised
* Part of #9473 : Create Vehicle::ReverseReverserCar
Converted from vehicle_reverse_reverser_car
* Part of #9473 : Create Vehicle::UpdateReverserCarBogies
Converted from vehicle_update_reverser_car_bogies
* Part of #9473 : Create Vehicle::UpdateHandleWaterSplash
Converted from vehicle_update_handle_water_splash
2020-05-01 21:50:40 -03:00
hdpoliveira
4649b573f4
Part of #9473 : Create Vehicle::GetGForces
...
Converted from vehicle_get_g_forces
2020-05-01 19:49:03 -03:00
hdpoliveira
acc6b9f878
Part of #9473 : Create Vehicle::SetMapToolbar
...
Converted from vehicle_set_map_toolbar
2020-05-01 19:49:02 -03:00
hdpoliveira
e8c95e6e3a
Part of #9473 : Create Vehicle::IsUsedInPairs
...
Converted from vehicle_is_used_in_pairs
2020-05-01 19:49:01 -03:00
Tulio Leao
21beb2368e
Merge pull request #11579 from hdpoliveira/vehicle_update_9473_03
...
Vehicle update 9473 03
2020-05-01 19:09:45 -03:00