1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-18 04:23:20 +01:00
Commit Graph

21772 Commits

Author SHA1 Message Date
Aaron van Geffen
9f5c675bc9 Update existing windows when toggling 'window buttons on the left' (#24237) 2025-04-18 15:24:33 +00:00
Michael Steenbeek
188245ad69 Fix #22634: Asset packs with sound effect overrides are not loaded correctly at startup 2025-04-18 00:05:35 +02:00
Aaron van Geffen
a8267412c2 Move title height helper functions to WindowBase and fix FlexUI plugins 2025-04-11 23:26:34 +02:00
Aaron van Geffen
883845bcf9 Use larger cross glyph for close button when title bar is enlarged 2025-04-11 20:39:26 +02:00
Aaron van Geffen
3f87e2b67a Centralise ResizeFrame in WindowBase and call when setting widgets or resizing 2025-04-11 20:37:54 +02:00
Aaron van Geffen
6d7b312e7a Make WF_NO_TITLE_BAR actually fit in the uint16_t that is WindowBase::flags 2025-03-14 14:08:14 +01:00
Michael Steenbeek
8d1bb273d8 WIP: Make title bar bigger in Enlarged UI mode 2025-02-24 18:18:12 +01:00
ZeroBreakpoint
76cc04d044 Fix crash in map.getAllEntities("car") when car has an invalid ride 2025-04-17 19:18:23 +02:00
spacek531
2249dffe91 Replace display options tab with custom sprites 2025-04-17 16:45:03 +02:00
Aaron van Geffen
1691cb187e Advance editor step when saving (and go back if user cancels) 2025-04-09 18:37:32 +02:00
Aaron van Geffen
bbcc0e2413 Rework manually drawn labels into label widgets
* Introduce label widgets for land tab

* Introduce label widgets for guest tab

* Introduce label widgets for rides tab

* Introduce label widgets for financial tab
2025-03-28 16:04:02 +01:00
Aaron van Geffen
9b5596d18b Store tab sizes in ScreenSize structs 2025-03-28 16:01:31 +01:00
Aaron van Geffen
c881d2e17e Internally rename 'park' tab into 'land' tab for consistency 2025-03-28 15:55:20 +01:00
Aaron van Geffen
b0b050d42f Add extra editor step for entering scenario details 2025-03-20 16:37:47 +01:00
Aaron van Geffen
50f58d4c4f Change: allow going back in editor when converting a save 2025-03-20 16:34:09 +01:00
Aaron van Geffen
42126cd35d Move 'RCT1 interest' checkbox into the same place as regular interest spinner 2025-03-13 19:18:37 +01:00
Aaron van Geffen
e2d4a25c8a Move 'hard park rating' option to objective tab 2025-03-13 19:15:31 +01:00
Aaron van Geffen
d4478e7814 Fix widget recovery after "no money" toggle 2025-03-13 17:50:34 +01:00
Aaron van Geffen
eca3b4bddd Rework financial options tab with groupboxes 2025-03-13 17:36:41 +01:00
Aaron van Geffen
c2c598e4c2 Add new window titles and tooltips 2025-03-13 16:25:25 +01:00
Aaron van Geffen
d593a50bf7 Split off Scenario Details from Objective tab 2025-03-13 15:56:10 +01:00
Aaron van Geffen
0d141224ba Change dimensions for park tab; use terraform icon 2025-03-13 15:27:05 +01:00
Aaron van Geffen
3a0240f6c4 Move earning model / park entrance price widgets to financial tab 2025-03-13 15:23:07 +01:00
Aaron van Geffen
094a5950b9 Move hard park rating option to finances tab 2025-03-13 14:12:07 +01:00
Aaron van Geffen
49727c62b9 Move difficult guest generation option to guests tab 2025-03-13 14:09:19 +01:00
Aaron van Geffen
11d72d4968 Tweak and use constants more 2025-03-13 14:04:31 +01:00
Aaron van Geffen
807a2fa7c9 Merge objective options into scenario options 2025-03-13 13:57:03 +01:00
Aaron van Geffen
d2d9c15cc3 Consolidate groupbox drawing code 2025-04-17 00:02:29 +02:00
Aaron van Geffen
2de3e96dfb Let checkbox widgets respect widget width for their labels 2025-04-11 16:22:08 +02:00
mix
cfaff31aff Fix narrow station base drawing with incorrect rotation 2025-04-16 11:30:34 +00:00
Duncan
add17b14ae Use aliases in cmake to prevent mistakes. Fix g2 dependency mistake (#24213)
Move libopenrct2 cmake to libopenrct2

Revert using aliases for install
2025-04-14 09:45:37 +01:00
Aaron van Geffen
af40589170 Use WINDOW_SHIM in NetworkStatus and SceneryScatter windows (#24208) 2025-04-13 18:41:58 +02:00
Aaron van Geffen
1381eb4a5c Correctly reposition all tabs when using the cheats window in the editor (#24209) 2025-04-13 18:41:45 +02:00
matheusvb3
b29ed64a67 Changelog.cpp cleanup 2025-04-13 15:40:39 +02:00
Aaron van Geffen
3404405f7e Load scripts in the scenario editor and track designer (#24090)
* Load scripts in the scenario editor and track designer

* Explicitly unload plugins upon saving scenario
2025-04-13 13:41:22 +02:00
Duncan
d5de6c2b49 Start Simplifying CMake code (#24177)
* Use generator expressions

* Update cmake minimum

* Move options and remove project name

* Use further generator expressions

* Try upgrading to CMake 3.25 on Ubuntu 22.04 CI

Install software-properties-common

* Standardise with DISABLE_TTF for disable defines

* Set X64 var differently due to unknown reasons

---------

Co-authored-by: Michael Steenbeek <1478678+Gymnasiast@users.noreply.github.com>
2025-04-11 16:09:52 +01:00
Michael Steenbeek
87765d662d Close #21767: Cannot select macOS version of RCTC as source 2025-04-11 17:00:57 +02:00
Garrett Leach
3578216d4d Remove unused includes (#24186)
Processing GameAction.h takes the most amount of time (in the Windows build) when rebuiding libopenrct2. Reducing the includes should speed the build up by a tiny bit. Window.h used the most processing time for libopenrct2-ui.
2025-04-10 18:05:41 +02:00
Basssiiie
0ae984842b Fix track origin being miscalculated for plugins on downward slopes 2025-04-09 17:29:44 +00:00
Aaron van Geffen
9a897b9633 Merge pull request #24162 from AaronVanGeffen/draw-fixed-top
Rework more hardcoded positions to be anchored in widgets
2025-04-09 18:44:56 +02:00
Michael Steenbeek
cfb4b008b2 Create weak enum for PaletteIndex 2025-04-09 16:47:22 +02:00
Aaron van Geffen
d9ba40b266 Purge leftover references to SetClimate game command (#24104)
* Purge leftover references to SetClimate game command

* Bump network version
2025-04-08 08:51:13 +02:00
Romain
fd0c20f31a Allow disabling the version checker 2025-04-07 23:43:27 +02:00
Garrett Leach
a8c476a9a2 Fix crash from failing to open file for preview (#24171)
If the file open fails in FileStream it will throw an IOException. We now capture that exception in the existing catch.
2025-04-07 21:26:10 +00:00
Michael Steenbeek
ee7c7a3a9a Fix #21919: Non-recolourable cars still show colour picker 2025-04-07 20:50:40 +00:00
mix
70dc237014 Prevent station ends, flat rides and shops invalidating unnecessarily 2025-04-07 22:18:54 +02:00
mix
9bc65f473b Prevent unnecessary tweening invalidations 2025-04-07 22:15:28 +02:00
mix
3c6ff344bb Prevent animation invalidation when paused 2025-04-07 22:12:03 +02:00
Michael Steenbeek
5a9d0d0cd6 Fix #23108: Missing pieces on Hypercoaster and Hyper-Twister, even with cheat 2025-04-07 21:52:24 +02:00
matheusvb3
2adf16f726 Scale lightning and thunder inversely proportional to game speed (#23803)
* Disable lightning flashes at higher speeds

* Scale lightning/thunder inversely proportional to game speed

* Change gGameSpéed from uint32 to uint8

* Update changelog.txt

* Increment network version
2025-04-07 18:45:26 +02:00