1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-17 20:13:07 +01:00
Commit Graph

2249 Commits

Author SHA1 Message Date
Arnold Zhou
2da5ed6517 [Plugin API] Fix: add missing hook types, order & style (#22134) 2024-07-23 07:49:57 -03: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
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
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
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
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
Aaron van Geffen
d9efdd4cad Prevent loading saved games twice in LoadSave window callback (#22305) 2024-07-15 19:50:53 +00:00
mrmbernardi
cfa507350b Update changelog.txt to list issue #22208 as an original bug 2024-07-16 03:15:17 +10:00
Silent
76b55651b6 Stop (and discard) the replay before tearing down the scripting engine (#22293)
Fixes a shutdown crash on tearing down Duktape values after their
context has already been destroyed.

Fixes #22056
2024-07-15 08:43:06 +02:00
cheweytoo
ab43ebdace Added changelog entry for issue #22208 (#22295) 2024-07-15 00:27:04 +10: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
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
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
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).
2024-07-07 17:32:49 +02: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
7adf817fa6 Amend changelog 2024-07-06 15:16:08 +02:00
Aaron van Geffen
f2c266d310 Allow scripts to manipulate peep directions 2024-07-05 15:46:03 +02:00
Aaron van Geffen
ed6bde7d56 Introduce peep flags for static positions and animations 2024-06-29 14:42:09 +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
658529464b Ignore partially hidden sprites for viewport interaction (#22217) 2024-07-02 23:18:38 +02:00
Arnold Zhou
58e576688c Amend changelog (#22214) 2024-07-01 13:20:00 +10:00
mrmbernardi
b4a38e42ce Close #22173: Patrol path tiles change colour to show selection. (#22201) 2024-06-29 16:54:32 +00:00
Arnold Zhou
4975e79bac Close #22171: Make track section navigation buttons holdable 2024-06-26 08:33:14 +02:00
Michael Steenbeek
d53b6922a3 Close #21774: Enable alternative colour schemes on Alpine RC 2024-06-25 12:19:41 +02:00
Michael Steenbeek
a4839ea975 Merge pull request #22194 from Gymnasiast/fix/22161
Fix #22161: Using arrow keys in textboxes crashes the game
2024-06-25 12:19:23 +02:00
spacek531
4e72d580f8 Allow non-networked plug-ins to set pause state directly 2024-06-25 11:36:01 +02:00
UnknownShadow200
232f37e186 Fix #22161: Using arrow keys in textboxes crashes the game 2024-06-25 11:23:23 +02:00
Arnold Zhou
889139976f Fix #22174: Cheats are reset when starting a server 2024-06-25 08:17:45 +02:00
Arnold Zhou
a0f5d09408 Expose monthly expenditure history to plug-in API 2024-06-23 22:49:49 +02:00
Michael Steenbeek
f9a06ae01b Fix #21496: RCT1 scenery hidden after reloading (#22181) 2024-06-21 20:50:15 +02:00
Arnold Zhou
fb7961e30a Split off Enlarged UI from touch enhancements
Co-authored-by: Gymnasiast <Gymnasiast@users.noreply.github.com>
2024-06-14 20:49:12 +00:00
Arnold Zhou
0254b570d8 Dukvalue uint int fixes 2024-06-06 21:39:22 +02:00
Stephan Spengler
71a8eee5c6 Fix #21987: API cannot handle negative removal prices 2024-06-06 12:01:51 +02:00
Michael Steenbeek
d4f97d3875 Update objects release to v1.4.6 2024-06-01 22:17:19 +02:00
Stephan Spengler
73043106ed [Plugin] Add banner index to banner creation result 2024-05-29 22:35:35 +02:00
spacek531
94750f4e34 Add plugin API to VehicleCrashedParticle 2024-05-29 12:32:41 +02:00
Michael Steenbeek
fc0b5fde27 Fix #13234: Wrong vehicle weight after using Remove All Guests cheat 2024-05-29 01:29:43 +02:00