Commit Graph

23585 Commits

Author SHA1 Message Date
Gymnasiast 4c4a20af81
Load Spiral Slide images from the object 2022-05-14 23:48:36 +02:00
LordOfLunacy fa71bbc1b2 Implement requested changes
- Change the GuestPathfinder object to a smart pointer

 - Improved function signatures

 - Added javadoc comments to the abstract base class

 - Converted pointers to references in  pathfinding function calls
2022-05-14 15:28:24 -04:00
Hielke Morsink 4857cabca2
Add dependency check action 2022-05-14 20:36:21 +02:00
frutiemax 9971ca15ad
Use ride->GetRideTypeDescriptor() in Maze related game actions 2022-05-14 18:19:00 +00:00
Ted John 3acec45f97
Mark plugins that errored in main as started (#17207)
This is to make sure plugin still runs stop / clean up code before it is unloaded. Otherwise context menu items etc. are not removed.
2022-05-14 15:44:35 +01:00
Ted John 16585ecaf2
Merge pull request #17192 from IntelOrca/fix/13997-network-track-design
Fix #13997: Placing a track design interferes with other players building a ride

A bit of a hack due to track design placement code using and sharing global variables with the UI code. Eventually this will change, when windows get upgrade to classes and when NTDF is implemented.
2022-05-14 11:43:42 +01:00
LordOfLunacy 428f7bd9ec Fix formatting
You can tell I'm new at this
2022-05-13 20:41:59 -04:00
LordOfLunacy 68fa825524 Fixed constructor goof
4th times the charm?
2022-05-13 20:39:42 -04:00
LordOfLunacy 4436289ff7 Add appropriate tags to functions 2022-05-13 20:25:58 -04:00
LordOfLunacy eddda64e20 Fixed formatting 2022-05-13 19:59:47 -04:00
LordOfLunacy 45013a90cc Part of pathfinding rework 2022-05-13 19:18:46 -04:00
Hielke Morsink 07520ce0ba
Fix #17200: Format error in changelog 2022-05-12 23:53:08 +02:00
Michael Steenbeek 5ccf04b2e5
Fix segfault when extracting files from the GOG installer 2022-05-12 23:38:23 +02:00
OpenRCT2 git bot 01a0f0feab Merge Localisation/master into OpenRCT2/develop 2022-05-11 04:11:52 +00:00
Ted John 0b9184b99b Avoid overwriting _currentTrackPieceDirection when placing TD 2022-05-10 22:41:09 +01:00
Hielke Morsink 33978451cd
Remove unused preprocessor placeholder 2022-05-10 23:27:19 +02:00
Matt aea88b7320 Fix #13997: Placing track design influences clients ride construction 2022-05-10 21:58:51 +01:00
Ted John b441cf768c
Log SDL2 version on startup 2022-05-10 21:54:04 +02:00
Michael Steenbeek db900b12db
Create enum for codepages (#17181) 2022-05-10 12:55:39 +02:00
Hielke Morsink 8d5116419d
Merge pull request #17183 from Broxzier/bugfix/plug-in-crashes 2022-05-10 00:02:07 +02:00
Michał Janiszewski 950ea807f6
Merge pull request #15914 from janisozaur/remove-vendored-gtest
Remove support for vendored gtest
2022-05-09 14:50:50 -07:00
Michał Janiszewski 500190ff25 Disable tests on bionic 2022-05-09 23:25:30 +02:00
Michał Janiszewski 16c4bfb416 Update Bionic images in CI to ones with gtest 2022-05-09 23:05:09 +02:00
Michał Janiszewski 1670aa759f Remove support for vendored gtest
Originally implemented only to satisfy the (somewhat dubious) claim of
gtest about the necessity to provide your own copy. The original claim
got removed here:
5437926b22
2022-05-09 23:04:53 +02:00
Hielke Morsink a67e805e60
Log messages with new LogPluginInfo function 2022-05-09 21:17:55 +02:00
Hielke Morsink dcec3fb63f
Remove misplaced 'h' from error message 2022-05-09 14:34:48 +02:00
Michał Janiszewski 433cfef5c7
Merge pull request #16367 from janisozaur/googletest-20220102
Update GoogleTest version
2022-05-08 21:09:50 -07:00
Hielke Morsink 75caf23b84
Add changelog entry 2022-05-08 23:53:44 +02:00
Micha Janiszewski dfd5b4e775 Update MSVC project to use correct Google Test library 2022-05-08 22:22:36 +02:00
Michał Janiszewski d81b36e16f Update GoogleTest version 2022-05-08 22:22:03 +02:00
Hielke Morsink c404e31e9a
Increment plug-in API version 2022-05-08 20:10:01 +02:00
Hielke Morsink 9e4ed1e85a
Make property messages more consistent 2022-05-08 20:07:45 +02:00
Hielke Morsink 2bf5f1040a
Sanitize all track element properties 2022-05-08 19:54:33 +02:00
Hielke Morsink 813618d30b
Print message when attempting to set invalid property
Added for the previously track setters, and all surface element properties.
2022-05-08 15:35:34 +02:00
Karst b08c87c0c4
Make changelog the same order as previous editions
Modifies the changelog to be the same order as all other changelogs. So people can add onto that instead.
2022-05-08 13:13:20 +02:00
Michał Janiszewski 4084db6ffc
Merge pull request #16887 from janisozaur/msvc-arm
MSVC ARM64
2022-05-08 00:33:41 +02:00
Michael Steenbeek 493c97246c
Merge pull request #16952 from karst/reorg-objsel
Make "Object Selection" order more coherent
2022-05-08 00:02:12 +02:00
Michał Janiszewski 545bb6379f Disable ARM64 MSVC job for now
It was found in testing it takes too long to be included in default CI
configuration and needs to be disabled until a solution to that is
found, such as
* https://github.com/OpenRCT2/OpenRCT2/issues/16895
* https://github.com/OpenRCT2/OpenRCT2/pull/15997
2022-05-07 23:49:38 +02:00
Michał Janiszewski cca617d60e Extend CI matrix for MSVC with ARM64 2022-05-07 23:48:27 +02:00
Michał Janiszewski 0f7d46473f Skip building g2 with ARM64 openrct2 MSVC build 2022-05-07 23:48:27 +02:00
Michał Janiszewski 3bc5c6c563 Introduce MSVC ARM64 platform 2022-05-07 23:48:27 +02:00
Michał Janiszewski 81203598fd Fix BitSetTests for ARM64 MSVC targets 2022-05-07 23:48:27 +02:00
Michał Janiszewski f3a24dbfef Only allow breakpad to be used on x86-like targets 2022-05-07 23:48:26 +02:00
Michał Janiszewski 4b810d9f46 Only use x86 extensions on x86-like targets 2022-05-07 23:47:54 +02:00
Michał Janiszewski feb89d1c0e Unify how Breakpad gets used in the project 2022-05-07 23:47:53 +02:00
Gymnasiast 0708b82430
Remove unnecessary code, check bounds and restore newline 2022-05-07 23:39:59 +02:00
Sebastian Flinck Lindström 8fe124b1dd
Close #13966: Sort Music Style dropdown by name 2022-05-07 20:51:51 +00:00
Hielke Morsink 4b081a8937
Fix: Crash when plug-in attempt to set invalid property 2022-05-07 20:33:52 +02:00
Michael Steenbeek 29d123b79d
Minor code refactor aimed at optimization code (#17055)
* Add const ref, remove excess .c_str(), push_* -> emplace_* and rewrite constructors

* Using std::move(), correct clear strings, better use '= default;', modernize make_* and replace heavy strlen

* Fix: Main thread can reallocate data of worker threads

Co-authored-by: Hielke Morsink <hielke.morsink@gmail.com>
2022-05-07 20:18:09 +02:00
Karst cfa18bd113 Change Object Selection order
Might take a little bit for people to get used to. But it's a lot more coherent and makes more sense.
2022-05-07 19:55:58 +02:00