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
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
ζ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
Harry Hopkinson
d8864e567c
Close #21379 : Move map base z to constant
2024-02-20 11:49:02 +01:00
Peter Froud
40a7fa70fc
Fix empty error messages ( #21351 )
...
* Add `STR_ERR_CANT_CHANGE_PARK_ENTRANCE_FEE`
* Add `STR_ERR_TRACK_ON_THIS_TILE_NEEDS_WATER`
* Return existing `GameAction::Result`
* Add `STR_ERR_ACTION_INVALID_FOR_THAT_STAFF_TYPE`
I am open to suggestions for a different message!
Originally this was going to be STR_ERR_WRONG_STAFF_TYPE
but I thought that was confusing because the game
action arguments do not specify a staff type. We
want it to mean "the staff ID you specified is the
wrong StaffType for this game action".
* Refactor `StaffSetColour()` to return `Result`
* Remove unnecessary arguments when `Status` is `Ok`
* Refactor `SwapTileElements()` to return `Result`
Also add STR_ERR_CANT_SWAP_TILE_ELEMENT_WITH_ITSELF
* Format code
* Use `STR_ERR_CANT_CHANGE_PARK_ENTRANCE_FEE` in title
* Format code using Github web editor
* Format indentation
2024-02-19 20:58:04 -03:00
Gymnasiast
1ed22ff58c
Remove now-obsolete NumVanillaWoodenSupportTypes
2024-02-19 23:26:07 +01:00
Gymnasiast
6e3ed12f13
Refactor other fields of UnkSupportsDescriptor
2024-02-19 23:23:12 +01:00
Gymnasiast
38cfa4045d
Remove UnkSupportsDescriptor::var_7
2024-02-19 23:17:03 +01:00
Gymnasiast
b482897cd8
Refactor out old support offsets
2024-02-19 23:14:03 +01:00
Gymnasiast
5e31e73d53
Refactor some usage of old support values
2024-02-19 22:15:31 +01:00
Gymnasiast
32c04305f2
Remove old wooden supports overloads
2024-02-19 22:05:36 +01:00