1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-17 03:53:07 +01:00
Commit Graph

20809 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
ζeh Matt
3f8386e122 Merge pull request #14128 from ZehMatt/refactor/vehicle-veloctiy
Simplify velocity acceleration
2021-02-21 10:20:36 +02: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
OpenRCT2 git bot
12ffca22a7 Merge Localisation/master into OpenRCT2/develop 2021-02-21 04:05:36 +00: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
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