Commit graph

27570 commits

Author SHA1 Message Date
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
OpenRCT2 git bot
66ede938f8 Merge Localisation/master into OpenRCT2/develop 2025-01-19 04:01:56 +00: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
OpenRCT2 git bot
4dac6ff030 Merge Localisation/master into OpenRCT2/develop 2025-01-18 04:02:08 +00:00
Ryan Gudonis
7819a35839
Add #20683 to changelog 2025-01-17 20:01:51 +01:00
X123M3-256
29503e6606
Allow cable lift to start after block brake 2025-01-17 19:38:15 +01:00
73
68789ec882
Fix erroneous statement about branching 2025-01-15 20:29:54 +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
OpenRCT2 git bot
49e5c89ff5 Merge Localisation/master into OpenRCT2/develop 2025-01-12 04:01:50 +00:00
mrmbernardi
d8290a696f
Fix in game console "get location" command (#23598) 2025-01-12 14:06:22 +11:00
73
e791ed6295
Remove outdated note (#23595)
Removed entirely, may need to be altered to mention that OpenRCT2 requires original game files
2025-01-11 22:45:06 +01:00
OpenRCT2 git bot
190c2a9888 Merge Localisation/master into OpenRCT2/develop 2025-01-11 04:01:54 +00:00
Michael Steenbeek
95f977334d
Merge pull request #23591 from Gymnasiast/small-window-fixes
Small window fixes
2025-01-10 18:14:11 +01: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
Aaron van Geffen
7eb8556c60 Update replays to v0.0.86 2025-01-10 13:43:14 +01:00
73
20f191cf1f
Fix typo on changelog (#23587)
customes->costumes
2025-01-10 05:48:42 -03:00
OpenRCT2 git bot
8f84153f0d Merge Localisation/master into OpenRCT2/develop 2025-01-10 04:02:15 +00: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
89ae19e0d9
Merge pull request #23328 from AaronVanGeffen/peep-anim-objects
Introduce peep animation (costume) objects
2025-01-09 22:09:23 +01:00
Aaron van Geffen
26ea601317 Add changelog entries 2025-01-09 21:58:40 +01:00
Aaron van Geffen
0e8b9e94f3 Update objects bundle to v1.5.0 2025-01-09 21:58:16 +01:00
Aaron van Geffen
48be2e911c
Set consumption time when giving items to guests (#23581) 2025-01-09 20:01:53 +01:00
Aaron van Geffen
225a6f3665 Append panda/elephant/tiger objects before other entertainers 2025-01-09 19:51:17 +01:00
Aaron van Geffen
a55e70bc0b
Remove InteractiveConsole.h includes where not required (#23578) 2025-01-09 15:40:47 +01:00
Silent
e1dbaf856e
Tighten the use of locks in JobPool (#23533)
Should result in less lock contention, and therefore marginally faster loading times.
2025-01-09 14:34:05 +01:00
Aaron van Geffen
90143b2e38 Address review comments 2025-01-09 12:34:45 +01:00
Severin Paul Höfer
6b892174f9
Fix #21794: Lay-down coaster cars reverse on first frames of downwards corkscrew 2025-01-09 12:16:45 +01:00
OpenRCT2 git bot
ae805cc9e9 Merge Localisation/master into OpenRCT2/develop 2025-01-09 04:02:01 +00:00
Aaron van Geffen
918766438c
Merge pull request #23540 from AaronVanGeffen/loadsave-file-size
Allow file browser to optionally display file sizes
2025-01-08 22:56:47 +01:00
Aaron van Geffen
5d6dd3930a Add changelog entry 2025-01-08 21:38:07 +01:00
Aaron van Geffen
8d0bb76cab Add kMebiByte, kKibiByte constants 2025-01-08 21:37:28 +01:00
Aaron van Geffen
aa45247f21
Move WindowFind functions into WindowManager (#23517)
* Move WindowFind* functions into WindowManager

* Update parameter documentation where applicable
2025-01-08 21:12:11 +01:00
Michał Janiszewski
a8ef595248 Start v0.4.19 2025-01-08 21:01:44 +01:00
Michał Janiszewski
374476e7d9 Merge branch 'master' into develop 2025-01-08 21:00:52 +01:00
Michał Janiszewski
8c19879e6f Release v0.4.18
- Improved: [#23200] Add banked sloped turns and many other pieces to the Stand-Up and Classic Stand-Up Roller Coaster.
- Improved: [#23260] Add diagonal (block) brakes to LSM Launched Roller Coaster.
- Improved: [#23350] Increased the maximum width of the ride graph window.
- Improved: [#23404] Folders are now paired with an icon in the load/save window.
- Improved: [#23405] Filenames can now be input directly into the file browser (load/save) window.
- Improved: [#23431] Opaque water and Corkscrew Roller Coaster boosters now show up if RCT1 isn’t linked.
- Improved: [objects#369] Updated Russian translation.
- Change: [#23413] The max number of park entrance objects has been raised to 255.
- Fix: [#1122] Trains spawned on a cable lift hill will fall down and crash (original bug).
- Fix: [#19780] Guest screams loop on long drops.
- Fix: [#22742, #22793] In game console does not handle format tokens properly.
- Fix: [#23135] Map generator tree placement has noticable patterns.
- Fix: [#23286] Currency formatted incorrectly in the in game console.
- Fix: [#23348] Console set commands don't print output properly.
- Fix: [#23376] Peeps with balloons, hats and umbrellas may leave artifacts on screen.
- Fix: [#23486] Object selection minimum requirements can be bypassed with close window hotkey.
- Fix: [#23496] Newly spawned vehicles are invisible when spawned while the game is paused.
- Fix: [#23509] Map generator window reverts to flatland after selecting a heightmap image.
- Fix: [objects#359] Fix water colours in Hover Cars preview image.
- Fix: [objects#361] Fix water colours in River Styx boats preview image.
- Fix: [objects#362] Fix water colours in Neptune Ride preview image.
- Fix: [objects#363] Fix water colours in Harpies Trains preview image.
2025-01-08 20:37:35 +01:00
Michał Janiszewski
94dac8cb34 Merge branch 'develop' 2025-01-08 20:35:05 +01:00
Michał Janiszewski
ea58519d1a
Disable ubuntu docker job in individual steps (#23575)
Disable individual steps rather than whole job to make the job report as
passing for SignPath runner verification
2025-01-08 18:52:49 +00:00
Michał Janiszewski
f1e51fd873
Disable lint-commit job that trips up SignPath runner id when skipped (#23574)
Skipping the job makes SignPath's runner verification think it was run
on an external system and with runner verification a strict requirement,
it prevents us from doing a release
2025-01-08 18:31:32 +00:00
ζeh Matt
5261a5c102 Make sure that GuestNextInQueue is not uninitialized 2025-01-06 20:04:39 +02:00