Commit Graph

21009 Commits

Author SHA1 Message Date
Ted John c8f31dea7f Process keyboard input events 2021-02-21 03:13:28 +00:00
Ted John 3339089235 Add more shortcuts 2021-02-21 03:13:28 +00:00
Ted John f009b9a804 Only handle release mouse buttons 2021-02-21 03:13:28 +00:00
Ted John ccae533978 Add input manager 2021-02-21 03:13:27 +00:00
Ted John b1eb975529 Re-add show change dialog 2021-02-21 03:13:27 +00:00
Ted John e5f263a0fc Get new manager showing in window 2021-02-21 03:13:27 +00:00
Ted John 28aead5cb5 Start work on new shortcut engine 2021-02-21 03:13:27 +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
Matt b613835756
Remove more duplicate code 2021-02-19 18:39:08 +02:00
Matt ffc2e7a0e7
Cleanup duplicate code 2021-02-19 18:28:09 +02:00
Matt c1767bc98b
Rename function and use std::swap 2021-02-19 18:17:15 +02:00
Matt 62a01fe043
Move tile inspector code into TileInspector namespace 2021-02-19 18:12:22 +02: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
Michael Steenbeek c5c21a7b56
Merge pull request #14021 from Gymnasiast/refactor/flat-ride-pieces
Refactor flat ride track pieces
2021-02-18 18:54:55 +01: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
duncanspumpkin f0261b4dc0
Update replays 2021-02-18 17:50:19 +01:00
Gymnasiast 1b964c0f2e
Refactor flat ride track pieces 2021-02-18 17:50:19 +01:00
Michael Steenbeek c08ef30bfe
Add #11484 to changelog 2021-02-18 15:22:06 +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
majchrzamemil 903bde7299
Fixed xcode configuration for TileBaseElement (#36)
Signed-off-by: Emil Majchrzak <majchrzakemil@gitlab.com>

Co-authored-by: Emil Majchrzak <majchrzakemil@gitlab.com>
2021-02-15 12:44:37 +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
OpenRCT2 git bot c0839e1b88 Merge Localisation/master into OpenRCT2/develop 2021-02-12 04:05:48 +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
Michael Steenbeek f99c35d88f
Merge pull request #14055 from Gymnasiast/fix/13235
Fix #13235: NPE in fix_duplicated_banners()
2021-02-10 18:00:53 +01: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