Commit graph

20608 commits

Author SHA1 Message Date
Gymnasiast
19d113ae86
Reduce code duplication 2021-01-15 17:34:47 +01:00
Gymnasiast
4fcc86f990
Fix #13236: New ride type appears as new vehicle type in research 2021-01-15 17:21:29 +01:00
Michael Steenbeek
5cd3014334
Import SV6 tile elements by x/y 2021-01-15 16:23:28 +01:00
Michał Janiszewski
f1a5e62440
Fix #13816: Compilation failure on Launchpad (#13837) 2021-01-14 23:19:10 +01:00
ζeh Matt
78f6e3e8e3
Fix replays not failing when last tick is the cause (#13834)
* Fix replays never failing

* Change replay dependency meta

* Stop replay when state mismatches
2021-01-14 13:48:12 +00:00
ζeh Matt
f1ea718ded
Fix #13832: Game action position is invalid on opening/closing a ride 2021-01-14 10:13:32 +01:00
OpenRCT2 git bot
baaf686eef Merge Localisation/master into OpenRCT2/develop 2021-01-14 04:31:10 +00:00
LRFLEW
601fa5629b
Fix Window IDX enum names 2021-01-13 23:00:35 +01:00
Duncan
0c91ed9bdd
Fix #13755. Regression causing entity position corruption (#13828)
When switching from variable frame to fixed frame the entity positions could become corrupted. This would cause to end up being stuck inside of tiles that they could not path out of. When switching from normal speed to hyperspeed the rendering switches from variable to fixed frame. Therefore entitys could end up corrupted when enabling hyperspeed. Due to the way the corruption occured a hang or crash could also occur.
2021-01-13 17:29:30 +00:00
OpenRCT2 git bot
5c33773807 Merge Localisation/master into OpenRCT2/develop 2021-01-13 04:31:57 +00:00
Michael Steenbeek
bf63a562ae
Fix #11438: Crash when decreasing map size 2021-01-12 22:04:22 +01:00
Michael Steenbeek
93b7b86ad4
Merge pull request #13756 from IntelOrca/refactor/guest-list-window
Refactor guest list window to a class
2021-01-12 20:01:47 +01:00
Michael Steenbeek
830d2426bd
Import RCT1 tile elements by x/y (#13740)
* Import RCT1 tile elements by x/y

* Clean up wall import

* Move tile pointers creation to a separate function and to heap

* Create class for tile pointer index
2021-01-12 17:53:58 +00:00
OpenRCT2 git bot
e51a048add Merge Localisation/master into OpenRCT2/develop 2021-01-12 04:28:33 +00:00
Ted John
1723161503 Optimise guest list sort
Format all guest names in advance and store them in a list for sorting. This reduces the number of calls to format_string considerably.
2021-01-11 22:41:42 +00:00
Ted John
3e75f23970 Refactor guest list window to a class 2021-01-11 21:56:48 +00:00
skdltmxn
7ef4d7762f
Refactor to avoid unnecessary copies (#13736)
* Refactor to avoid unnecessary copies

* Fix dangling references
2021-01-11 18:14:15 -03:00
Ted John
b58038a23f
Fix #13758: Cheat menu's No Money Error 2021-01-11 20:39:58 +01:00
ζeh Matt
cb5b1fb9ef
Eliminate copying of paint_struct, initialize data in-place 2021-01-11 19:37:39 +01:00
OpenRCT2 git bot
e2021fcbce Merge Localisation/master into OpenRCT2/develop 2021-01-11 04:29:22 +00:00
Matthias Mailänder
818b2a5239
Find the system wide installed Discord RPC library. (#13658) 2021-01-11 00:02:22 +01:00
Michael Steenbeek
60d1e94046
Close #7059: Implement landscape doors on Ghost Train (#13636)
* Implement landscape door updating

* Implement door drawing for Ghost Train

* Amend changelog and bump network version

* Apply review requests

* Always return default seat rotation for ride types with landscape doors

* Fix comment

* Update replays

Co-authored-by: duncanspumpkin <duncans_pumpkin@hotmail.co.uk>
2021-01-10 21:38:02 +00:00
Mathias Gibbens
b1e5a11bf3
Several more spelling fixes (#13752)
Signed-off-by: Mathias Gibbens <mathias@calenhad.com>

Co-authored-by: Mathias Gibbens <mathias@calenhad.com>
2021-01-10 18:23:35 +00:00
Duncan
d5ada2dca1
Remove type from SpriteBase (#13735)
* Move type field into sub structures

* Use type for misc_type

* Use type for l_type

* Rename to SubType

* Rename SpriteGeneric to MiscEntity

* Rename generic to misc

* Add extra nullptr checks for compilers that cant understand

* Make review changes

* Increment network version

* Update replays
2021-01-10 15:14:34 +00:00
Michał Janiszewski
d55bff7587
Merge pull request #10700 from janisozaur/benchsimulate
Add benchsimulate command
2021-01-10 14:17:20 +01:00
Michael Steenbeek
1da6ae6b51
Merge pull request #13710 from skdltmxn/refactor/string_view
Refactor/string view
2021-01-10 13:37:01 +01:00
ζeh Matt
011588b01e
Move window update out of variable frame updates (#13704) 2021-01-10 09:36:34 -03:00
Michał Janiszewski
deebd779a9 Address review comments for benchsimulate 2021-01-10 13:34:14 +01:00
Michał Janiszewski
a8c3ca72ed Update to new style casts 2021-01-10 13:34:14 +01:00
Michał Janiszewski
6a6e58c088 Update vcxproj 2021-01-10 13:34:14 +01:00
Michał Janiszewski
0410b37369 Provide more detailed stats about simulation performance 2021-01-10 13:34:14 +01:00
Aaron van Geffen
a3312547ae Add BenchUpdate.cpp to Xcode project. 2021-01-10 13:34:14 +01:00
Michał Janiszewski
a614c1ec05 Add benchsimulate command
Adds a new command, `benchsimulate`, that starts benchmarking
UpdateLogic() function.
2021-01-10 13:34:14 +01:00
Tulio Leao
a2de9cfc70
Merge pull request #12573 from NathanIkola/Fix12334
Refactor footpath_is_connected_to_map_edge
2021-01-10 09:22:08 -03:00
Ted John
d907c58a13
Start window refactor framework 2021-01-10 12:41:55 +01:00
OpenRCT2 git bot
ef6a80982a Merge Localisation/master into OpenRCT2/develop 2021-01-10 04:29:24 +00:00
Michael Steenbeek
3fe095b031
Add some extra fields to AppStream xml (#13741) 2021-01-10 00:29:22 -03:00
Mathias Gibbens
d26590c38e
Fix cmake compile_definitions edge case (#13732)
If cmake variables contain just empty strings, don't add them to
the compile definitions, as this can result in incorrect version
strings in the compiled program

Signed-off-by: Mathias Gibbens <mathias@calenhad.com>

Co-authored-by: Mathias Gibbens <mathias@calenhad.com>
2021-01-08 22:08:30 +01:00
skdltmxn
b0a8ebc808
Refactor to use push_back more efficient (#13726) 2021-01-08 20:59:55 +00:00
Mathias Gibbens
d53a94861d
Add some keywords to .desktop file 2021-01-08 21:23:29 +01:00
Mathias Gibbens
e4558f9447
Fix groff warnings in manpage 2021-01-08 21:22:54 +01:00
Mathias Gibbens
115c92996b
Fix spelling typos (#13730) 2021-01-08 20:13:00 +01:00
Berbe
d49f5576a0
Fix: CMake project (#13163) 2021-01-08 19:23:51 +01:00
Michael Steenbeek
a95033e55f
Remove unused function (#13724) 2021-01-08 00:49:40 +01:00
Basssiiie
1abb81ef81
Re-add 'edgesAndCorners' support for footpaths (#13720) 2021-01-07 19:15:23 +00:00
ζeh Matt
a6080b7996
Refactor code to dynamically add and remove viewports (#13687) 2021-01-07 19:06:49 +00:00
OpenRCT2 git bot
005bc3c360 Merge Localisation/master into OpenRCT2/develop 2021-01-07 04:23:49 +00:00
Michael Steenbeek
8a4e44be5e
Add missing ride types to JSON object loader 2021-01-06 22:30:55 +01:00
ζeh Matt
acf71315b5
Cleanup variables usage and initialize them 2021-01-06 22:29:40 +01:00
Gymnasiast
cd270df349
Bump network version 2021-01-06 21:25:49 +01:00