27657 Commits

Author SHA1 Message Date
Matt
f55eeff2e0 Merge pull request #21230 from ZehMatt/21193-gInitialCash
#21193: Move gInitialCash to GameState_t, refactor uses
2024-01-20 21:49:31 +02:00
ζeh Matt
25c807edbd Small cleanup 2024-01-20 19:34:27 +02:00
ζeh Matt
c493e22b9b #21193: Move gInitialCash to GameState_t, refactor uses 2024-01-20 17:13:57 +02:00
Matt
7141fb4574 Merge pull request #21225 from ZehMatt/raise-mix-limit
Raise maximum allowed misc entities to 1600
2024-01-20 17:02:42 +02:00
Matt
b35eb7ac7f Merge pull request #21229 from ZehMatt/21193-gCash
#21193: Move gCash to GameState_t, refactor uses
2024-01-20 17:00:58 +02:00
Katherine Norton
0450435377 Add Plugin API for managing a guest's items (#21062)
* Add API for guest items in openrct2.d.ts

* Create GuestItem interfaces

* Set fields to readonly and add documentation

* Implement getting items array

* Implement checking if a guest has an item

* Implement removing items from guests

* Implement giving a guest an item

* Re-merge GuestItemType with FoodDrinkType

* Add more data validation for the EnumMaps

* Update versioning and changelog

* Add some errors to the give_item method

* Bump network version

* Update VoucherType to if/else

Co-authored-by: Tulio Leao <tupaschoal@gmail.com>

* Add static_assert to ScGuest.hpp

---------

Co-authored-by: Tulio Leao <tupaschoal@gmail.com>
2024-01-20 11:51:23 -03:00
ζeh Matt
3518a638bb #21193: Move gCash to GameState_t, refactor uses 2024-01-20 15:46:35 +02:00
OpenRCT2 git bot
2cb4eb950b Merge Localisation/master into OpenRCT2/develop 2024-01-20 04:01:41 +00:00
Matt
d08612b708 Merge pull request #21122 from ZehMatt/gamestate
Start centralizing all save related data in GameState_t
2024-01-20 01:12:10 +02:00
Michael Steenbeek
8846760b8b Fix #21210: Land right signs display beneath paths
Restores the +3 offset that was previously used. Compared rendering to RCT1 as well.
2024-01-19 22:47:01 +00:00
Severin Paul Höfer
39a37f14eb Fix #21054: No entrance style selected by default in track designer 2024-01-19 23:42:44 +01:00
ζeh Matt
80ca8aefaa Remove stray change 2024-01-19 16:33:50 +02:00
ζeh Matt
8653ad740a Apply missing game state parameter 2024-01-19 16:32:19 +02:00
ζeh Matt
c839a1746d Resolve some odd type clash, remove using namespace for now 2024-01-19 16:32:19 +02:00
ζeh Matt
f708e911e4 Make clang-format happy 2024-01-19 16:32:19 +02:00
ζeh Matt
9b2a79faf1 Adjust the import/export code to have the game state passed 2024-01-19 16:32:19 +02:00
ζeh Matt
a5dde0f8dc Replace gCurrentTicks with the one in GameState_t 2024-01-19 16:32:19 +02:00
ζeh Matt
4c919f74aa Start of the new GameState structure 2024-01-19 16:32:15 +02:00
Ota
33523c98c2 Fix #20628: Stop caret left moving off the input string 2024-01-19 13:48:51 +01:00
ζeh Matt
8ae4709aac Update changelog.txt 2024-01-19 14:45:31 +02:00
ζeh Matt
dae726009e Bump up network version 2024-01-19 14:44:21 +02:00
Michael Steenbeek
00b5932557 Merge pull request #21202 from Gymnasiast/refactor/track-data
Refactor static TrackData and naming
2024-01-19 13:43:39 +01:00
ζeh Matt
6b9de0bb2f Raise maximum allowed misc entities to 1600 2024-01-19 12:50:27 +02:00
OpenRCT2 git bot
b50f1c91d9 Merge Localisation/master into OpenRCT2/develop 2024-01-19 04:01:49 +00:00
Gymnasiast
9d03fad8b8 Rename TrackSlope to TrackPitch 2024-01-17 23:34:37 +01:00