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

2265 Commits

Author SHA1 Message Date
Tomáš Chvojka
5dc782c0ee Let heavy snow and blizzard increase chance of brakes failure (#22283) 2024-07-31 14:13:27 +00:00
Aaron van Geffen
bd0dd44c10 Don't assign Toggle Toolbars keyboard shortcut by default (#22424) 2024-07-30 21:41:27 +00:00
Gymnasiast
141ad4c810 Fix #22101: Wrong tunnel type on newly added elements 2024-07-30 23:20:24 +02:00
lewyche
79ceb2d5cb Fix #22389: Alpine coaster has wrong tunnel entrance type 2024-07-30 22:33:13 +02:00
Aaron van Geffen
021a49fd19 Amend changelog 2024-07-28 22:24:08 +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
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
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
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
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
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
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