1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-06 06:32:56 +01:00
Commit Graph

27595 Commits

Author SHA1 Message Date
Ethan O'Brien
2195abd80a Add ccall to exported runtime methods 2025-01-20 08:06:06 -06:00
Michał Janiszewski
0eca0198dd Emscripten: handle missing assets 2025-01-20 11:33:19 +01:00
Michał Janiszewski
b576d896c6 Upload CI assets from correct path 2025-01-20 11:33:19 +01:00
Michał Janiszewski
4f1e92dbf8 Emscripten: build in CI 2025-01-20 11:33:19 +01:00
Ethan O'Brien
0fc6daf663 Resolve merge conflicts 2025-01-18 18:11:49 -06:00
Ethan O'Brien
c21d369cd6 Check for EMSCRIPTEN variable in emscripten builds 2025-01-18 17:59:00 -06:00
Ethan O'Brien
06ec59d938 Fix pthreads check on emscripten 2025-01-18 17:54:16 -06: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
Ethan O'Brien
f7ca73c6eb Correct Persistent spelling 2025-01-17 09:33:05 -06:00
Ethan O'Brien
b4d72427ff Resolve code formatting issues 2025-01-17 08:36:38 -06:00
Ethan O'Brien
89859a40f9 Move export/import functions to a javascript library 2025-01-17 08:32:25 -06: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
Ethan O'Brien
44d3925408 Only export functions for building gui 2025-01-10 12:58:30 -06:00
Ethan O'Brien
d9c0bec364 Correct variable name 2025-01-10 12:24:48 -06:00
Ethan O'Brien
45453e8bde Reverse wasm architecture check, to match the rest 2025-01-10 12:23:11 -06:00
Ethan O'Brien
8dfe1f91a9 Resolve merge conflicts 2025-01-10 12:16:03 -06:00
Ethan O'Brien
284aa05d89 Add error checking 2025-01-10 12:12:31 -06:00
Ethan O'Brien
a3079c6cbd Fix code formatting flag 2025-01-10 12:08:58 -06:00
Ethan O'Brien
f5eb4d0a37 Pull asset version from the game 2025-01-10 12:07:16 -06:00
Ethan O'Brien
7d25483e5d Remove dockerfile and build scripts 2025-01-10 11:21:55 -06: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
Ethan O'Brien
eff6d6e5b4 Fix behaviour of SetClipboardText on emscripten 2025-01-09 15:56:14 -06:00
Ethan O'Brien
a460aa30da Remove the need to manually compiled vorbis and ogg for emscripten 2025-01-09 15:45:19 -06:00
Aaron van Geffen
5ba6b97d89 Rework InteractiveConsole to use localised object type strings (#23586) 2025-01-09 21:44:41 +00:00
Ethan O'Brien
1a7251d46f Remove dead defines 2025-01-09 15:19:01 -06:00
Ethan O'Brien
e384134898 Don't build assets emscripten 2025-01-09 15:11:20 -06:00
Ethan O'Brien
9cf1517b38 Use tags, instead of commit hashes 2025-01-09 15:10:04 -06:00