Commit Graph

25729 Commits

Author SHA1 Message Date
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
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
Aaron van Geffen 8bf848582b Add -Wno-deprecated-declarations to suppress fs::u8path warnings 2024-02-27 21:33:00 +01: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
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
Aaron van Geffen 0c0b10fc09 Compile OpenRCT2 using C++20 2024-02-27 15:32:38 +01: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
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
Stephan Spengler bcff6f5a7e
Update ScTileElement.cpp: fix typos (#21463) 2024-02-26 18:10:47 -03:00
Michael Steenbeek 70461be037
Merge pull request #21457 from Gymnasiast/refactor/global-widget-idx-to-constexpr
Move global window indices to constexpr
2024-02-26 14:03:48 +01:00
Gymnasiast 4ba4f96f61
clang-tidy: exclude validate_global_widx() from macro check 2024-02-25 23:13:10 +01: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
Michael Steenbeek 880e5af35d
Merge pull request #21445 from Gymnasiast/refactor/defines-to-constexpr
Refactor some defines to constexpr
2024-02-25 18:08:48 +01: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
OpenRCT2 git bot eceea5a034 Merge Localisation/master into OpenRCT2/develop 2024-02-23 04:01:41 +00: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
ζeh Matt 523bd0ae36
Rename PEEP_FLAGS_2 to PEEP_FLAGS_DEBUG_PATHFINDING 2024-02-22 23:07:15 +02:00
ζeh Matt 336c1b26d3
Remove dead code 2024-02-22 23:04:58 +02:00
ζeh Matt ecc46799d4
Replace the old logging code with constexpr functionality 2024-02-22 22:53:42 +02:00
Matt 9d9f0af0cd
Pathfinding cleanup (#21407)
* Eliminate unnecessary abstraction for path finding

* Pass the goal to ChooseDirection instead of using globals

* Remove gPeepPathFindGoalPosition and pass it by parameter instead

* Remove _peepPathFindIsStaff and make ignoring banners explicit

* Code style and naming fixups

* Apply clang-format

* Add comment specifying to why it does not ignore banners

* Apply review comments
2024-02-22 21:52:01 +02:00