1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-23 23:04:36 +01:00
Commit Graph

7257 Commits

Author SHA1 Message Date
Matt
965041b437 Remove direct access to DirectionX and DirectionY 2021-02-21 09:52:33 +02:00
Matt
2bb5bb9988 Add getter and setter for destination in Peep 2021-02-21 09:52:32 +02:00
Matt
ed4d8b4552 Add getter and setter for location in SpriteBase 2021-02-21 09:52:32 +02:00
Matt
a2ebec8676 Add multiply and divide to coordinate components 2021-02-21 09:52:32 +02:00
Ted John
e7adf19f62 Merge pull request #14059 from IntelOrca/improve-viewport-filter-flags
[Plugin] Add optional filter to custom tools
2021-02-19 20:33:27 +00:00
Michael Steenbeek
2379c7c9a6 Bump network version 2021-02-19 09:36:45 +01:00
Michael Steenbeek
7274c6a7e7 Remove some unused symbols 2021-02-18 21:15:50 +01:00
Ted John
f7bbaed7f5 Increment plugin API version 2021-02-18 18:10:29 +00:00
Ted John
762b6ee816 Refactor viewport interaction flags and add plugin API 2021-02-18 18:10:29 +00:00
Ted John
27013d147a Invalidate viewport when moving without scrolling 2021-02-18 18:10:29 +00:00
Gymnasiast
8968dd2274 Apply Duncan's request 2021-02-18 17:53:30 +01:00
Gymnasiast
81fbe27dcb Guard against accessing non-existant ride types 2021-02-18 17:50:20 +01:00
Gymnasiast
92dc3f4aa9 (Try to) make proximity track type calculation more robust 2021-02-18 17:50:19 +01:00
Gymnasiast
a28c22866c Remove stray semicolon 2021-02-18 17:50:19 +01:00
Gymnasiast
1b964c0f2e Refactor flat ride track pieces 2021-02-18 17:50:19 +01:00
Ted John
1523597b50 Fix test failures 2021-02-16 20:25:11 +00:00
Ted John
3f5698b1e0 Fix REPL write line on Linux 2021-02-16 20:24:51 +00:00
Ted John
05cb106ee7 Improve advertise messages 2021-02-16 20:24:50 +00:00
Ted John
c30e1f083b Improve network console messages 2021-02-16 20:24:50 +00:00
Michał Janiszewski
882d3d6356 Merge pull request #14096 from janisozaur/tileelembase
Move TileElementBase to its own file
2021-02-15 13:12:58 +01:00
ζeh Matt
90a86cd5f3 Merge pull request #14081 from ZehMatt/refactor/ReadArray
Refactor IStream::ReadArray to return unique_ptr
2021-02-15 00:50:10 +02:00
Michał Janiszewski
cef1efea44 Move TileElementBase to its own file 2021-02-14 21:28:02 +01:00
Michael Steenbeek
6e20f41d3c Fix #13688: invalid access to _objectSelectionFlags 2021-02-12 23:06:05 +01:00
Duncan
bcc2fbf095 Reduce use of naked new and delete (#14084) 2021-02-12 20:20:51 +00:00
Matt
c30bd1266f Refactor IStream::ReadArray to return unique_ptr 2021-02-12 19:30:53 +02:00
ζeh Matt
34b1506c5d Fix #14058: Ride entry or exit can not be built in multiplayer (#14064) 2021-02-12 15:54:32 +00:00
Duncan
14cca95fec Fix #14067: Nullptr exception in vehicle measurement code 2021-02-11 09:49:13 +01:00
Duncan
fe8b8280e8 Fix #7772. Check for vehicles using an object when setting inuse (#14056)
* Fix #7772. Check for vehicles using an object when setting inuse

* Update changelog
2021-02-10 18:14:23 +00:00
Gymnasiast
841d6a5f24 Avoid truncating banner index; check for NULL 2021-02-10 15:22:49 +01:00
Gymnasiast
2aae1cb84e Fix #13235: NPE in fix_duplicated_banners()
Co-authored-by: IntelOrca <ted@brambles.org>
2021-02-10 15:14:46 +01:00
Michael Steenbeek
f75a48d8dc Merge pull request #14034 from Gymnasiast/fix/12939
Fix #12939: divide-by-0 in Vehicle::UpdateMotionDodgems()
2021-02-09 22:18:49 +01:00
Gymnasiast
25b26e769d Rename ebx to momentum 2021-02-09 20:32:05 +01:00
Michael Steenbeek
7744458cc8 Fix #12861: Divide-by-0 in UpdateTrackMotionMiniGolf
This fix had already been applied to UpdateTrackMotionPoweredRideAcceleration(), but not here.
2021-02-09 20:02:15 +01:00
Michael Steenbeek
0a8cfe75b0 Merge pull request #13969 from IntelOrca/plugin/title-seq
[Plugin] Add APIs for editing title sequences
2021-02-09 19:56:16 +01:00
Gymnasiast
45464cddeb Fix #12939: divide-by-0 in Vehicle::UpdateMotionDodgems() 2021-02-09 19:13:38 +01:00
Matt
7d517caced Move peep pickup test into Peep::CanBePickedUp 2021-02-09 00:31:29 +02:00
Ted John
17450c236e Increment plugin API and update changelog 2021-02-08 22:28:59 +00:00
Ted John
477677775f Fix crash if save does not exist 2021-02-08 22:27:28 +00:00
Ted John
129d85fa57 Implement title sequence playing 2021-02-08 22:27:28 +00:00
Ted John
d2a97ab43c Implement scenario select window 2021-02-08 22:27:28 +00:00
Michael Steenbeek
27b7657d1d Merge pull request #13998 from ZehMatt/refactor/tileelementsview-4
Use TileElementsView and minor cleanups
2021-02-08 22:18:27 +01:00
Ted John
17f4f3aaf8 Refactor text input window to class 2021-02-07 22:36:31 +01:00
Gymnasiast
fedfe7d166 Use track_type_t in RideRatingCalculationData 2021-02-07 22:08:11 +01:00
spacek531
fc1fd60dfc change track type in import/export 2021-02-07 22:07:25 +01:00
spacek531
12697e9893 fix ratings not being calculated? 2021-02-07 22:07:25 +01:00
spacek531
ea6fdc4708 fix piece height 2021-02-07 22:07:24 +01:00
Cory Sanin
456202b0f5 Feature: Use allowed_hosts when creating listening socket 2021-02-06 16:47:56 +01:00
Ted John
fe70cf26a7 Fix #13933: Clients do not run server plugins 2021-02-05 23:27:15 +01:00
Matt
8bfda5cab1 Use correct condition 2021-02-05 20:08:51 +02:00
Matt
35e52acd7d Remove unused variable 2021-02-05 18:41:20 +02:00