Commit Graph

14478 Commits

Author SHA1 Message Date
Ted John 5e427413a6 Refactor list view so we can access it from ScWidget 2020-05-09 17:24:15 +01:00
Ted John faf59598e5 Start working on exposing ListViewWidget 2020-05-09 17:24:15 +01:00
Ted John 45a1184b0e Implement selection 2020-05-09 17:24:15 +01:00
Ted John 928bba9795 Implement sorting 2020-05-09 17:24:15 +01:00
Ted John 096de3ccc8 Implement list view 2020-05-09 17:24:15 +01:00
Ted John 1e2cf9f77b Fix first widget being pressed on tabless plugin windows 2020-05-09 16:07:04 +01:00
Hummel95 aac55d2cc0
Fix #10876: Peeps spawns can stack and are not removable (#11155) 2020-05-09 16:17:08 +02:00
Ted John be9f3e1f66
[Plugin] Ensure modified entities and tile elements are invalidated (#11682) 2020-05-09 16:13:56 +02:00
Tulio Leao 16c5960e99
Merge pull request #11635 from IntelOrca/plugin/ride-game-actions
[Plugin] Add named parameters for ride related game actions
2020-05-09 10:46:41 -03:00
Ted John e7a028b3b8 Add TODO for Visit track design 2020-05-09 14:31:27 +01:00
Ted John 6db16ffcad
Implement showTextInput plugin API (#11678) 2020-05-09 14:18:50 +01:00
Ted John 45d32bec68
[Plugin] Add API for taking captures and giant captures of the park 2020-05-09 13:55:24 +02:00
Michael Steenbeek 3d3dbde642
Merge pull request #11668 from IntelOrca/plugin/peep-stats
[Plugin] Add more stats to Peep interface
2020-05-09 13:53:36 +02:00
Ted John 7b8ffdb865 Refactor peep.intensity into new strict struct 2020-05-09 12:37:51 +01:00
Ted John fa0dd4e0d6 Add more peep stats for plugins 2020-05-09 12:37:51 +01:00
hdpoliveira 650af7d943
Part of #9473: Create Vehicle::TryReconnectBoatToTrack() (#11619)
Converted from loc_6DA9F9
2020-05-09 13:32:22 +02:00
Michael Steenbeek 3ceecb33f0
Fix #11676: Spiral Roller Coaster has regular lift hill available (#11681) 2020-05-09 13:23:55 +02:00
Tulio Leao 373776f3db
Address review comments on #11598 2020-05-09 12:35:36 +02:00
Ted John 49e062ae5d
Merge pull request #11665 from IntelOrca/plugin/more-object-fields
[Plugin] Split object identifier and add more ride object fields
2020-05-08 20:45:30 +01:00
Ted John 0ebdd93e00 Fix #11667: Memory dumps being generated every time the game is closed 2020-05-08 15:55:19 +01:00
Ted John 59ab39178f Add most fields from RideObject struct 2020-05-08 15:28:48 +01:00
Ted John 21f55eaeeb Handle no object for context.getObject correctly 2020-05-08 15:28:48 +01:00
Ted John 46d69126ea Split identifier and legacyIdentifier on Object 2020-05-08 15:28:48 +01:00
Aryaman Singh 3417c10a61
Part of #11569: gfx_draw_string_right() w/ ScreenCoordsXY (#11654)
Co-authored-by: Tulio Leao <tupaschoal@gmail.com>
2020-05-07 22:27:53 -03:00
Michael Steenbeek 8660bbe9d7
Fix #1013: negative length in Ride window (#11651) 2020-05-06 11:32:10 +02:00
Tulio Leao 5271e06abf
Merge pull request #11621 from Gymnasiast/feature/7648-bis
Add drawing code for more APVC, Water Coaster and B&M pieces
2020-05-05 23:14:53 -03:00
Michael Steenbeek d10f9ebf2a
Use named flags in calls to sub_6C683D() (#11650) 2020-05-05 23:11:38 -03:00
Ted John ec7b52d555 Add action and args to GameActionResult 2020-05-05 18:00:56 +01:00
Ted John 6c8d199831 Add parameter visitors to ride related actions 2020-05-05 18:00:56 +01:00
Michael Steenbeek 4f6f3feeb2
Merge pull request #11601 from Broxzier/bugfix/corrupt-elem-type-typescript
Add missing "openrct2_corrupt" element type
2020-05-05 18:53:08 +02:00
Michael Steenbeek 097b90a3db
Fix #11640: Object shows with blank description (#11641) 2020-05-05 18:49:58 +02:00
Michael Steenbeek 362ea7bbc0
Fix #11455: Object Selection window cuts off scenery names (#11639) 2020-05-05 18:19:30 +02:00
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
Hielke Morsink b39c673456 Introduce constant MAX_ELEMENT_HEIGHT 2020-05-05 11:35:42 +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
Hielke Morsink f88951eb33 Add isHidden field to plug-in TileElements
With this field, plug-in creators are encouraged to use `isHidden` rather than spawning corrupt elements to hide other tile elements, and their scripts won't need updating when `isHidden` becomes a real field that does not alter anything other than the element itself.
2020-05-05 00:16:09 +02: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