Commit Graph
16148 Commits
Author SHA1 Message Date
duncanspumpkin d2fdf0917b Remove static casts and use union 2021-02-24 08:08:59 +00:00
duncanspumpkin 11da10971f Reorg again to reduce casts 2021-02-24 08:00:38 +00:00
duncanspumpkin 9da6ba01bb Rename variables 2021-02-24 07:50:37 +00:00
duncanspumpkin 48e4a24fee Update naming 2021-02-21 18:06:49 +00:00
duncanspumpkin b9173642ba Rework how entity export works to allow for easier changes in future 2021-02-21 12:43:51 +00:00
Matt 5b42fa0dbb Simplify velocity acceleration 2021-02-21 09:59:05 +02:00
ζeh Matt d3cae77230 Merge pull request #14129 from ZehMatt/refactor/UpdateSwingingCar
Refactor UpdateSwingingCar function
2021-02-21 09:58:15 +02:00
Matt a232749b2f Refactor UpdateSwingingCar function 2021-02-21 09:30:17 +02:00
Ted John e28c23f10f Fix regression in CreateSocket (#14131) 2021-02-21 03:58:34 +00:00
Michael Steenbeek 345c436f19 Fix #14119: Illegal array access in vehicle_move_info_valid() 2021-02-20 22:53:40 +01:00
Michał Janiszewski 9aef29361f Default-initialise more fields (#14130)
Doesn't really fix any particular issue, but adds more defaults to
fields in classes where other defaults are already present
2021-02-20 19:40:32 +01: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 e11304f1df Fix #14111, #14112: Strange behaviour when selecting a new scenario 2021-02-19 09:37:06 +01: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 785fb153db Merge pull request #14088 from IntelOrca/improve-network-messages
Improve network messages and logging
2021-02-18 13:36:44 +00:00
Geoff B 0532ebab7a Fix #14095: Holding down [-][+] buttons does not change number of circuits 2021-02-17 08:51:07 +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
Michael Steenbeek 962ef0c02b Fix #14066: NPE in window_top_toolbar_invalidate() 2021-02-12 18:48:38 +01:00
Michael Steenbeek 61536eb1f6 Fix #14073: NPE in InputUpdateTooltip 2021-02-12 18:36:58 +01: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
GymnasiastandIntelOrca 2aae1cb84e Fix #13235: NPE in fix_duplicated_banners()
Co-authored-by: IntelOrca <ted@brambles.org>
2021-02-10 15:14:46 +01:00
Ted John 1cb3330779 Fix #14042: Park Crashes whilst saving 2021-02-09 23:51:31 +00:00
Michał Janiszewski 41d09a2691 Merge pull request #14028 from janisozaur/ccache
Add ccache action to GitHub Actions
2021-02-09 23:12:43 +01:00
Michael Steenbeek 397512f4d3 Fix #14032: NPE in window_tile_inspector_scrollpaint() 2021-02-09 23:02:31 +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
Michał Janiszewski ec538e5e75 Extend Android, AppImage builds with ccache support 2021-02-09 20:26:28 +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