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
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
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
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
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
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
ζ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
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
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