Commit graph

1996 commits

Author SHA1 Message Date
Matt
27febaacce
Increase network timeout, small refactors (#22433)
* Refactor consts with kNotion, make static

* Increase the no data timeout to 20 seconds, add constant

* Fix debug builds

* Update changelog.txt
2024-08-01 10:50:50 +02:00
Aaron van Geffen
706fd8f3f0 Fix #21175: Some hotkeys don't work when toolbars are hidden 2024-07-31 21:54:10 +02:00
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
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
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
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
Michael Steenbeek
6ac6db489c
Fix text colour in Recent Messages 2024-05-28 22:08:24 +00:00
Arnold Zhou
01319ff352
Expose guest's favourite ride (ID) to plugin API 2024-05-27 15:18:02 +02:00
Harry Hopkinson
68f2b0f207
Close #18829: Add g1 icons to scripting 2024-05-26 21:48:42 +02:00
Michael Steenbeek
5e81bc7ad2
Add #19870 and #21991 to changelog 2024-05-26 12:43:42 +02:00
Aaron van Geffen
f5b5e45069
Merge pull request #22065 from AaronVanGeffen/progress-bars
Introduce progress/loader window
2024-05-26 12:18:14 +02:00
Aaron van Geffen
ceed2c0c3a Amend changelog 2024-05-26 12:07:23 +02:00
Michael Steenbeek
8f8149f1e5
Fix apostrophes in changelog
[ci skip]
2024-05-26 11:53:21 +02:00
Aaron van Geffen
57bdae9d49 Refactor WindowOtherWheelInput to be safer and script window compatible 2024-05-18 15:59:12 +02:00
Aaron van Geffen
fd12a507a0
Pause the game while LoadSave window is open (#22084) 2024-05-24 23:32:57 +02:00
Ryan Gudonis
f5834d67db
Change difficulty order for Time Twister scenarios (#22057)
Based off a playtest session by HtotheTML (https://github.com/OpenRCT2/OpenRCT2/discussions/22055)

Co-authored-by: HtotheTML <108596959+HtotheTML@users.noreply.github.com>
2024-05-24 13:57:56 +00:00
Michael Steenbeek
308cc3c9a0
Fix #14630: Number separators not processed correctly 2024-05-23 21:08:28 +02:00
Michael Steenbeek
06e2363b1e
Merge pull request #20263 from IntelOrca/shift-map
Add functionality to shift the entire map
2024-05-19 21:33:52 +02:00
Michael Steenbeek
15d5f75a2b
Merge pull request #21853 from Gymnasiast/feature/touch-mode
Add enlarged UI
2024-05-18 22:22:10 +02:00
HtotheTML
c907d02a05
Use park names for WW/TT scenarios 2024-05-18 21:37:54 +02:00
Gymnasiast
0311f4b875
Update changelog 2024-05-18 21:11:40 +02:00
Ted John
774a8a382f
Increment network version 2024-05-18 21:10:53 +02:00
Gymnasiast
6c31491bff
Add changelog entry 2024-05-18 20:57:04 +02:00
Aaron van Geffen
f51404d29d Amend changelog 2024-05-07 11:20:56 +02:00
Stephan Spengler
f4156e9043
Create or delete banners when tile elements are changed by plugins (#21627) 2024-05-17 07:54:51 -03:00
Aaron van Geffen
6c66bff4b6
Let heavy snow and blizzards make guests buy and use umbrellas (#21986) 2024-05-14 19:18:42 +02:00
Aaron van Geffen
4ffe00aaba
Keep options window centred after a resize (#22026) 2024-05-12 21:07:32 +00:00
Michael Steenbeek
0e245692b2
Fix #22008: Lay-down roller coaster uses the wrong supports 2024-05-12 10:37:53 +02:00
Harry Hopkinson
bda383c236
Fix #22007: Cannot update image of ImgButton from plugins 2024-05-11 13:32:14 +02:00
Aaron van Geffen
e423575411 Add a config setting to toggle toolbar mode 2024-05-08 21:19:57 +02:00
Aaron van Geffen
347ce53f26
Re-introduce message on successful screenshot (#21983)
* Re-introduce message on successful screenshot

* Automatically close previous screenshot notices before new ones
2024-05-10 15:04:12 +02:00
Mike
d58673105d
Close #21974: No reason specified when attempting to place path additions on junctions 2024-05-09 12:45:33 +00:00
Aaron van Geffen
376cb1f74a Add changelog entries 2024-05-08 17:52:58 +02:00
Aaron van Geffen
893392d987
Scripting: allow precise and safe control of peep animations 2024-05-05 21:09:41 +00:00
Aaron van Geffen
831c7651bb
Scripting: tailor costume assignment to each staff type
In order to transition staff costumes to objects, we must further disentangle staff from regular peeps. This has many advantages, such as making custom entertainers or even handymen costumes. However, this means putting some restrictions on what costumes can be assigned to staff in the mean while.

We are aware of plug-ins allowing staff to be decorated like normal peeps, though, e.g. using @Manticore-007's Peep Editor. Splitting staff from peeps will mean breaking such functionality. We can do our very best to reverting 'invalid' staff to their normal outfits instead of them outright disappearing. However, in the mean time, we should disallow peep costumes from being assigned to staff to prevent further disappointment down the line.

Once we get to actually adding custom staff costumes, I plan to add a new plug-in API to get available costumes for a particular staff type. This would apply to entertainers, but also other staff types. This should make it easier for plug-in authors to tap into custom costumes in the future.
2024-05-05 22:41:52 +02:00
Michał Janiszewski
c8ec8a550a Start v0.4.12 2024-05-05 21:00:39 +02:00
Michał Janiszewski
18d2b5ef6e Release v0.4.11
- Feature: [#11512] Coloured usernames by group on multiplayer servers.
- Feature: [#21734] Park admittance price can now be set via text input.
- Feature: [#21957] [Plugin] Expose whether the game is paused to the plugin API.
- Improved: [#21728] “Fix all rides” cheat now also works if a mechanic is already fixing the ride.
- Improved: [#21769] Expose “animation is backwards” wall property in Tile Inspector.
- Improved: [#21855] Add a separator between “Load Game” and “Save Game”, to avoid accidental overwriting.
- Change: [#21715] [Plugin] Remove access to the internal `owner` property. Note: `ownership` is still accessible.
- Change: [#21855] Cheats menu dropdown no longer requires dragging.
- Change: [#21866] Hide the FPS Counter when the top toolbar/widgets have been toggled off.
- Change: [#21950] Construction and removal buttons can now be held down for repeated placement.
- Fix: [#866] Boat Hire boats get stuck entering track (original bug).
- Fix: [#10701] No reason specified when placing door over unsuitable track.
- Fix: [#18723, #21870] Attempting to demolish a flat ride in pause mode allows you to place multiple copies.
- Fix: [#19559] Custom rides with long descriptions extend into lower widgets.
- Fix: [#21696] Fullscreen window option not correctly applied on macOS.
- Fix: [#21749] Crash when loading park bigger than current limits.
- Fix: [#21787] Map generator heightmap should respect increased height limits.
- Fix: [#21829] When creating a new scenario, the default name contains formatting codes.
- Fix: [#21937] Build errors with the ORIGINAL_RATINGS flag.
- Fix: [objects#324] Cannot build Colosseum inside a turn or helix.
- Fix: [objects#325] Sloped castle walls are vertically offset by one pixel (original bug).
2024-05-05 20:01:29 +02:00
Aaron van Geffen
fa90a84d22
Make construction and removal buttons holdable (#21950)
* Footpath: make construction button holdable

* RideConstruction: make construction button holdable

* Allow repeated removal as well

* Amend changelog
2024-05-05 11:38:49 +00:00
Harry Hopkinson
bbc5a109ef
Close #20157: Hide FPS Counter if top toolbar is hidden 2024-05-05 00:16:23 +02:00
Katherine Norton
cd528665e6
Expose whether the game is paused to the plugin API 2024-05-03 15:59:57 +00:00
Michał Janiszewski
a088f7615b
Fix #21748: TileElement out of bounds (#21749)
* Fix #21748: TileElement out of bounds

This fixes crashes observed and allows the park to load. The park is
overlarge and breaks some assumptions we have in our code.

* Use ternaries for checking conditions
2024-05-02 18:14:22 +02:00
Ryan Gudonis
339a572d03
List Fix #866 as original bug (#21953) 2024-05-01 19:47:11 +02:00
Big-Blue-1
e31bebbedf
Fix build errors with the ORIGINAL_RATINGS flag (#21937) 2024-04-30 10:15:11 -03:00
Michael Steenbeek
44c442f832
Fix #21870: Demolishing flat ride in pause mode allows copies 2024-04-30 13:50:04 +02:00
Gymnasiast
6335906d03
Fix #10701: No explanation when placing door over unsuitable track 2024-04-28 22:53:01 +02:00
JDCustard
fe6da02718
Close #21728: Apply "Fix all rides" even if mechanic is already working
Added checks for mechanic fixing plus handles inspecting and calling.
2024-04-28 22:07:07 +02:00
Michael Steenbeek
03926c46d0
Update to v1.4.4 objects release 2024-04-27 19:30:39 +02:00
Gymnasiast
8beb50da61
Add a separator between “Load Game” and “Save Game” 2024-04-25 15:27:04 +02:00
Gymnasiast
9e236d1b5a
Fix #19559: Vehicle descriptions spill over into preview 2024-04-25 15:27:04 +02:00
Gymnasiast
9906a18bc7
Cheats menu: do not autoclose 2024-04-25 14:10:07 +02:00
Kaavya Ramachandhran
1b4defbae9
Fix #21696: Fullscreen window option not correctly applied on macOS 2024-04-23 23:20:16 +02:00
73
30d314e463
Fix #21829: {POP16}{POP16} in Scenario editor
Remove notation from string
2024-04-23 19:52:11 +02:00
evmarcus
1f761faee0
Close #11512: Add coloured usernames in multiplayer servers by group
Co-authored-by: mbilik <mbilik@umich.edu>
Co-authored-by: Matt <matthewsings5@gmail.com>
2024-04-20 21:40:18 +00:00
Michał Janiszewski
b64ec76c95
Fix #21787: Map generator heightmap should respect increased height limits (#21798) 2024-04-15 15:19:18 +00:00
Duncan
3ce917e2e1
Fix #6725: Z-fighting when car passes through scenery door 2024-04-13 21:32:55 +02:00
Aaron van Geffen
a4bd20bcfc
Add changelog entry 2024-04-12 22:00:14 +02:00
Rik Smeets
953bb4ee91
Park admittance price can now be set via text input 2024-04-12 18:38:08 +00:00
Michael Steenbeek
005aece802
Expose “animation is backwards” flag in Tile Inspector 2024-04-12 18:08:34 +00:00
Michael Steenbeek
4e7d5d987a
Merge pull request #21745 from rik-smeets/fix-stuck-boat-hire
Fix #866: Boat Hire boats get stuck entering track
2024-04-10 12:16:38 +02:00
Rik Smeets
e250ec3b66 Fix #866: Boat Hire boats get stuck entering track 2024-04-10 07:58:39 +02:00
Michael Steenbeek
c3cf6f01ca
Add #15782 to changelog
Addressed in https://github.com/OpenRCT2/OpenRCT2/pull/21351.
2024-04-05 13:17:48 +02:00
Michał Janiszewski
58249538eb Start v0.4.11 2024-04-02 23:39:48 +02:00
Michał Janiszewski
e55d761eb7 Release v0.4.10
- Feature: [#18171] Add port of the RCT1 Stand-Up Roller Coaster.
- Feature: [#21590] [Plugin] Plugins can now read and write banner properties of tile elements.
- Feature: [#21636] Add shortcut key for sorting tile elements.
- Feature: [objects#294] Add scenery versions of wooden truss supports.
- Feature: [objects#295] Flipped version of wooden post.
- Improved: [#21424] Extra viewports can now rotate independently from the main viewport.
- Improved: [#21561, #21631] Enable more features in Android build (plugins, networking, multiplayer, audio formats).
- Improved: [#21599] Currency signs now use non-breaking spaces.
- Improved: [objects#157] Added sloped images for many walls.
- Improved: [objects#288] Better map colours and more sensible prices for RCT1 land surfaces.
- Improved: [objects#292] Vehicle colour cleanups for WW/TT vehicles.
- Improved: [objects#299] More accurate ratings modifiers for RCT1 vehicles.
- Improved: [objects#309] Updated names for dodgems and flying saucers vehicles.
- Improved: [objects#313] buildMenuPriority for dodgems and flying saucers vehicles.
- Change: [#21529] Classify “Southern Sands”, “Tiny Towers”, “Nevermore Park”, “Pacifica” as expert scenarios.
- Change: [#21545] Reorder Wacky Worlds scenarios and adjust their difficulty classification.
- Fix: [#910] Extra viewport does not preserve the location when rotating.
- Fix: [#18413] Crash when mouse over a hacked train.
- Fix: [#20338] Cannot select Scenery Picker or Scatter Tool when the scenery recolouring tool is active.
- Fix: [#21317] Track designer allows proceeding without an object selected.
- Fix: [#21360] If the object selection is missing certain types, the Object Selection window will switch to an incorrect tab.
- Fix: [#21419] Cannot place walls underground beneath sloped tiles with clearance checks disabled.
- Fix: [#21434] Number of guests overflows in objective text.
- Fix: [#21522] Supports for 3×3 turns and 45 degree turns on the Hybrid Coaster and Wooden Roller Coaster not drawn correctly.
- Fix: [#21543] Crash with creating a TrackIterator with invalid arguments.
- Fix: [#21635] Tile inspector hotkey can set wall slope for non-slopeable objects.
- Fix: [#21641] Crash when creating track iterator from an invalid tile element.
- Fix: [#21652] Dialog window to confirm overwriting files does not apply the theme colours correctly.
- Fix: [#21654] No sound effects when using RCT Classic as an asset base.
- Fix: [#21654] Extraneous reports of an object conflict between `rct2.audio.base` and `rct2.audio.base.rctc`.
- Fix: [#21664] Crash when switching between languages that use TTF.
- Fix: [#21668] Crash when on null ride in Guest::UpdateRideLeaveExit.
- Fix: [#21691] Crash when validating rides which can't contain banked track.
- Fix: [objects#290] “Haunted Mansion” cars have a non-functional third remap colour.
- Fix: [objects#296] Incorrect wall placement around large Kremlin/drab pieces.
- Fix: [objects#300] Incorrect Colosseum and volcano corner clearances.
- Fix: [objects#319] Incorrect diagonal slope images used for RCT1 corkscrew.
- Fix: [objects#320] Incorrect Mandarin Duck boats capacity.
2024-04-02 22:21:50 +02:00
Michael Steenbeek
3461ac38ca
Fix #21522: incorrect support drawing on Hybrid and Wooden (#21710)
* Fix #21522: incorrect support drawing on Hybrid and Wooden

* Add changelog entry
2024-04-02 22:05:48 +02:00
Michał Janiszewski
dfcb527ada
Ensure TTF system is torn down in correct order (#21707)
`TTFDispose` uses `gCurrentTTFFontSet` to deallocate internal resources.
Having the function called after global variable got changed meant it
tried to deallocate incorrect font and would subsequently call
`FT_Done_Face` on a struct having internal data set to nullptr.

Reproduction is fairly easy:
1. launch the game in Korean (I made sure to have all the indexes primed
   for this language beforehand - i.e. launch it twice),
2. switch to Japanese,
3. switch back to Korean

Fixes #21664
2024-04-02 00:52:40 +02:00
Michael Steenbeek
9062049be1
Fix sound effects not working with RCTC base, fix audio object conflict
Due to this overwriting of object IDs, loading the sound effects would not work on RCTC. This overwriting also caused object conflicts which weren’t always won by the RCTC one. This fixes both problems by using non-clashing names, and only renaming one to `rct2.audio.base`, the name expected by the asset packs.
2024-03-31 22:28:17 +00:00
Michał Janiszewski
06081eb23d
Fix #21691: Use correct iterator in RideCheckTrackContainsBanked (#21701) 2024-04-01 00:23:37 +02:00
Ryan Gudonis
b5fdcf9a17
Change difficulty order for Wacky Worlds scenarios 2024-03-29 00:11:30 +01:00
reversebottle
854d4e6fa4
Fix #21652: set correct color on save overwrite first open (#21666) 2024-03-27 23:12:55 +00:00
Harry Hopkinson
bf20a6d146
Fix #21317: Track designer allows proceeding without an object selected
Co-authored-by: Gymnasiast <m.o.steenbeek@gmail.com>
2024-03-26 13:53:32 +01:00
Michał Janiszewski
43507671b5
Fix crash on null ride in Guest::UpdateRideLeaveExit (#21668) 2024-03-26 11:46:34 +00:00
Stephan Spengler
2913a0686a
Add banner properties to plugin API for large scenery, walls and banners 2024-03-26 11:42:09 +00:00
Michael Steenbeek
457d40bf2b
Merge pull request #21642 from Gymnasiast/feature/classic-standup-2024
Add Classic Stand-Up Roller Coaster
2024-03-26 00:28:19 +01:00
Michał Janiszewski
0581b1edd3
Fix #18413: Trying to set tooltip using null vehicle (#21662) 2024-03-24 21:21:18 +01:00
Harry Hopkinson
249c8259c1
Fix #20338: Scenery Picker Hotkey not selected with re-paint tool 2024-03-24 12:29:40 +01:00
Max
bc926057eb
Fix #21419: Cannot build walls under sloped terrain
Co-authored-by: Gymnasiast <Gymnasiast@users.noreply.github.com>
2024-03-23 12:39:00 +01:00
Gymnasiast
40394389ef
Add Classic Stand-Up and objects release to changelog 2024-03-22 17:31:02 +01:00
Andrew
a972d231d7
Add shortcut key for sorting tile elements (#21636) 2024-03-22 15:24:10 +01:00
Andrew
693c422cd4
Prevent TI hotkey from setting wall slope for non-slopeable objects (#21635) 2024-03-22 11:20:48 +01:00
Michael Steenbeek
74364e2afc
Fix #21641: NPE when creating track iterator from invalid tile element 2024-03-22 02:51:11 +01:00
Michał Janiszewski
3a6115b2b5 Android: Add changelog entry 2024-03-18 12:18:20 +01:00
Michael Steenbeek
0968d87668
Use non-breaking spaces around currency units 2024-03-14 21:43:51 +00:00
Jan Kelemen
9bb678688e
Fix #21434: Number of guests overflows in objective text 2024-03-14 19:49:57 +01:00
Ryan Gudonis
65fa51976b
Classify some LL scenarios as expert
Adjust difficulty categories for Loopy Landscape scenarios:
- Southern Sands
- Tiny Towers
- Nevermore Park
- Pacifica
2024-03-10 15:06:43 +00:00
Harry Hopkinson
0c1fb5fec0
Fix #21543: Game Crashing with invalid TrackIterator (#21547)
* Check if el is nullptr

Check if el is nullptr

Format

* Add changelog
2024-03-09 14:15:28 +00:00
ζeh Matt
64bc52c5f6
Update changelog.txt 2024-03-07 21:57:37 +02:00
mrmbernardi
a0b18688ec
Merge pull request #21460 from mrmbernardi/map-layout
Fix #21289: Map window does not layout properly
2024-03-02 22:52:31 +01:00
Michał Janiszewski
e05ae5f051 Start v0.4.10 2024-03-02 22:47:13 +01:00
Michał Janiszewski
a17240544b Release v0.4.9
- Feature: [#20376] Add Ukrainian language.
- Feature: [#20709] [Plugin] Plugins can now check metadata from all registered plugins.
- Feature: [#21376] Add option to reload an object (for object developers).
- Feature: [#21413, OpenSFX#19] Add log flume lift sound effect (when “chainlift” is enabled).
- Feature: [#21455] Add option to control hidden scenery.
- Feature: [objects#282] Added RCT1 beta terrains.
- Improved: [#20093] Use new colours for guests’ clothing when they spawn.
- Improved: [#21356] Resize the title bar when moving between displays with different scaling factors on Windows systems.
- Improved: [#21388] Tooltips will now show even when an error message is present.
- Improved: [#21423] Add mechanism to allow building partly underground.
- Improved: [objects#272, objects#276, objects#277, objects#278, objects#279, objects#280, objects#281] Add most remaining ports of RCT1 ride and vehicle objects (for import only).
- Improved: [objects#275, objects#284, objects#286] Add remaining RCT1 walls (for import only).
- Change: [#21350] Group Dodgems and Flying Saucers vehicles.
- Change: [#21453] Reintroduce lost RCT1 Jet skis colour presets to the boat hire.
- Change: [objects#285] Mark old reversed train objects as compatibility objects.
- Fix: [#17610] Some scenery items are unavailable in RCT1 scenarios.
- Fix: [#18963] Research table in parks from Loopy Landscapes is imported incorrectly.
- Fix: [#20164] Grass and Rock terrain objects cannot be de-selected.
- Fix: [#20907] RCT1/AA scenarios use the 4-across train for the Inverted Roller Coaster.
- Fix: [#21037] Map animations in the title sequence are stuck.
- Fix: [#21208] Error message will stay open only for a brief moment when the game has been running a while.
- Fix: [#21220] When creating a new park from a SC4 file, the localised park name is not applied.
- Fix: [#21286] Cannot build unbanking turns with RCT1 vehicles.
- Fix: [#21288] Text overlaps in the “About ‘OpenRCT2’” window for Arabic, Chinese, Japanese, Korean and Vietnamese.
- Fix: [#21310] Some half loop elements require more clearance than their upward/downward counterparts.
- Fix: [#21318] Virtual Floor for building scenery is not properly invalidated.
- Fix: [#21330] Tooltips from dropdown widgets have the wrong position.
- Fix: [#21332] Mini Helicopters and Monorail Cycles ride types are swapped in research within RCT1 scenarios.
- Fix: [#21343] “Pause” and “Build Path” hotkeys do not work if top toolbar is hidden.
- Fix: [#21347] Too many options are hidden if the platform has no file picker.
- Fix: [#21350] Maze and Mini Golf track designs from RCT1 not shown in track designs list.
- Fix: [#21425] Additional missing/misplaced land & construction rights tiles in Japanese Coastal Reclaim.
- Fix: [#21484] Upkeep costs for some rides/facilities/shops are not calculated correctly.
- Fix: [#21498] Crash when the size of text can’t be determined.
- Fix: [objects#262, objects#263, objects#265, objects#266, objects#267, objects#268, objects#270, objects#271, objects#283] Various errors in expansion pack objects (original bug).
- Fix: [OpenSFX#18] B&M Roar sound effect not looping correctly.
2024-03-02 21:26:41 +01:00
Michael Bernardi
1cb0650cba Fix #21289: Map window does not layout properly 2024-03-02 16:00:10 +01:00
ζeh Matt
9a8ca8e2d1
Update changelog.txt 2024-03-02 15:35:44 +02:00
Michael Steenbeek
9d77219b5d
Add #21037 to changelog
[ci skip]
2024-03-02 14:20:30 +01:00