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

26600 Commits

Author SHA1 Message Date
Aaron van Geffen
b87e8fd193 Group entrances and terrain objects as well 2024-07-28 14:52:35 +02:00
Aaron van Geffen
a55b1ec17c Refactor preview pane positioning logic 2024-07-23 14:10:39 +02:00
Aaron van Geffen
bc04f2be65 Make filter dropdown an actual dropdown 2024-07-23 14:29:09 +02:00
Aaron van Geffen
76f295b7be Make 'advanced' object selection mode the only mode
This removes the ObjectPageFlags again
2024-07-23 13:37:01 +02:00
Aaron van Geffen
92c92e6316 Move tabs with sub-tabs to start of the tab strip 2024-07-23 13:29:54 +02:00
Aaron van Geffen
1de7cb433e Introduce sub-tabs for scenery-related object types 2024-07-23 13:28:59 +02:00
Aaron van Geffen
3b4c5ce3ef Introduce sub-tabs for path-related object types 2024-07-23 13:26:23 +02:00
Aaron van Geffen
a2a6deaf7b Object selection window: generalise sub-tab logic
* Introduce ObjectSubTab struct and kRideObjectSubTabs

* Make subtab frame non-interactible

* Give sub-tab widgets a more general name

* Integrate TabOrder into ObjectSelectionPages

* Apply filter from subpage definition

* Rewrite GetSelectedObjectType to account for sub-tabs

* Improve sub-tab toggling behaviour
2024-07-22 15:47:34 +02:00
Aaron van Geffen
6b72aaed0c Make UtilBitScanForward a header implementation (#22406) 2024-07-28 19:43:07 +00:00
Aaron van Geffen
51816d2bd5 Disambiguate calls to UtilBitScanForward (#22402) 2024-07-28 18:44:59 +02:00
Michael Steenbeek
a0be444d24 Improve contrast for error messages
Co-authored-by: Aaron van Geffen <aaron@aaronweb.net>
2024-07-28 11:19:59 +02:00
Aaron van Geffen
0df7e41f59 Fix #17390: Object selection ride tab uses wrong animations (#22351)
* Object selection ride tab uses wrong animations

* Keep track of currently selected sub-tab

* Add changelog entry
2024-07-27 21:54:19 +02:00
Aaron van Geffen
b02d461b02 Make SoftwareWithHardwareDisplay the default drawing engine (#22346) 2024-07-27 19:53:11 +02:00
mrmbernardi
9ed5c63857 Rename Location.hpp constants (#22385) 2024-07-26 10:23:25 +02:00
Aaron van Geffen
05e56517ab Adopt existing namespaces into OpenRCT2 namespace (#22368)
* Put all of TitleSequenceManager into the same namespace

* Move RideConstructionState into the OpenRCT2 namespace

* Adopt existing namespaces into OpenRCT2 namespace

This adds `using namespace OpenRCT2` to compilation units where appropriate,
as a means to get the codebase to compile until these units have been placed
in a namespace of their own.
2024-07-26 09:59:58 +02:00
Michael Steenbeek
ecbb79db4c Fix apostrophes in changelog 2024-07-26 09:09:18 +02:00
Andrew
df07d9cb2b Close #19596: Disable replay effects with a startup flag (#22303) 2024-07-25 17:29:01 -03:00
Guy Sviry
30a555d3c2 Expose vehicle.trackType to scripting (#22272)
Co-authored-by: Guy Sviry <guy@axissecurity.com>
2024-07-25 17:27:15 -03:00
Duncan
06bb987979 Add missing string includes (#22378) 2024-07-25 10:56:32 +02:00
lewyche
62467199ed Fix #22265: Track button doesn't stay pressed 2024-07-25 09:44:11 +02:00
Arnold Zhou
a749698566 [Plugin API] Feat: Expose staff statistics (#22184) 2024-07-24 20:10:34 -03:00
Aaron van Geffen
725f2c9576 Update outdated copyright notice in coaster files (#22373) 2024-07-25 00:49:56 +02:00
73
543d4f6ee8 Add RCT1 colour preset for Observation Tower Pole (#22361)
Adds white and yellow preset to Observation tower pole from rct1 thumbnail.
2024-07-25 00:03:16 +02:00
Aaron van Geffen
cfc1f05260 Use correct line endings in VehicleSubpositionData.cpp (#22366) 2024-07-24 19:41:26 +02:00
Stephan Spengler
ba779ac64c Change ToolEventArgs.mapCoords from CoordsXYZ to CoordsXY
Testing showed that the event returns CoordsXY instead of CoordsXYZ. The code can be traced back to InteractionInfo.Loc (Viewport.h), which is CoordsXY.
2024-07-24 16:42:02 +02:00
Aaron van Geffen
869314e386 Start playing title music only after title sequence is loaded (#22363) 2024-07-24 14:45:35 +02:00
mrmbernardi
3e59b3f72e Fix #22339: Printing ui.tool.cursor in console crashes the game. (#22347) 2024-07-24 07:51:10 +00:00
Aaron van Geffen
4cef38456a Keep progress bar window centred after resize (#22354) 2024-07-23 17:21:06 +00:00
Arnold Zhou
2da5ed6517 [Plugin API] Fix: add missing hook types, order & style (#22134) 2024-07-23 07:49:57 -03:00
OpenRCT2 git bot
035e4091e9 Merge Localisation/master into OpenRCT2/develop 2024-07-22 04:02:02 +00:00
mrmbernardi
bdb4823d48 Fix #22209: Water tool selection may disappear near edge of map (#22256) 2024-07-21 20:32:23 +00:00
Karsten Van Fossan
0c318a416e Automatically set window scaling based on display pixel density (#21907)
Co-authored-by: Aaron van Geffen <aaron@aaronweb.net>
2024-07-21 22:10:32 +02:00
Aaron van Geffen
d156c6e1ef Use infinity icon in object selection window too (#22344) 2024-07-21 22:09:32 +02:00
mrmbernardi
58e4a5031e Fix #22222: Staff list may remain invalid when changing tabs. (#22342) 2024-07-21 01:35:22 +10:00
mrmbernardi
f9a7d98b21 Fix #22333: Tile inspector closes other tool windows (#22341) 2024-07-20 23:14:37 +10:00
OpenRCT2 git bot
3467760ef8 Merge Localisation/master into OpenRCT2/develop 2024-07-18 04:02:11 +00:00
Tomáš Chvojka
c9be2ecca1 Fix #22245: Unrated rides cause high amount of nausea (#22284)
Reverts #22199 changes that seem to cause a nausea bug on untested rides

Nulls are now considered higher values than anything, making them appear on the tail of ascending lists again

Checking for NULL in ratings.intensity and ratings.nausea didn't work, they seem to retain there values pre ratings reset and setting them to null would change the behaviour of the game - so instead we check for ratings.isNull() in the sorting to properly put null ratings to tail of sorted lists.
2024-07-17 12:52:00 +02:00
OpenRCT2 git bot
b081dffa92 Merge Localisation/master into OpenRCT2/develop 2024-07-17 04:01:57 +00:00
Aaron van Geffen
48d65627f8 Fix invalidation issue with title version strings (#22317) 2024-07-16 23:40:54 +03:00
Aaron van Geffen
a3ea3a70c5 Fix #22318: Water sparkles missing if transparent water enabled (#22319)
The transparent water mode should always be enabled in cases where RCT1 is not linked.
2024-07-16 23:40:03 +03:00
Aaron van Geffen
1d361a07e3 Merge pull request #22301 from AaronVanGeffen/more-progress-bars
Add progress bars to loading saved games and scenarios
2024-07-16 20:04:21 +02:00
Aaron van Geffen
7be74f2746 Add changelog entry 2024-07-16 19:53:17 +02:00
Aaron van Geffen
e645fc7ac4 Widen progress range for object loading proces 2024-07-16 19:30:48 +02:00
Aaron van Geffen
a5054c68d1 Add progress reporting to loading required objects 2024-07-16 18:14:44 +02:00
Aaron van Geffen
faac0ebeb5 Rewrite ObjectManager::LoadObjects to use a JobPool 2024-07-16 18:14:23 +02:00
mrmbernardi
461b4b9669 Fix #22304: Graphs don't draw lines on the left edge of the screen (#22315) 2024-07-17 02:01:11 +10:00
Aaron van Geffen
4a981be643 Simplify scenario editor's landscape loading code (#22309) 2024-07-16 08:49:02 +02:00
OpenRCT2 git bot
d9408be4ed Merge Localisation/master into OpenRCT2/develop 2024-07-16 04:02:51 +00:00
Aaron van Geffen
d9efdd4cad Prevent loading saved games twice in LoadSave window callback (#22305) 2024-07-15 19:50:53 +00:00
Aaron van Geffen
5ae97d4d3b Move title version info to its own window (#22302) 2024-07-15 22:33:01 +03:00