1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-15 11:03:00 +01:00
Commit Graph

26509 Commits

Author SHA1 Message Date
Aaron van Geffen
cee2eb1461 Move widget strings from localisation to Widget.h (#22279) 2024-07-12 18:47:56 +00:00
Aaron van Geffen
749a1d5ac3 Merge pull request #22277 from AaronVanGeffen/calling-conventions 2024-07-12 18:34:33 +02:00
Aaron van Geffen
51bcbe3710 Move UTF8 functions from localisation into core (#22278) 2024-07-12 19:21:15 +03:00
Aaron van Geffen
2e1fa5e644 Move a few more strings to UiStringIds.h (#22257)
* Replace more StringIds.h includes with StringIdType.h

* Move a few more strings to UiStringIds.h

* Tweak: TextComposition.cpp does not need InteractiveConsole.h
2024-07-12 14:59:00 +02:00
Aaron van Geffen
e3bb105a06 Move SSE41 and AVX2 detection into Platform namespace 2024-07-12 14:38:18 +02:00
Aaron van Geffen
6bea2e8190 Replace custom BitCount implementation with std::popcount (C++20) 2024-07-12 14:35:54 +02:00
Aaron van Geffen
0b011207dc Update CI to use hendrikmuhs/cache-action@v1.2.13 (#22258) 2024-07-11 02:14:05 +02:00
AuraSpecs
8968c7d3fe Update OpenMusic to version 1.6 (#22262) 2024-07-10 07:43:52 +00:00
Aaron van Geffen
4bfd3f3369 Initialise script engine off main thread (#22230)
* Initialise script engine off main thread

* Do not run ScriptEngine.Tick() during initialisation/preloading

* Add 'Loading plugin engine…' string

* Add changelog entry

---------

Co-authored-by: Bas <Basssiiie@users.noreply.github.com>
2024-07-09 20:19:01 +02:00
Aaron van Geffen
6072545c0c Move FASTCALL and RESTRICT into new CallingConventions.h file 2024-07-09 15:12:11 +02:00
AuraSpecs
bc0f6c4489 Hide author info in the scenery window unless debug tools are active (#22251) 2024-07-08 22:21:38 +02:00
Fredrik Tegnell
940c348fa6 Display object author info in ride selection window (#20952)
Co-authored-by: Aaron van Geffen <aaron@aaronweb.net>
2024-07-08 20:17:05 +00:00
Aaron van Geffen
7f281a269d Add changelog entry for #20980 2024-07-08 17:04:50 +02:00
John
71cba8ac37 Add music track listing to ride music window (#20980)
Co-authored-by: Aaron van Geffen <aaron@aaronweb.net>
2024-07-08 17:03:54 +02:00
Arnold Zhou
376e749a70 Allow plugins to focus on textboxes in custom windows (#22213) 2024-07-08 14:49:15 +02:00
Arnold Zhou
aa11d8ddfe Expose ride satisfaction to plugin api (#22172) 2024-07-08 10:53:14 +02:00
Michał Janiszewski
1af27a62d9 Start v0.4.13 2024-07-07 18:20:25 +02:00
Michał Janiszewski
b7a6d65bcf Merge branch 'master' into develop 2024-07-07 18:19:38 +02:00
Michał Janiszewski
1b5ff882d3 Release v0.4.12
- Feature: [#622] Add option to align the top toolbar buttons horizontally centred (off by default).
- Feature: [#20263] Ability to increase the size of the map in the (0, 0) direction.
- Feature: [#21714] [Plugin] Costume assignment is now tailored to each staff type.
- Feature: [#21853] Enlarged UI mode.
- Feature: [#21893, #22065] On launch, the game now indicates what system is being initialised.
- Feature: [#21913] [Plugin] Allow precise and safe control of peep animations.
- Feature: [#22046] [Plugin] Add interface for crashed vehicle particle.
- Feature: [#22085] [Plugin] The result of actions that create banners now includes the bannerIndex.
- Feature: [#22087] [Plugin] Expose guests’ favourite rides to the plugin API.
- Feature: [#22090] [Plugin] Allow writing of paused state in non-networked settings.
- Feature: [#22140] Add option to automatically close dropdown menus if Enlarged UI is enabled.
- Feature: [#22150] [Plugin] Expose monthly expenditure history to the plugin API.
- Feature: [#22210] [Plugin] Peeps can now be made stationary or completely frozen.
- Feature: [#22210] [Plugin] The direction in which a peep is facing can now be manipulated.
- Improved: [#19870] Allow using new colours in UI themes.
- Improved: [#21774] The Alpine Coaster now supports using the alternative colour schemes.
- Improved: [#21853] Dropdowns now automatically use multiple columns if they are too tall for the screen.
- Improved: [#21981] Rendering performance of the map window has been improved considerably.
- Improved: [#21981] The map window now defaults to showing as much of the map as fits the screen.
- Improved: [#21983] Taking a screenshot now shows a message again, closing when taking another.
- Improved: [#22026] The options window now stays centred when window scaling is changed.
- Improved: [#22060] [Plugin] The scroll wheel can now be used to modify spinner widget values in custom/script windows.
- Improved: [#22065] Joining a network game now indicates progress using coaster trains.
- Improved: [#22075] [Plugin] Plugins can now use G1 Icons.
- Improved: [#22084] The game now temporarily pauses while the load/save window is open.
- Improved: [#22217] See-through items are ignored again in viewport/pointer interaction.
- Improved: [objects#238] Add preview image for invisible queue.
- Improved: [objects#329] Add RCT1AA lay-down coaster trains (for import only).
- Change: [#7248] Small mini-maps are now centred in the map window.
- Change: [#20240] Heavy snow and blizzards now make guests buy and use umbrellas.
- Change: [#21043] The new music styles are no longer added to old parks automatically.
- Change: [#21214] Wacky Worlds and Time Twister’s scenario names now match their park names.
- Change: [#21991] UI themes JSON now use colour names and a translucency bool, instead of a number (old themes still work).
- Change: [#22057] Reorder Time Twister’s scenarios and adjust their difficulty classification.
- Change: [#22173] Patrol path selection is visible over existing patrol paths.
- Change: [#22196] Make track navigation buttons holdable.
- Change: [#22227] [Plugin] Ride prices are now constrained for plugins as well.
- Fix: [#13234] Vehicle weight sometimes wrong after using Remove All Guests cheat.
- Fix: [#13294] Map corners are cut off in some directions (original bug).
- Fix: [#14630] Non-ASCII thousands and decimal separators not processed correctly.
- Fix: [#21496] Some RCT1 scenery is hidden after saving and reloading.
- Fix: [#21533] Support glitches on Hybrid Coaster.
- Fix: [#21974] No reason specified when attempting to place benches, lamps, or bins on path with no unconnected edges (original bug).
- Fix: [#21987] [Plugin] API cannot handle negative removal prices.
- Fix: [#22008] Uninverted Lay-down roller coaster uses the wrong support type.
- Fix: [#22012] [Plugin] Images on ImgButton widgets cannot be updated.
- Fix: [#22121] Some news items in the “Recent Messages” window have the wrong text colour.
- Fix: [#22152] [Plugin] Negative signed integers are truncated.
- Fix: [#22161] Using arrow keys in textboxes crashes the game.
- Fix: [#22174] Cheats are reset when starting a server.
- Fix: [#22185] Intensity and nausea are incorrectly sorted in the rides list after ratings invalidation.
- Fix: [#22226] Red traffic light shows incorrect sprite when pressed.
- Fix: [objects#323] Incorrect wall boundaries on large WW/TT scenery objects.
- Fix: [objects#331] Incorrect hover car capacity string.
- Fix: [objects#334] Incorrect school bus capacity string.
- Fix: [objects#337] Swan Boats use an incorrect third remap colour (original bug).
v0.4.12
2024-07-07 17:32:49 +02:00
Michał Janiszewski
860c52765d Merge branch 'develop' 2024-07-07 17:27:34 +02:00
Aaron van Geffen
889860cc2e Add invalidation to frozen peeps (#22236) 2024-07-07 15:30:10 +02:00
Michał Janiszewski
be0ca5a1d2 Update libraries to v36 (#22235)
Downgrade breakpad

Fixes #22003
2024-07-07 09:41:18 +00:00
Michael Steenbeek
9d8d4552cd Do not add new music styles to old park automatically 2024-07-06 16:59:15 +00:00
lewyche
78300a80dd Fix #22185: Intensity and nausea are incorrectly sorted in the rides list after ratings invalidation
Co-authored-by: Michael Steenbeek <1478678+Gymnasiast@users.noreply.github.com>
2024-07-06 16:27:18 +02:00
Aaron van Geffen
447bb865a4 Merge pull request #22210 from AaronVanGeffen/peep-refactor
Introduce peep flags for fixed position and animation
2024-07-06 16:08:08 +02:00
Aaron van Geffen
7adf817fa6 Amend changelog 2024-07-06 15:16:08 +02:00
Aaron van Geffen
83e5aeb9c5 Increment versions for park format, script engine, network for new flags 2024-07-06 15:14:12 +02:00
Michael Steenbeek
fb4c1451e4 Fix #22226: Traffic light shows incorrect sprite 2024-07-06 14:23:10 +02:00
Aaron van Geffen
90dee86267 Constrain plugins to normal range when assigning ride prices (#22227)
* Constrain plugins to normal range when assigning ride prices

* Introduce kRideMinPrice, kRideMaxPrice

* Adjust RideSetPriceAction to fail in case of invalid price

* Add changelog entry
2024-07-06 09:39:00 +00:00
Michael Steenbeek
7e014753b1 Fix #21533: Hybrid C diagonal incline support glitch (#22223) 2024-07-05 20:22:13 +02:00
Aaron van Geffen
f2c266d310 Allow scripts to manipulate peep directions 2024-07-05 15:46:03 +02:00
Michael Steenbeek
4204d767bb Merge pull request #22220 from Gymnasiast/refactor/more-track-4
Sync more TrackDesign fields with their Ride counterparts
2024-07-05 10:41:47 +02:00
Gymnasiast
02d41c83cc Simplify TD6 struct 2024-07-04 01:14:00 +02:00
Gymnasiast
6d8ffeb99c Fix formatting 2024-07-04 00:29:41 +02:00
Gymnasiast
64230380af Sync more TrackDesign fields with their Ride counterparts 2024-07-04 00:29:41 +02:00
Gymnasiast
624aa53038 Pass TrackDesign by reference 2024-07-04 00:29:41 +02:00
Gymnasiast
3977841dd9 Move track and vehicle settings to their own struct 2024-07-04 00:29:41 +02:00
Gymnasiast
e47f526067 Move variables not saved in the track design to their own struct 2024-07-04 00:29:40 +02:00
Gymnasiast
56accb3790 Use RatingTuple across the codebase 2024-07-04 00:29:40 +02:00
Aaron van Geffen
7dcedfb260 Prevent having ANIMATION_FROZEN set while POSITION_FROZEN is not 2024-07-03 23:09:56 +02:00
Michael Steenbeek
c46701983b Merge pull request #22216 from Gymnasiast/refactor/more-track-3
More track design refactors
2024-07-03 09:33:02 +02:00
Aaron van Geffen
658529464b Ignore partially hidden sprites for viewport interaction (#22217) 2024-07-02 23:18:38 +02:00
Gymnasiast
bc13b46f96 Do not use td6 as a variable name for TrackDesign 2024-07-02 22:35:20 +02:00
Gymnasiast
9a616cd055 Remove vehicleType parameter (not used by OpenRCT2 and RCT2) 2024-07-02 22:35:20 +02:00
Gymnasiast
918ccf4c63 Move track design operations to its own struct 2024-07-02 22:35:20 +02:00
Gymnasiast
2c7d2fff7c Move track design appearance to its own struct 2024-07-02 22:35:19 +02:00
Gymnasiast
2c6491f34a Move track design statistics to their own struct 2024-07-02 17:08:05 +02:00
Gymnasiast
5fa007eb3b Make TrackDesignTrackElement adhere to new coding style 2024-07-02 16:45:32 +02:00
Gymnasiast
fe76427bf3 Make TrackDesignTrackElementFlag adhere to new coding style 2024-07-02 16:35:45 +02:00
Gymnasiast
2372ae39bd Make TrackDesignState adhere to new coding style 2024-07-02 16:30:04 +02:00