1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-18 12:33:17 +01:00
Commit Graph

19983 Commits

Author SHA1 Message Date
Gymnasiast
c1ca8f729f Use RCT1 trains 2024-03-02 01:33:51 +01:00
Gymnasiast
c2ed24b183 Make RCT1::VehicleType a strong enum 2024-03-02 01:33:51 +01:00
Harry Hopkinson
bb743f0c88 Fix: pause and build path hotkeys not working when the toolbar is hidden
Part of #21175.
2024-03-01 23:49:26 +01:00
AuraSpecs
a3659b7ca4 Add log flume lift sound effect (when “chainlift” is enabled) 2024-03-01 21:01:50 +00:00
Harry Hopkinson
701bbda164 Move gEditorStep to GameState_t (#21492)
* Move gEditorStep to GameState_t

* Fix compilation on GCC

---------

Co-authored-by: Gymnasiast <m.o.steenbeek@gmail.com>
2024-03-01 20:26:20 +00:00
Harry Hopkinson
14f0479c94 Refactor constants/macros (#21483)
* Refactor constants in AudioMixer.h

* Refactor constants in Map.h

* Rename kMinimumLandHeight_BIG to kMinimumLandZ
2024-03-01 20:23:29 +00:00
Aaron van Geffen
a79b062136 Refactor FormatCodes stringification 2024-03-01 19:47:23 +01:00
Harry Hopkinson
42844d1667 Move gCurrentProfit to GameState_t (#21485) 2024-03-01 05:47:30 -03:00
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
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
Harry Hopkinson
063c4f7bce Move gCurrentExpenditure to GameState_t 2024-02-27 22:03:40 +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
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
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
Stephan Spengler
bcff6f5a7e Update ScTileElement.cpp: fix typos (#21463) 2024-02-26 18:10:47 -03:00
Gymnasiast
554968383c Move global window indices to constexpr 2024-02-25 22:54:54 +01:00
Michał Janiszewski
f5cd5bc15b Merge pull request #21444 from janisozaur/android-updates
Update Android libraries
2024-02-25 22:34:23 +01:00
Harry Hopkinson
0fab1eaca8 Move gSavedView states to GameState_t (#21456)
* Move gSavedView to GameState_t

* Move gSavedViewRotation to GameState_t

* Move gSavedViewZoom to GameState_t
2024-02-25 20:46:01 +00:00
Gymnasiast
d1b1e42643 Refactor defines in LandTool.h 2024-02-25 17:06:48 +01:00
Gymnasiast
6c25b79139 Refactor defines in Intro.cpp 2024-02-25 17:06:48 +01:00
Gymnasiast
8d478e78a5 Refactor FILE_TYPE_S4_CUTOFF to kFileTypeS4Cutoff 2024-02-25 17:06:48 +01:00
ZeeMaji
47a221de4e Reintroduce lost RCT1 Jet ski color presets to boat hire (#21453) 2024-02-25 09:32:43 -03:00
HtotheTML
90ad01bc40 Fix additional park boundary errors in Japanese Coastal Reclaim (#21425) 2024-02-25 06:33:44 -03:00
Michael Steenbeek
3beeca3fe3 Merge pull request #21438 from ZehMatt/pathfinding-update-2
More refactoring around path finding
2024-02-24 23:57:54 +01:00
Julian
142c078ad1 Fix some include directives for POSIX 2024-02-24 23:56:02 +01:00
Michał Janiszewski
a9f26c804a Update android libraries URL 2024-02-24 23:06:52 +01:00
Michał Janiszewski
a37e83b63c Remove crypto from android libraries for now 2024-02-24 23:05:43 +01:00
Michał Janiszewski
093567ed51 Add URL update TODO comment 2024-02-23 23:58:28 +01:00
Michał Janiszewski
e1fbe586d0 Update for new style android libraries 2024-02-23 23:55:12 +01:00
Michał Janiszewski
7b4d3db5ac Only compile for 64 bit ARM target 2024-02-23 23:54:12 +01:00
Harry Hopkinson
7797db10c8 Replace Macros and Notation in Cheats.h, common.h and Context.h. (#21437) 2024-02-23 19:30:35 -03:00
AuraSpecs
d11a82aa4f Add Ukrainian Language
Co-authored-by: Gymnasiast <m.o.steenbeek@gmail.com>
2024-02-23 20:37:48 +01:00
Matt
325a3db436 Merge pull request #21311 from zzril/fix-clearance
Fix #21310: Clearance on half loop elements is not symmetrical
2024-02-23 18:49:24 +02:00
ζeh Matt
f3a5320ff8 Declare arguments as [[maybe_unused]] due to constexpr checks 2024-02-23 00:09:59 +02:00
ζeh Matt
fd66cb5e1b Add missing switch case, fix clang-tidy checks 2024-02-22 23:58:59 +02:00
ζeh Matt
b2f14af84d Apply clang-format 2024-02-22 23:34:40 +02:00
ζeh Matt
646743334c Remove remaining old logging code 2024-02-22 23:32:50 +02:00
ζeh Matt
0b917408c4 Turn SEARCH_PATH_* into strong enum 2024-02-22 23:29:10 +02:00
ζeh Matt
3f456b7b2b Only log path finding when PEEP_FLAGS_DEBUG_PATHFINDING is active 2024-02-22 23:09:22 +02:00