Commit Graph

20692 Commits

Author SHA1 Message Date
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
X123M3-256 deca5a3881
Add "Single Rail Roller Coaster" ride type 2021-01-06 21:10:15 +01:00
skdltmxn e1cfa8693f Use c_str() instead of data() 2021-01-07 04:28:19 +09:00
Michael Steenbeek 764ab7f113
Rename dword_F64EB0 to marker 2021-01-06 19:53:16 +01:00
skdltmxn c093a50f3f Refactor to use string_view more properly 2021-01-07 01:52:10 +09:00
OpenRCT2 git bot 017f7ef9e4 Merge Localisation/master into OpenRCT2/develop 2021-01-06 04:21:33 +00:00
ζeh Matt e6d1fcce5d
Merge pull request #13698 from ZehMatt/perf/tweening
Improve performance of tweening entities between ticks
2021-01-05 19:47:24 +02:00
ζeh Matt 12c6854a3e
Fix #13701: Use correct max zoom level for peeps on invalidation 2021-01-05 18:24:52 +01:00
Matt f77076def6
Apply review suggestions 2021-01-05 19:19:02 +02:00
Michael Steenbeek cdafc9c8ec
Fix PPA builds (hopefully) 2021-01-05 17:32:25 +01:00
ζeh Matt fbd001517e
Merge pull request #13699 from ZehMatt/refactor/paint-arrange
Collapse function template in PaintSessionArrange
2021-01-05 09:24:36 +02:00
OpenRCT2 git bot fd37700433 Merge Localisation/master into OpenRCT2/develop 2021-01-05 04:20:44 +00:00
Matt 876b55727e
Correctly remove entities from tweening list when object is removed 2021-01-05 01:35:18 +02:00
Matt b1561001b7
Apply review suggestions 2021-01-05 01:18:25 +02:00
Matt 9c88cc7589
Collapse function template in PaintSessionArrange 2021-01-05 01:02:06 +02:00
Matt c442ef6207
Improve performance of tweening entities between ticks 2021-01-05 00:26:58 +02:00
Michael Steenbeek 48c8e66d7b
Put the 0.3.2 changelog into debian/changelog
The Ubuntu updater has gained the ability to show changelogs in recent years, so time to replace the dummy with an actual changelog.
2021-01-04 20:44:36 +01:00