Commit graph

1482 commits

Author SHA1 Message Date
Karst
ee6296215b
Close#16132: Add Inline Twist to Corkscrew Roller Coaster
The code for this sadly did not exist yet in any other coaster. The sprites did though. So I pulled the sprites from the lay-down coaster and modified the regular inline twist (instead of the flyer) to be drawn correctly.
2021-12-19 18:36:36 +01:00
Michael Steenbeek
2cf62abf85
Fix #16188: B&M tracks support incorrect in single angle 2021-12-19 14:48:53 +01:00
Michael Steenbeek
07a059e10f
Add #16258 to changelog
[ci skip]
2021-12-18 20:54:13 +01:00
Michael Steenbeek
6c6fe67926
Add #15830 to changelog
[ci skip]
2021-12-17 12:53:14 +01:00
Sadret
8282579b63
Close #16251: Improve null handling in plugin API 2021-12-16 21:41:02 +01:00
deurklink
ceb49e0984
Fix: #16162 Go Kart speeds not correctly randomised (#16165)
* Fix Go Kart Speeds not being random

Go kart speeds now only get 2 different values (around 37kmh or around 25kmh), in vanilla Go karts can also have a value in between. This PR fixes that.

* Update changelog.txt

Co-authored-by: Michael Steenbeek <m.o.steenbeek@gmail.com>

* Increment network version

* Update replays

Co-authored-by: Michael Steenbeek <m.o.steenbeek@gmail.com>
Co-authored-by: duncanspumpkin <duncans_pumpkin@hotmail.co.uk>
2021-12-11 17:11:23 +00:00
Ted John
a324bfab63
Add image manager plugin API (#16144) 2021-12-07 20:55:27 +00:00
Gymnasiast
03749d186c
Amend changelog [ci skip] 2021-12-05 17:00:33 +01:00
ζeh Matt
7cfb5832c4
Fix #16075: Track designs save scenery in wrong location 2021-12-04 12:07:10 +01:00
Gymnasiast
f27e282481
Add #15367 to changelog
[ci skip]
2021-12-02 21:34:13 +01:00
Gymnasiast
94f2fdce7f
Add forgotten dot to changelog
[ci skip]
2021-12-02 21:06:16 +01:00
Ian Polito
d3ee7eded1
Fix #16007: Scenario Editor "Entry Price" appears in wrong place
Entry Price label was being drawn to the right of the entryPriceWidget which is
outside of the window. Changed to draw it to the right of the
payForParkOrRidesWidget widget instead.
2021-12-02 21:05:57 +01:00
Gymnasiast
9eeb22da5e
Add #16087 to changelog
[ci skip]
2021-12-02 21:00:12 +01:00
Sadret
03d2ddf265
Implement #16029: Add rideType to plugin API (#16030) 2021-12-01 13:39:03 +00:00
Michael Steenbeek
fb9d02cab5
Fix #15998: Map action only accepts 998×998 instead of 999×999 2021-11-30 21:27:46 +01:00
Hielke Morsink
a15d417d55
Update existing changelog entry to reflect this change 2021-11-30 00:06:39 +01:00
Michael Steenbeek
25cfa06830
Fix #16063: Broken Object Selection preview for glass 2021-11-29 22:27:54 +01:00
Gymnasiast
1a580e3999
Add some missing NSF issues to changelog
[ci skip]
2021-11-29 12:38:14 +01:00
Hielke Morsink
8b9bcf4adc
Fix #16008: Can select elements when no tile selected 2021-11-26 15:47:43 +01:00
Basssiiie
b44b5eca0c
Fix nullability of TileSelection.range (#15992) 2021-11-24 23:00:32 +00:00
Gymnasiast
59728db675
Update changelog for the most important things 2021-11-21 22:44:19 +01:00
IntelOrca
34128dc262
Add new .park save format
Co-authored-by: Gymnasiast <Gymnasiast@users.noreply.github.com>
Co-authored-by: duncanspumpkin <duncanspumpkin@users.noreply.github.com>
Co-authored-by: ZehMatt <Zehmatt@users.noreply.github.com>
Co-authored-by: Broxzier <Broxzier@users.noreply.github.com>
2021-11-21 22:43:22 +01:00
Gymnasiast
54574694a6
Start v0.4.0 2021-11-21 22:39:09 +01:00
Gymnasiast
61c67afc66
Release v0.3.5.1
- Improved: [#12825, #12869] The Tile Inspector window’s layout has been tweaked slightly.
- Change: [#15899] Weird bonus for path 0 - likely intended as a queue bonus (original bug).
- Fix: [#15138] Sometimes small scenery stays when building through it.
- Fix: [#15620] Placing track designs at locations blocked by anything results in wrong error message.
- Fix: [#15843] Tile Inspector can be resized too small.
- Fix: [#15844] Tile Inspector has inconsistent text colours.
- Fix: [#15878] Crash when opening a ride window for a corrupted vehicle.
- Fix: [#15908] Crash when track elements have no ride assigned.
- Fix: [#15919] Research status incorrectly considered for scenery when in editor modes.
- Fix: [#15938] Track designs of some ride types are incorrectly exported to TD6.
2021-11-21 22:06:59 +01:00
Michael Steenbeek
7cdb8f162a
Fix: Track designs of some ride types incorrectly exported to TD6 2021-11-20 13:52:48 +01:00
Duncan
a60f7de103
Fix #15919: Scenery groups are missing in scenario editor 2021-11-20 11:25:27 +01:00
Hielke Morsink
7a867a8c31
Add github ID for tile inspector change (#15924)
Figured this is best combined with the other Tile Inspector item.
2021-11-17 09:29:09 -03:00
Hielke Morsink
8a1bd1f7d4
Fix #15138: Sometimes small scenery stays when building through it 2021-11-17 11:08:26 +01:00
ζeh Matt
f758e82112
Fix #15908: Out of bounds access for track elements with no ride index 2021-11-16 23:15:54 +01:00
Michael Steenbeek
e6e0b31397
Fix #15899: Odd ratings bonus for path 0 (#15905) 2021-11-13 12:28:42 +01:00
Hielke Morsink
95f2d82a8f
Fix changelog order and quotation style 2021-11-12 22:49:13 +01:00
Michael Steenbeek
e1a1560fd2
Fix #15878: Crash when opening ride window for corrupted vehicle 2021-11-09 18:41:33 +00:00
chrhaase
4ff0022c58
Fix #15844: Tile Inspector inconsistent text colour
`COLOUR_WHITE` was being passed as the colour when drawing
any text. The Options window uses the `rct_window::colours`
array for resolving the correct theme colour.
Replacing all occurrences of `COLOUR_WHITE` with
`w->colours[1]` makes the text colours more consistent.
In the details section values are still painted in black
no matter the colour theme, which is consistent with e.g.
the park information window.
2021-11-09 09:11:48 +01:00
Michael Steenbeek
b78908caa2
Add #15620 to changelog, fix entry for #12869 2021-11-07 19:54:22 +01:00
Michael Steenbeek
36bbb01352
Merge pull request #12869 from Broxzier/feature/TI-widget-code-cleanup
Refactor Tile Inspector widget definitions
2021-11-07 19:35:49 +01:00
Gaven Rendell
463f49586c
Fix #15843; Tile Inspector resizes too small. (#15860) 2021-11-07 11:24:33 +00:00
Gymnasiast
b9bc8d0606
Release v0.3.5
- Feature: [#3868] Initial support for using TTF in OpenGL mode (still contains bugs).
- Feature: [#7682] Follow ride/guest/staff in main window viewport.
- Feature: [#13407] Allow building chain lifts on enclosed dinghy slide pieces when cheats are on.
- Feature: [#15084] [Plugin] Add "vehicle.crash" hook.
- Feature: [#15143] Added a shortcut key for Giant Screenshot.
- Feature: [#15164] Highlight elements selected by the Tile Inspector, tracks are currently not supported.
- Feature: [#15165] [Plugin] Add the ability to create entities using "map.createEntity".
- Feature: [#15194] [Plugin] Add guest properties, ride downtime and park casualty penalty.
- Feature: [#15195] Added a bug-report item in file dropdown menu.
- Feature: [#15294] New vehicle animation type: flying animal.
- Fix: [#10614] Track Designs with missing path(s) do not use alternate pathways.
- Fix: [#12981] New vehicles do not appear in vehicle type dropdown.
- Fix: [#13465] Creating a scenario based on a won save game results in a scenario that’s instantly won.
- Fix: [#13912] “Dome park” no longer renders dome correctly.
- Fix: [#14316] Closing the Track Designs Manager window causes broken state.
- Fix: [#14482, #15258] Rides with invisibility hacks sometimes behave incorrectly.
- Fix: [#14649] ImageImporter incorrectly remaps colours outside the RCT2 palette.
- Fix: [#14667] “Extreme Hawaiian Island” has unpurchaseable land tiles (original bug).
- Fix: [#14741] Crash when exiting OpenRCT2 on macOS.
- Fix: [#15096] Crash when placing entrances in the scenario editor near the map corner.
- Fix: [#15136] Exported SV6 files cause vanilla RCT2 to hang.
- Fix: [#15142] ToonTowner's mine roofs were moved into the pirate theme scenery group instead of the mine theme scenery group.
- Fix: [#15148] Track Designs Manager delete confirmation window doesn't display properly.
- Fix: [#15170] Plugin: incorrect label text alignment.
- Fix: [#15177] Crash in lightfx_add_lights_magic_vehicle().
- Fix: [#15184] Crash when hovering over water types in Object Selection.
- Fix: [#15193] Crash when rides/stalls are demolished.
- Fix: [#15197] Cannot place flat ride after removing it in construction window.
- Fix: [#15199] Construction window is not closed when a ride gets demolished.
- Fix: [#15213] Freeze when hovering over Reverse Freefall Coaster in Russian.
- Fix: [#15227] Crash on exit after hovering over water types in the Object Selection window.
- Fix: [#15255] Tile Inspector shows banner information on walls that do not contain one.
- Fix: [#15257] Chat icon shows in scenario/track editor. Other icons don't disable when deactivated in options menu.
- Fix: [#15289] Unexpected behavior with duplicated banners which also caused desyncs in multiplayer.
- Fix: [#15322] Circus music doesn't play.
- Fix: [#15377] Entrance/exit ghost doesn't work on different stations without touching them first.
- Fix: [#15451] Guest list name filter remains after group selection.
- Fix: [#15466] Crash when opening a dropdown with 0 rows.
- Fix: [#15476] Crash when placing/clearing small scenery.
- Fix: [#15487] Map animations do not work correctly when loading an exported SV6 file in vanilla RCT2.
- Fix: [#15490] Tile inspector needlessly updates clearance height when changing surface slopes.
- Fix: [#15496] Crash in paint_swinging_inverter_ship_structure().
- Fix: [#15503] Freeze when doing specific coaster merges with block brakes.
- Fix: [#15514] Two different “quit to menu” menu items are available in track designer and track design manager.
- Fix: [#15560] Memory leak due to OpenGL Renderer not releasing a texture.
- Fix: [#15567] Litter not being counted correctly during Park rating calculation (original bug).
- Fix: [#15579] Crash in track_block_get_next().
- Fix: [#15582] [Plugin] Litter properties return incorrect values.
- Fix: [#15584] Ride income underflows when on-ride photos are making losses.
- Fix: [#15612] Crash when placing walls beside certain scenery objects.
- Fix: [#15851] Incorrect percentage chance of jumping with Katie Smith cheat.
- Fix: [#15858] Joanne Barton and Emma Garrell cheat incorrectly not applying effects to self.
- Improved: [#3417] Crash dumps are now placed in their own folder.
- Improved: [#13524] macOS arm64 native (universal) app
- Improved: [#15538] Software rendering can now draw in parallel when Multithreading is enabled.
- Change: [#8601] Revert ToonTower base block fix to re-enable support blocking.
- Change: [#15174] [Plugin] Deprecate the type "peep" and add support to target a specific scripting api version.
2021-11-06 12:10:11 +01:00
Duncan
de3d19a6b8
Fix #15858: Purple and Pizza cheats do not affect the named guest 2021-11-04 23:16:53 +01:00
Duncan
0389e926a0
Fix 15851: Katie Smith cheat (#15852)
* Fix #15851. Katie Smith cheat had v. low chance of jumping

Mistake made during implementation

* Increment network

* Update changelog
2021-11-03 17:35:52 +00:00
Hielke Morsink
f78ed7ef86
Add changelog entry for the small tweaks 2021-11-01 23:20:22 +01:00
Michael Steenbeek
a7318b631a
Add #10614 to changelog
[ci skip]
2021-10-31 17:51:22 +01:00
Michael Steenbeek
ad2a77bfa5
Fix #12981: New vehicles do not appear in vehicle type dropdown 2021-10-27 11:30:55 +02:00
Michael Steenbeek
a1b70b59d6
Fix #15177: Crash in lightfx_add_lights_magic_vehicle() 2021-10-26 20:10:03 +02:00
Michael Steenbeek
dd007c836f
Fix #15579: Crash in track_block_get_next() 2021-10-26 18:05:13 +00:00
Gymnasiast
815d09a431
Fix #14482: Rides with Crooked House hack sometimes misbehave 2021-10-22 16:15:21 +02:00
Michael Steenbeek
62a9096079
Fix #15466: Crash when opening dropdown with 0 rows 2021-10-20 18:50:21 +02:00
Michael Steenbeek
578d8ce247
Fix #15612: Crash in WallCheckObstruction() 2021-10-20 14:15:35 +00:00
seanmajorpayne
f6cb144f8c
Fix #15322: Circus Music is Not Playing (Full Fix) 2021-10-20 13:11:06 +00:00
Michael Steenbeek
5cb1cee0d8
Fix #15584: Ride income underflows when on-ride photos are making losses 2021-10-17 09:15:13 +02:00
Bas
8682a8677e Fix unable to read litter information in plugin api 2021-10-16 15:38:52 +02:00
Michael Steenbeek
0b6c6bb22a
Merge pull request #15490 from Broxzier/bugfix/invalid-clearance-surfaces
Fix: Surface slopes edited by TI have invalid clearance
2021-10-15 19:55:50 +02:00
ζeh Matt
19464c6e17
Merge pull request #15566 from ZehMatt/fix-litter-underflow
Fix #15567: Litter age underflow
2021-10-14 09:11:22 -07:00
seanmajorpayne
04004d9b8c
Fix #15377: Station Hover doesn't show entrance/exit ghost (#15523)
Fix #15377: Station Hover doesn't show entrance/exit ghost

Replacing tileElement->AsTrack() with trackElement
Changing const auto* to TrackElement*
Replacing trackElement with auto
Implementing ZehMatt's Feedback
Update changelog.txt
2021-10-14 17:01:47 +03:00
Hielke Morsink
cac2708066
Add changelog entry 2021-10-13 23:44:17 +02:00
ζeh Matt
f2bfec977f
Update changelog.txt 2021-10-13 21:35:21 +03:00
ζeh Matt
b4cd8e4628
Fix #15560: Memory leak due to OpenGL Renderer not releasing a texture 2021-10-11 21:01:11 +02:00
Michael Steenbeek
6ea0d8639d
Merge pull request #15552 from CookiePLMonster/fix-15227
Fix Object Selection not tearing down objects properly
2021-10-11 09:30:33 +02:00
Adam
c812b696bd
Fix #14741: crash on macOS exit (#15550) 2021-10-10 22:01:18 +01:00
Silent
daef940bc8
Fix LargeSceneryObject and WaterObject not tearing down the image ID 2021-10-10 00:09:36 +02:00
adam-bloom
ab1b044925 Fix #13524: add changelog entry 2021-10-09 15:00:27 -06:00
ζeh Matt
05e58cda11
Merge pull request #15538 from ZehMatt/feature/parallel-draw
Implement multithreaded drawing
2021-10-09 05:53:48 -07:00
seanmajorpayne
e8b6e24498
Fix #15451: Guest List name filter remains after group selection 2021-10-09 12:49:26 +02:00
seanmajorpayne
25419bb4e3
Fix #15197: Cannot place flat ride after removing it in construction
Demolishing a flat ride (using the bulldozer icon in the construction menu) will now reopen the construction window to it's default state.
2021-10-08 00:13:04 +02:00
ζeh Matt
5f874f15c7
Update changelog.txt 2021-10-08 01:02:45 +03:00
Michael Steenbeek
5563139ed1
Fix #15503: Freeze when doing specific merges 2021-10-06 23:00:06 +02:00
Hielke Morsink
b246a4919d
Fix #15514: Two “quit to menu” menu items available in track designer 2021-10-03 15:20:45 +02:00
Michael Steenbeek
06dc75845a
Fix #15476: Crash in map_place_clear_func() 2021-10-01 16:10:25 +00:00
Gymnasiast
d3cfa07a2a
Fix #15496: crash in paint_swinging_inverter_ship_structure() 2021-10-01 13:51:00 +02:00
Michael Steenbeek
bfe7caacd7
Fix #15487: map animations do not work correctly in vanilla RCT2 (#15492)
Co-authored-by: duncanspumpkin <duncanspumpkin@users.noreply.github.com>

Co-authored-by: duncanspumpkin <duncanspumpkin@users.noreply.github.com>
2021-09-30 07:40:58 +01:00
Michael Steenbeek
e5f9282a36
Merge pull request #15470 from Broxzier/bugfix/15213-unicode-freeze
Fix #15213: Freeze when reading a partially cut unicode character
2021-09-29 20:26:01 +02:00
Duncan
cce3bb1845
Fix #15136: Exported SV6 hangs/crashes vanilla RCT2 2021-09-29 18:48:50 +02:00
Hielke Morsink
219a4efa0f
Add changelog entry 2021-09-27 15:09:08 +02:00
Kane
b35fd28c55
Feature #7682: Lock camera to vehicle in main window
Pressing the "Locate" button in the Ride window when selected on a "Vehicle/Train" will now have the main viewport track the vehicle.
2021-09-13 20:44:52 +02:00
seanmajorpayne
33fbad9726
Fix #15257: Chat widgets removed from Scenario Editor (#15365)
* Update TopToolbar.cpp

Removed else statement which caused the game to skip toolbar element deactivations.

* Update contributors.md

Adding name to contrib.md

* Update changelog.txt

Updated changelog

* Update changelog.txt

Fixing changelog item position
2021-09-08 12:39:34 +02:00
Daniel Karandikar
613c309f93
Close #13407 Allow building covered lift hill when cheat enabled 2021-09-05 21:57:08 +02:00
Gymnasiast
6f2e20f8db
Add #13912 to changelog 2021-09-05 21:03:55 +02:00
Gymnasiast
fa0efd67c1
Update changelog 2021-09-05 20:38:33 +02:00
Hielke Morsink
8ae918118a
Add a bug-report item in file dropdown menu 2021-09-05 15:25:44 +02:00
ζeh Matt
b367f74496
Fix #15199: Construction window is not closed when a ride gets demolished 2021-08-29 22:20:30 +02:00
ζeh Matt
a75e07cde6
Merge pull request #15305 from ZehMatt/fix-15289
Fix #15289: Duplicated banner correction using the wrong index
2021-08-29 10:06:55 -07:00
spacek531
cba52b240e
Bird animation (#15294)
* initial implementation;

progress 1

progress 2

refactor to chain start

progress 3

begin walking

finish bird

remove walking

remove unused functions

refactor track element getting

fix formatting

refactor and add comments

remove brackets from simple if-else statements

invalidate vehicle

refactor again

fix format and refactor

please satisfy clang format

fix fallthrough

invalidate default case

remove redundant falltrhough

network bump

use std::max

refactor animation again

fix modulus

* move array declaration

* satisfy clang-format

* add changelog entry
2021-08-29 10:30:34 +01:00
ζeh Matt
763d086c85
Update changelog.txt 2021-08-29 12:23:48 +03:00
Gymnasiast
d2e18f5aa0
Add #3868 to changelog 2021-08-27 01:59:59 +02:00
ζeh Matt
3ab70b200b
Fix #15255: Wall banner index defaults to 0 instead of null type 2021-08-21 19:24:09 +02:00
ζeh Matt
175394f15b
Fix #15193: Crash when rides/stalls are demolished 2021-08-15 14:28:08 +02:00
Michael Steenbeek
385c9ee5ff
Fix #15184: Crash when hovering over water types in Object Selection 2021-08-11 17:51:20 +02:00
Basssiiie
23bae61b7a
Add new plugin API properties to entity, ride and park 2021-08-11 13:54:00 +02:00
ZehMatt
ede11be41c
Update changelog.txt 2021-08-10 16:50:26 +03:00
ZehMatt
30739de7cc
Update changelog.txt 2021-08-07 22:31:37 +03:00
ZehMatt
29e5ec634c
Add litter entity to scripting 2021-08-07 22:28:48 +03:00
ZehMatt
5e3913965d
Add scripting API to create entities 2021-08-07 22:05:14 +03:00
Michael Steenbeek
e3c918ba5b
Merge pull request #15174 from ZehMatt/scripting/deperecate-peep
Deprecate peep in scripting
2021-08-07 20:45:48 +02:00
ZehMatt
900f9c9190
Apply code review 2021-08-07 20:33:43 +03:00
ZehMatt
aa2b7d9972
Deprecate peeps property in scripting for Car entity 2021-08-05 17:16:42 +03:00
ZehMatt
dca117e5a0
Update scripting.md 2021-08-05 17:16:42 +03:00
ZehMatt
f3f25ad8e0
Update changelog.txt 2021-08-05 17:16:42 +03:00
ZehMatt
a7bef5442b
Allow plugins to target a specific API version 2021-08-05 17:16:42 +03:00
ZehMatt
5a7d2da6bb
Update typescript definitions 2021-08-05 17:16:42 +03:00
Ted John
40a4a993de
Fix #15170: Plugin: incorrect label text alignment (#15175)
Initialise CustomWidgetDesc::TextAlign.
2021-08-04 21:47:13 +02:00
ocalhoun6
8a09406b64
Fix #13465: Creating a scenario based on a won save game results in a scenario that’s instantly won 2021-08-04 13:31:53 +02:00