Commit Graph

1813 Commits

Author SHA1 Message Date
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