1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-26 16:24:35 +01:00
Commit Graph

9943 Commits

Author SHA1 Message Date
Duncan
d40102aa9d Remove some uncommon variables and break unions (#20440) 2023-06-27 06:34:06 +01:00
Matthias Moninger
3b7975f4a0 Remove redundant warning suppression code 2023-06-26 20:01:03 +02:00
Duncan
0c5a35993e Remove union from window internal (#20429)
* Remove campaign vars from union

* Remove error union

* Remove new_ride union

* Remove Unknown5

* Update changelog
2023-06-26 16:31:04 +01:00
Matthias Moninger
49c5ceda66 Merge pull request #20462 from ZehMatt/script-crash
Fix crashes when custom plugin actions fail due to immutable state
2023-06-26 16:12:41 +03:00
Matthias Moninger
b291c87d51 Merge pull request #20271 from duncanspumpkin/objDescriptor
Rework Object Identifier callers
2023-06-26 16:11:45 +03:00
ζeh Matt
cdb16bf8bb Fix crashes when custom plugin actions fail due to immutable state 2023-06-26 15:56:20 +03:00
Matthias Moninger
9e57fcc6d4 Merge pull request #20474 from ZehMatt/fix-cheatsetaction-query
Actually return the game action result in CheatSetAction::Query
2023-06-26 15:47:52 +03:00
Matthias Moninger
fb1b531d59 Fix build error due to stale base branch for #20100 (#20476) 2023-06-26 08:10:01 +01:00
Matthias Moninger
3edb044685 Merge pull request #20100 from IntelOrca/plugin/object-manager
Add plugin APIs for the object manager
2023-06-26 02:26:13 +03:00
ζeh Matt
93536c802e Actually return the game action result in CheatSetAction::Query 2023-06-26 02:09:12 +03:00
Aaron van Geffen
627fcec7e9 Revert change in BitSet 2023-06-24 13:25:33 +02:00
Aaron van Geffen
2697ed1920 Formatting 2023-06-24 11:48:14 +02:00
Aaron van Geffen
d425e0a8bb Remove const qualifier from constexpr statements 2023-06-24 11:45:26 +02:00
Aaron van Geffen
f9d8c5923d Replace surface corner hex values with named constants 2023-06-24 01:48:25 +02:00
Duncan
4a3a1e4e7f Remove event handlers (#20439) 2023-06-23 08:31:31 +01:00
Duncan
622c8cdb7e Fix #20433. Dropdown default selections not working (#20437)
This fixes it for rides but it is also an issue effecting a few different dropdowns
2023-06-23 06:20:02 +01:00
Duncan
a6d3dbc6d9 Remove player specific window vars from common 2023-06-23 00:44:17 +02:00
Matthias Moninger
42ff471617 Fix periodic window update function being called every frame 2023-06-22 15:52:14 +02:00
Tiago A. Reul
97427743a4 Clean up SpritBoundBox2 2023-06-21 01:24:04 +02:00
Matthias Moninger
ce1695fab8 Merge pull request #20404 from duncanspumpkin/rideWindow
Ride Window refactor
2023-06-21 01:34:40 +03:00
Severin Paul Höfer
4b39298803 Bump network version 2023-06-20 23:17:56 +02:00
zzril
d6ffdb0aa1 Add Pitch values for steep diagonal drops to checks in UpdateScreamSound
The checks in UpdateScreamSound (rct2: 0x006D796B) forgot about (steep)
diagonal drops. This resulted in riders' screams getting cut-off on
(long) steep diagonal drops once the last car reached the maximum drop
angle, and the screams re-starting as soon as the first car reached the
valley.
2023-06-20 23:17:56 +02:00
duncanspumpkin
f0658202ef Fix mistake 2023-06-20 08:52:00 +01:00
duncanspumpkin
9b8b672507 Finish linking up parts 2023-06-20 08:42:25 +01:00
Michael Steenbeek
20fe5a29d3 Add missing Ukrainian letters (Єє and Ґґ) 2023-06-18 23:44:44 +02:00
Severin Paul Höfer
ed875a1273 Fix #19860: TRACK_ELEM_FLAG_DOWN flag missing on downward wide curves (#20386)
* Fix TRACK_ELEM_FLAG_DOWN flag on wide curves

* De-anonymize contributors entry

* Bump network version
2023-06-15 20:27:18 +01:00
Matthias Moninger
d9a565dd21 Fix #20361: Crash when using random map generation (#20400)
* Fix #20361: Crash using map generation

* Update changelog.txt
2023-06-15 20:27:00 +01:00
Michael Steenbeek
1b612b5a99 Add code to draw Cyrillic characters Ѕѕ, Іі, Її, and Јј (#20393) 2023-06-15 20:30:02 +02:00
Michael Bernardi
9c5c1eb858 Fix #20349: Tile inspector creates map animations 2023-06-06 21:55:15 +02:00
Luke Hobbs
4fcf4ac7e5 Fix formatting 2023-06-03 09:38:40 -04:00
Luke Hobbs
a17ac8a92b Use ErrorTitle + ErrorMessage instead of newline 2023-06-03 09:36:05 -04:00
Luke Hobbs
27eec48c16 Fix formatting 2023-06-02 22:55:45 -04:00
Luke Hobbs
c1f75a0906 Add plugin name to CustomAction and ScriptEngine 2023-06-02 22:04:05 -04:00
ζeh Matt
c4c3743a6b Fix formatting 2023-06-01 01:25:07 +03:00
ζeh Matt
cba6238ede Queue game actions when issued from UI 2023-06-01 01:20:31 +03:00
ζeh Matt
0f00ad2dd2 Signal that we are inside the update phase in the right function 2023-06-01 01:17:02 +03:00
ζeh Matt
68485e20d0 Revert #20286 2023-05-31 18:21:33 +03:00
Gymnasiast
2779e82ced Return a full error message when the object cannot be found 2023-05-27 14:47:54 +02:00
Gymnasiast
0519dec33a Fix #20083: Cannot use terrain surfaces with ID > 32 2023-05-27 14:47:49 +02:00
Matthias Moninger
29bd730329 Merge pull request #20265 from Broxzier/bugfix/20262-random-rct1-theme-silence
Fix #20262: random title theme can pick RCT1 when unavailable
2023-05-26 20:56:05 +03:00
Matthias Moninger
d189008747 Merge pull request #20291 from ZehMatt/guest-refactor
Small Guest refactor
2023-05-26 20:40:12 +03:00
Hielke Morsink
58a8e8836a Fix #20262: random title theme can pick RCT1 when unavailable 2023-05-26 19:38:59 +02:00
Tiago A. Reul
93c1a9724e Remove flag RIDE_TYPE_FLAG_HAS_NO_TRACK (#20239) (#20249)
* Remove flag RIDE_TYPE_FLAG_HAS_NO_TRACK (#20239)

* Fix a couple of logical conditions in entity/Staff.cpp

* Bump NETWORK_STREAM_VERSION and add myself to contributors.md
2023-05-26 14:08:28 +03:00
ζeh Matt
12bc9777d3 Cleanup calls to GetShopItemDescriptor in Guest::DecideAndBuyItem 2023-05-25 17:50:09 +03:00
ζeh Matt
454c5aa819 Use unsigned type for ScenarioRand 2023-05-25 17:46:27 +03:00
ζeh Matt
b3606566c4 Fix #20285: Workaround to disable tweening when updated from UI 2023-05-24 01:02:11 +03:00
ζeh Matt
65b582afb0 Add a way to invalidate entity tweening 2023-05-24 00:43:23 +03:00
duncanspumpkin
3f2126662f Properly remove the object override code 2023-05-23 21:43:52 +01:00
duncanspumpkin
86c02b839f Format and fix tests 2023-05-22 20:07:06 +01:00
duncanspumpkin
dbb04f6a94 Further removal 2023-05-22 08:52:43 +01:00