Commit graph

25870 commits

Author SHA1 Message Date
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
Aaron van Geffen
0c0b10fc09 Compile OpenRCT2 using C++20 2024-02-27 15:32: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
Severin Paul Höfer
3b8de13af9 Update changelog.txt 2024-02-21 17:23:45 +01:00
Severin Paul Höfer
e1631afe48 Make small Flyer half loops symmetrical 2024-02-21 17:23:45 +01:00
Severin Paul Höfer
99dfbc2661 Make ClearanceZ on small half loops symmetrical
Values now consistent to those in the small full loops.
2024-02-21 17:23:45 +01:00
Severin Paul Höfer
0ff998a071 Make ClearanceZ on Flying half loops symmetrical 2024-02-21 17:23:45 +01:00
Severin Paul Höfer
133c8a1068 Fix ClearanceZ for large half loops down 2024-02-21 17:23:45 +01:00
Severin Paul Höfer
1ce1d1b04e Add comments to PreviewTrack definitions 2024-02-21 17:23:45 +01:00
Severin Paul Höfer
aefc07c9c5 Rename var_07 to ClearanceZ in struct PreviewTrack 2024-02-21 17:23:45 +01:00
Matt
fdbdbd405f
Merge pull request #21408 from ZehMatt/clang-tidy
Add clang-tidy CI step
2024-02-21 12:50:44 +02:00
ζeh Matt
3b0ff5dcc8
clang-tidy CI integration 2024-02-21 09:49:15 +02:00