spacek531
bf413b2ab7
Booster code cleanups/unified booster speed preparation
2025-01-19 16:43:26 +01:00
Aaron van Geffen
5fbe8d0ae1
Centralise external window signatures in Windows.h ( #23653 )
2025-01-19 15:50:54 +01:00
Aaron van Geffen
bed4d5bdca
Move WindowCreate and WindowFocusOrCreate into WindowManager ( #23643 )
...
* Move WindowBringToFront into WindowManager
* Move WindowCreate and WindowFocusOrCreate into WindowManager
* Cut back on Context/UiContext includes
2025-01-19 06:58:28 -03:00
Aaron van Geffen
e1fa0b539d
Move Widget, Window, Intent, MouseInput into OpenRCT2 namespace ( #23642 )
2025-01-18 15:29:41 +02:00
Matt
b9f6b6f754
Refactor widgets state ( #23621 )
...
* Refactor windows to not share widget state
* First half of refactoring all the windows
* Refactor the remaining windows, compiles but has issues
* Fix drawing only every second widget
* Remove the need of an terminating widget
* Address WidgetIndex signedness issues; use kWidgetIndexNull more
* Address constexpr issue with Widget content union
* Fix tabs in scenery window
* Fix tabs in object selection window
* Adjust custom widget index for CustomTool events
* Use STR_NONE for default tooltip initialisation
* Adjustment for mingw compiler
* Fix bottom toolbar using the widget declaration not instance
* Remove pointless code in Guest window, handled by SetPage
* Prevent out of bounds crash
* Move scroll widgets initialization to SetPage in Cheats window
* Remove special logic in Options window
* Remove special logic in Park window
* Remove special logic for Player window
* Remove special logic for Research window
* Remove special logic for Ride window
* Remove special logic for Staff window
* Remove special logic for Finances window
* Remove special logic for MapGen window
* Remove special logic for editor objective options window
* Remove special logic for editor scenario options window
* Fix widgets not being set since page is initialized to 0
* Remove more redundant code
* Fix remaining access to widget declarations
* Remove unused variable
* Fix editor object selection tabs on successive windows
---------
Co-authored-by: Aaron van Geffen <aaron@aaronweb.net >
2025-01-18 13:45:17 +01:00
X123M3-256
29503e6606
Allow cable lift to start after block brake
2025-01-17 19:38:15 +01:00
X123M3-256
a935084e55
Fix holding brakes being skipped if they're too close together
2025-01-15 12:54:27 +00:00
X123M3-256
864d9b2d73
Add large diagonal flat to steep and dive loop track pieces
2025-01-15 13:25:29 +01:00
ZeeMaji
9b8ecc06c8
Restore lost diag brakes
2025-01-14 16:28:15 +01:00
Matt
4330909f90
Merge pull request #23556 from ZehMatt/ride-queue
...
Ride queue safety
2025-01-14 17:11:25 +02:00
Andrew
60b6907c44
Fixed tile inspector shortcut keys for raise/lower height
2025-01-14 00:09:21 +01:00
Aaron van Geffen
805c8e2a11
Plugin: allow scripts to specify tab colour maps ( #23583 )
2025-01-13 23:47:30 +01:00
Aaron van Geffen
e7eba6b4c5
Fix #23597 : Adjust any staff set to EatFood animation ( #23613 )
2025-01-13 22:20:06 +01:00
Dio
bc66278686
Fix #23368 : Incorrect refund when deleting track >= 96m
2025-01-12 12:35:34 +01:00
mrmbernardi
d8290a696f
Fix in game console "get location" command ( #23598 )
2025-01-12 14:06:22 +11:00
Gymnasiast
5b3c8d8971
Fix positioning of "Install new track" button
2025-01-10 16:14:21 +01:00
Gymnasiast
837fb8d992
Tile Inspector Use label widgets for X/Y labels
2025-01-10 15:39:32 +01:00
Severin Paul Höfer
8a84f225e1
Fix #23508 : RideConstruction and Footpath windows racing to set the VirtualFloor
2025-01-10 15:13:17 +01:00
ζeh Matt
a9cafb37eb
Assign Station Start, Entrance, Exit, to null sentinel
2025-01-10 01:10:14 +02:00
Aaron van Geffen
5ba6b97d89
Rework InteractiveConsole to use localised object type strings ( #23586 )
2025-01-09 21:44:41 +00:00
Aaron van Geffen
225a6f3665
Append panda/elephant/tiger objects before other entertainers
2025-01-09 19:51:17 +01:00
Aaron van Geffen
90143b2e38
Address review comments
2025-01-09 12:34:45 +01:00
ζeh Matt
5261a5c102
Make sure that GuestNextInQueue is not uninitialized
2025-01-06 20:04:39 +02:00
ζeh Matt
33782c723d
Allow save/load for std::span, simplify ReadWriteArray
2025-01-06 19:55:36 +02:00
ζeh Matt
1d7bd7ac27
Use std::span for GetStations
2025-01-06 19:54:56 +02:00
ζeh Matt
3d4b106059
Ensure ride station queue is not uninitialized, refactor that code
2025-01-06 19:39:44 +02:00
Aaron van Geffen
42cbb0d1c0
Change leftover spelling of SuJongkwa to Sujeonggwa
2024-12-31 00:08:45 +01:00
Aaron van Geffen
c0f846c2f5
Exclude peep animation objects in EditorRemoveUnusedObjects
2024-12-29 21:04:41 +01:00
Aaron van Geffen
0fb1fabc52
EditorObjectSelection: show animation peep type in description
2024-12-29 13:47:09 +01:00
Aaron van Geffen
6ed7fd461e
Move isSlowWalking property to animation group level
2024-12-23 12:21:04 +01:00
Aaron van Geffen
cc668f080e
Fix rendering balloons/hats/umbrellas held by guests
2024-12-19 09:26:39 +01:00
Aaron van Geffen
2f0af0a005
Expose getCostumeStrings to scripts
2024-12-11 19:06:47 +01:00
Aaron van Geffen
11f683101c
Move getAvailableCostumeStrings to PeepAnimations
2024-12-11 19:06:23 +01:00
Aaron van Geffen
752f15a363
Force use of all costumes if noRandomPlacement results in no costumes
2024-12-11 16:09:59 +01:00
Aaron van Geffen
4f1a7c72aa
Rework reading peep anim object properties
2024-12-10 23:39:58 +01:00
Aaron van Geffen
d768811c5c
Refactor PeepAnimationsObject::ReadAnimations into its own method
2024-12-10 23:21:52 +01:00
Aaron van Geffen
3c87ae6a92
Guest window: make pickup animation lengths dynamic
2024-12-10 22:52:05 +01:00
Aaron van Geffen
f3a0593591
Staff window: make tab animation lengths dynamic
2024-12-09 22:43:45 +01:00
Aaron van Geffen
44a9f530f7
Separate RCT12PeepAnimationGroup further from PeepAnimationGroup
2024-12-09 19:43:05 +01:00
Aaron van Geffen
f2779fb7fb
Let other animation groups copy missing animations from primary group
2024-12-09 17:42:41 +01:00
Aaron van Geffen
dbc394cb67
Scripting: list and use available costumes dynamically
2024-12-08 12:34:13 +01:00
Aaron van Geffen
e3c6fe22a6
Read scriptName property from JSON
...
Use object identifier if no scriptName is provided
2024-12-08 12:31:34 +01:00
Aaron van Geffen
7efe73f6ac
Add checks to ensure an animation object is selected for each peep type
2024-12-07 13:40:30 +01:00
Aaron van Geffen
42adf84723
EditorObjectSelectionSession: mark peep animation objects in use
2024-12-06 19:50:14 +01:00
Aaron van Geffen
7b63355d03
Rework PeepAnimation construction
2024-12-06 09:32:37 +01:00
Aaron van Geffen
cfdfd1a234
List available staff costumes dynamically
2024-12-05 17:39:10 +01:00
Aaron van Geffen
3cc8aec6b9
StaffHireNewAction: use peep anim objects; bump network version
2024-12-05 15:29:34 +01:00
Aaron van Geffen
7e3fe58067
Use peep animation objects for guest and staff sprites
2024-12-05 13:37:39 +01:00
Aaron van Geffen
5219172a07
Introduce functions to get a (random) peep anim object by type
2024-12-05 15:02:23 +01:00
Aaron van Geffen
e885b3616b
Drop old PeepAnimationData unit
2024-12-03 21:14:26 +01:00