Commit Graph

26488 Commits

Author SHA1 Message Date
ζ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
OpenRCT2 git bot
6b134a05c3 Merge Localisation/master into OpenRCT2/develop 2024-02-21 04:01:40 +00:00
Michael Steenbeek
045d610391 Merge pull request #21433 from Gymnasiast/refactor/split-supports.cpp
Split Supports.{cpp,h} into two and refactor the wooden supports
2024-02-20 23:42:37 +01:00
Michael Steenbeek
724ab47a37 Merge pull request #21423 from Gymnasiast/feature/partly-above-ground
Add mechanism to allow building partly underground
2024-02-20 21:44:46 +01:00
Harry Hopkinson
b989ccbb20 Remove unused gSavedAge (#21410)
* Remove the unused SavedAge variable.
2024-02-20 16:58:46 -03:00
Gymnasiast
276b599470 Add changelog entry, bump network version 2024-02-20 19:15:37 +01:00
Gymnasiast
c2f2058fa0 Allow building heartline rolls partly underground 2024-02-20 19:14:02 +01:00
Gymnasiast
731275613a Create flag to allow building track segment partly underground 2024-02-20 19:14:01 +01:00