Commit Graph
22658 Commits
Author SHA1 Message Date
Duncan 667f3e856d Merge pull request #16439 from duncanspumpkin/fix_16276
Fix #16276. Paths on trackdesigns not connecting on placement
2022-01-15 15:14:54 +00:00
Duncan 7e46427059 refactor ride track groups to use new bitset (#16172) 2022-01-15 07:50:00 +00:00
GalBr b69448d075 Refactor MazeConstruction window to class (#16307) 2022-01-15 07:41:24 +00:00
duncanspumpkin 81b490b0bc Fix #16276. Paths on trackdesigns not connecting on placement 2022-01-15 07:11:07 +00:00
Duncan 7fff8fae7a Convert back to utf8 strings in Path functions (#16425) 2022-01-11 19:34:33 +00:00
Hielke Morsink e33d71346a Prevent underground view during title sequence 2022-01-11 17:31:01 +01:00
Hielke Morsink 1d5c0361b5 Consistently shift 8-byte constants by widget indices 2022-01-10 23:26:31 +01:00
Hielke Morsink 1085a30cfd Merge pull request #16412 2022-01-10 16:04:25 +01:00
Michał JaniszewskiandTulio Leao 4a36520ba2 Fix #16408: Report extended version information (#16413)
* Fix #16408: Report extended version information

* Update distribution/changelog.txt

Co-authored-by: Tulio Leao <tupaschoal@gmail.com>

Co-authored-by: Tulio Leao <tupaschoal@gmail.com>
2022-01-10 06:52:39 +00:00
Michał Janiszewski 9b6040c590 Extend reporting of curl failures (#16410) 2022-01-09 19:53:40 -03:00
Hielke Morsink 4494eb3949 Ensure parks are not paused in title sequence 2022-01-09 22:11:09 +01:00
Hielke Morsink 5020f993b9 Do not skip .park files in save list 2022-01-09 21:58:38 +01:00
Hielke Morsink 2bb9dbe8c1 Fix: Title Sequence cannot load .park files 2022-01-09 21:48:11 +01:00
Michael Steenbeek 939ddb4813 Merge pull request #16399 from Gymnasiast/refactor/more-platform-functions-2
C++-ify most path handling
2022-01-09 13:29:54 +01:00
OpenRCT2 git bot c8f037ba7d Merge Localisation/master into OpenRCT2/develop 2022-01-09 04:09:35 +00:00
Michael Steenbeek 788697a7c1 Use static constexpr const for image ids 2022-01-08 23:28:29 +00:00
GalBrandTulio Leao 151882c279 Fix #16024: Wrap vehicle colors when there are more than 32 trains (#16323)
* Wrap vehicle_colours in TrackDesignAction

* Wrap the color presets in set_vehicle_colours_to_random_preset

* Increment network version

* Update changelog.txt

Co-authored-by: Tulio Leao <tupaschoal@gmail.com>
2022-01-08 19:04:34 -03:00
GalBrandTulio Leao fae4e6323f Fix #16234: Wrap vehicle colors when there are more than 32 trains (#16323)
* Wrap vehicle_colours in TrackDesignAction

* Wrap the color presets in set_vehicle_colours_to_random_preset

* Increment network version

* Update changelog.txt

Co-authored-by: Tulio Leao <tupaschoal@gmail.com>
2022-01-08 19:03:58 -03:00
Michał Janiszewski 47f126f1f0 Reduce locking of linenoise state (#16401)
https://github.com/OpenRCT2/OpenRCT2/pull/16388 introduced locking for
linenoise state, which turned out to be too greedy and would cause a
lock to be taken while calling a blocking `read`. This would result in
any writes to stall until something was read on the input.
2022-01-08 22:22:38 +01:00
Michael Steenbeek 4e17bb54b4 Remove now-unused RCT2 export functions 2022-01-08 20:00:30 +01:00
Gymnasiast 7bab05c66a Remove unused writeentirefile() 2022-01-08 19:07:48 +01:00
Gymnasiast 6bcf848b2f Use C++ filesystem for more file/path functions 2022-01-08 19:07:48 +01:00
Gymnasiast 10301507a9 Fix Android 2022-01-08 16:58:57 +01:00
Gymnasiast 919c73d030 C++-ify most path handling 2022-01-08 16:58:57 +01:00
Michael Steenbeek 8d7413f934 Merge pull request #16397 from Gymnasiast/refactor/more-platform-functions
Convert locale language/currency functions to new framework
2022-01-08 16:57:49 +01:00
Gymnasiast 3f22b60f94 Upgrade platform_get_locale_currency() 2022-01-08 12:56:14 +01:00
Gymnasiast 12034b2d36 Upgrade platform_get_locale_language() 2022-01-08 12:56:14 +01:00
Gymnasiast 77d607a4c0 Remove unused OPENRCT2_MAX_COMMAND_LENGTH 2022-01-08 12:08:50 +01:00
Michał Janiszewski f68411b4eb Ensure linenoise can be safely used from multiple threads (#16388)
This addresses a data race for `linenoise::lnstate` and
`StdInOutConsole::_isPromptShowing` which could result in openrct2
crashing and misreporting values when inspected in debugger.
2022-01-07 16:37:41 +01:00
Michael Steenbeek 2e9e549263 Merge pull request #16380 from Gymnasiast/refactor/platform-to-new
Convert a few platform functions to new framework
2022-01-06 19:46:43 +01:00
Michał Janiszewski f9ca2ba7a5 Extend CI matrix and Update cache keys (#16386) 2022-01-06 13:20:11 +01:00
Michał Janiszewski 9238955b21 Add new CI images (Focal, Bullseye) (#16382)
This adds new images for use in CI, as preparation towards C++20
support (https://github.com/OpenRCT2/OpenRCT2/issues/15501).
2022-01-06 00:09:24 +01:00
Gymnasiast e4496c41bd Upgrade platform_sanitise_filename() 2022-01-05 15:26:52 +01:00
Gymnasiast de867827a1 Remove update_palette_func 2022-01-05 15:26:52 +01:00
Gymnasiast 1eba596997 Remove platform_get_{date,time}_utc() 2022-01-05 15:26:52 +01:00
Gymnasiast a21e545917 Upgrade platform_get_username() 2022-01-05 15:26:52 +01:00
Gymnasiast 2e7e90a018 Remove platform_get_openrct2_data_path() 2022-01-05 15:26:51 +01:00
Gymnasiast 77e5defeca Upgrade platform_original_game_data_exists() 2022-01-05 15:26:51 +01:00
Michael SteenbeekandTed John ff909cc286 Change rct2_path into a C++ string
Co-authored-by: Ted John <ted@brambles.org>
2022-01-05 15:18:25 +01:00
Michael Steenbeek ca27c2181b Clean up two hardcoded vehicle maxes 2022-01-05 14:16:16 +01:00
Hielke Morsink b4f264fe4d Fix #16292: .park files cannot be added to title sequence 2022-01-05 12:44:48 +01:00
Michael Steenbeek 2b0d4e6b3d Merge pull request #16352 from Gymnasiast/fix/16061
Fix #16061: Incorrect colours in minimap
2022-01-03 14:40:10 +01:00
Michael Steenbeek fa9ef5728e Merge pull request #16298 from Gymnasiast/refactor/rotation-frames-1
Clean up ride object rotation frames
2022-01-03 14:26:47 +01:00
Michael Steenbeek 2fa33983ad Close #16013: Refactor RCT12Research import (#16350)
* Remove unused symbols in Research.h

* Move RCT12ResearchItem conversion out of Research.cpp/h
2022-01-03 10:20:04 +00:00
Michael Steenbeek 819495800c Fix #15943: Crash accessing unset w->focus (#16364) 2022-01-03 10:11:34 +00:00
Gymnasiast 07fff9ec18 Use v1.2.5 objects release 2022-01-02 17:33:31 +01:00
Michael SteenbeekandTed John 0e86d9577c Default-initialise MapColours
Co-authored-by: Ted John <ted@brambles.org>
2022-01-02 17:07:36 +01:00
Michael Steenbeek d7f5995bfd Remove unintended execute rights 2022-01-01 19:58:28 +01:00
Michael Steenbeek 65500461e1 Fix #16073: Crash in Sub6E1F34SmallScenery() 2022-01-01 19:56:12 +01:00
Gymnasiast 1e1f370c8d Create PaletteIndex 2022-01-01 18:38:31 +01:00