Commit Graph

26488 Commits

Author SHA1 Message Date
Aaron van Geffen
4976d65fc3 Enable commented-out designated initialisers (#21479)
* Start using designated initialisers

* Adhere to correct order for DrawPixelInfo

* Of course gcc is stricter than clang...
2024-02-29 07:00:46 +00:00
Michael Steenbeek
aa804a19ff Replace SET_FIELD() macro with designated initialisers 2024-02-28 23:14:59 +01:00
Michael Steenbeek
01bc8cdb5e Merge pull request #21468 from AaronVanGeffen/cpp20
Compile project as C++20
2024-02-28 22:28:36 +01:00
Aaron van Geffen
a3eea76fa0 Update cppStandard in .vscode properties 2024-02-28 21:57:38 +01:00
Aaron van Geffen
c2730bc12d Update readme to require C++20 support 2024-02-28 21:57:08 +01:00
Michael Steenbeek
25ec1e4211 Create game actions and UI for restricted scenery 2024-02-28 20:38:43 +01:00
Aaron van Geffen
2d52f5b982 Play footpath placement sound even if footpath window is absent 2024-02-27 22:26:43 +01:00
Aaron van Geffen
6edcd6d7a0 Avoid implicit capture of this in Footpath window 2024-02-27 22:16:06 +01:00
Matt
626e922591 Merge pull request #21472 from janisozaur/ccache-1.2.11
CI: Lower ccache to 1.2.11 to speed up CI jobs
2024-02-27 23:08:09 +02:00
Matt
418785104d Disable ccache for clang-tidy workflow (#21471) 2024-02-27 21:05:10 +00:00
Harry Hopkinson
063c4f7bce Move gCurrentExpenditure to GameState_t 2024-02-27 22:03:40 +01:00
Michał Janiszewski
c921edd76c CI: Lower ccache to 1.2.11 to speed up CI jobs
This is tracked upstream at
https://github.com/hendrikmuhs/ccache-action/issues/181
2024-02-27 21:37:00 +01:00
Aaron van Geffen
8bf848582b Add -Wno-deprecated-declarations to suppress fs::u8path warnings 2024-02-27 21:33:00 +01:00
Harry Hopkinson
57a4c83f80 Move gConstructionRightsPrice to GameState_t (#21467)
* Move gConstructionRightsPrice to GameState_t

* Add OpenRCT2 namespace
2024-02-27 20:20:11 +00:00
Michał Janiszewski
b2639add4c CI: use docker images v13 (#21470)
This release updates mingw and android images, also comes with
clang-tidy preinstalled
2024-02-27 20:04:33 +00:00
Aaron van Geffen
19171f7eef Update Visual Studio properties for C++20 too 2024-02-27 19:41:45 +01:00
Aaron van Geffen
989a4dddbd Mark ObjectLoadError::DownloadStatusInfo comparisons const 2024-02-27 17:22:25 +01:00
Aaron van Geffen
da0bbb2019 Mark GuestList::FilterArguments comparisons const 2024-02-27 17:20:05 +01:00
Aaron van Geffen
ffcb2b8c82 Fix or-ing different enumeration types warning 2024-02-27 16:55:53 +01:00
Michael Steenbeek
11ccbbfc5e Merge pull request #21454 from Gymnasiast/more-to-gamestate
Move _rides, _tileElements and _restrictedScenery to GameState_t
2024-02-27 16:53:49 +01:00
Gymnasiast
f98157d4f1 Move _restrictedScenery to GameState_t 2024-02-27 16:34:26 +01:00
Gymnasiast
53b68f23fa Move _tileElements to GameState_t 2024-02-27 16:34:26 +01:00
Gymnasiast
37a224e9b3 Move _rides to GameState_t 2024-02-27 16:34:25 +01:00
Harry Hopkinson
70ea832808 Move gCompanyValue to GameState_t 2024-02-27 16:31:38 +01:00
Aaron van Geffen
530ec9a6f7 Remove never-set COLOUR_FLAG_8 constant
The definition is also outside the boundaries of a uint8_t, so its existence is a bit odd.
2024-02-27 15:38:51 +01:00