Commit graph

1588 commits

Author SHA1 Message Date
Ted John
793acf67ae Implement small scenery ternary colours 2022-03-20 18:53:11 +00:00
Noah Kellogg
25f76dc554
Fix #16365: Broken link referenced in manpages and help output
Link to file never existed, changed to a link that's clearly a placeholder so users can avoid broken links. Example park file could also be uploaded to https://openrct2.io/files/SnowyPark.sv6
2022-03-20 17:54:53 +01:00
Charles Machalow
37965560a9
Add ability for plugins to access ride's chain lift speed
Co-authored-by: Hielke Morsink <hielke.morsink@gmail.com>
2022-03-20 15:20:28 +00:00
andrewpratt64
5ea89b9b47
Add function to get all entities on a tile to plugin api
Co-authored-by: Hielke Morsink <hielke.morsink@gmail.com>
2022-03-20 15:20:08 +01:00
spacek531
a3700c832a
Parkobj loads rct_gx (#16806)
* allow loading of lgx rct_gx packed images within parkobjs

* add changelog entry

* allow loading of lgx without range
2022-03-19 18:02:02 +00:00
Duncan
d266743083
Fix #16808: Incorrect serialisation of track design object (#16817) 2022-03-18 07:10:19 -03:00
Charles Machalow
99db07cfe0
Fix #16759: No music when unmuting the game in title screen 2022-03-14 21:16:16 +01:00
Ted John
dff1d730da Implement #13620: [Plugin] Add support for patrol areas to Staff 2022-03-13 19:30:50 +00:00
Ted John
566bc4d311 Allow patrol areas to be single tiles
Change the patrol areas to be stored as a sorted list of points grouped in fixed cells for each staff entity. The complexity will be a mixed O(1) and O(log n) search.
2022-03-11 18:39:04 +00:00
Ivan Krushkov
eb423a73b7
Close #12793: Excitement/Intensity/Nausea ratings to Ride List view with sorting (#16655) 2022-03-11 11:17:14 +00:00
Michael Steenbeek
9b1c915f4d
Merge pull request #16744 from Basssiiie/fix-unlimited-vehicles-defaults
Fix “Disable vehicle limits” cheat giving all new rides 32 trains with 12 cars
2022-03-09 13:03:14 +01:00
Ted John
b7b8816db7
Add plugin hook for map save 2022-03-07 21:40:48 +01:00
Bas
d239529a73 Fix “Disable vehicle limits” cheat giving all new rides 32 trains 2022-03-03 22:26:33 +01:00
Rik Smeets
d92f8c125d
Fix #15909: Prevent text overflow in 'Select ride design' windows
For designs with a long description, a line of text in the 'Select ride design' window could overflow onto the next window element. The window height was just one newline too small. Therefore, increased the window size with a single line.
2022-03-02 20:08:00 +01:00
Rik Smeets
2a7209bee5
Fix #16140: Disable 'follow this' in 'overall' and 'station' view 2022-03-02 20:05:53 +01:00
Rik Smeets
1f83fa417c
Update guest list defaults 2022-02-27 18:46:08 +01:00
Ted John
ed8b7cb6ee Change API for interacting with park storage 2022-02-24 23:55:23 +00:00
Ted John
1182ff5f19 Add Plugin API for storing data in .park files 2022-02-24 23:55:23 +00:00
Bas
b14c469232 Fix Car.rideObject from overflowing with more than 256 ride types 2022-02-23 21:33:40 +01:00
Ted John
f2117508c4
Fix #15413: Modifying park rating with plugins desyncs history (#16672)
Update park rating history before park rating.
2022-02-23 13:07:04 +00:00
Michael Steenbeek
70121eae38
Close #14484: Make the Heartline Twister ratings less hateful (#16680)
This raises two parameters: the base excitement value (which is very low, especially since the air-time bonus is limited too) and the bonus value (the novelty of this ride type warrants a bigger value).
It leaves the rest of the poor bonuses as-is, as some of them (like scenery and synchronisation bonuses) might just be there because the track obscures the view.
2022-02-23 11:24:02 +01:00
Ted John
d93f4bdc1d
Fix #12774: Plugin: Scripts are not reloaded after new scenario (#16686) 2022-02-20 23:14:51 -03:00
Silent
795144662a
Fix #11752: Track pieces with fractional cost are too cheap to build (#16477)
Fixes an inconsistency wuth RCT2 where track prices with a fractional part
did not have their price rounded up when building, but did when refunding.
This created an exploit where refunding such a track piece granted the player
0.50€ more than they spent on the piece.
2022-02-19 17:47:13 +00:00
Sadret
8898d0af56
Close #16251: Adjust openrct2.d.ts to actual API implementation 2022-02-18 21:59:44 +01:00
Michael Steenbeek
4c046024a3
Merge pull request #16640 from ZehMatt/refactor/entityid-16469
#16469: Introduce EntityId and refactor everything
2022-02-18 21:29:23 +01:00
Tulio Leao
1e58ab4c98
Merge pull request #16673 from IntelOrca/fix/16591-plugin-timeout 2022-02-18 09:38:19 -03:00
Gymnasiast
406817e674
Add #16264 to changelog
[ci skip]
2022-02-17 23:06:59 +01:00
Ted John
105009f3f8 Fix #16591: Plugins: setInterval and setTimeout is not disposed... 2022-02-17 20:18:16 +00:00
ζeh Matt
fcea5bc483
Update openrct2.d.ts 2022-02-16 19:53:03 +02:00
ζeh Matt
e46338a2f1
Fix scripting API returning 0 instead of null. 2022-02-16 19:41:59 +02:00
Ted John
83c347218b Allow plugins to call change map size game action 2022-02-14 23:15:59 +00:00
Michael Steenbeek
ed657f07f0
Add #16572 to changelog [ci skip] 2022-02-14 21:11:18 +01:00
Karst
9dd54b9ee1
Add Inline Twist to B&M Track (#16389)
This adds the inline twist to the B&M track.

Feature is complete. Note: The inline twist doesn't draw correctly when going out of the tunnel. This is sadly an original bug, as this is also present on the Flying RC's Flying Twist (#7466).
2022-02-12 22:31:08 +01:00
GalBr
cb83d8ff05
Fix #14674: Recent Messages only shows at most 6 or 7 notifications 2022-02-11 21:47:08 +01:00
Gymnasiast
0389ac2e3d
Fix #14155, #15994: Map Generator places non-tree objects as trees 2022-02-09 15:54:44 +01:00
ζeh Matt
19dca61ee8
Fix #16535: Entering construction mode unblocks all paths 2022-01-31 23:05:26 +01:00
Sadret
6d0bb48b68
[#16251] mark 'callback' argument of [query|execute]Action as optional (#16563) 2022-01-31 18:49:02 +00:00
Michael Steenbeek
8b7f60d10d
Fix: Incorrect “Same price throughout park” for RCT1 import 2022-01-29 15:46:24 +01:00
ζeh Matt
269673e3aa
Profiler update (#16463)
* Add more functions to be profiled

* Add isEnabled method to Profiler scripting interface

* Bump up scripting version

* Apply review suggestions
2022-01-29 15:29:08 +02:00
Michael Steenbeek
4192fc5cc8
Fix leftover references to SC6 2022-01-24 20:03:20 +01:00
Gymnasiast
2c7d0a6dd4
Fix spelling of ‘colour’ in changelog [ci skip] 2022-01-24 18:09:45 +01:00
Gymnasiast
3bcd53daf9
Fix typo in changelog [ci skip] 2022-01-24 18:08:32 +01:00
Silent
4172f3eb4e
Close #16493: Boat Hide and Submarine Ride have odd support costs 2022-01-24 11:40:29 +01:00
Duncan
b3bae9429c
Fix #16427. Actually copy banners when using tile inspector (#16450) 2022-01-22 08:22:46 +00:00
Michael Steenbeek
d97ecdd981
Fix #13336: Can no longer place Bumble Bee track design 2022-01-20 10:56:27 +01:00
Gymnasiast
2fb3a41e1c
Include new objects release 2022-01-19 13:25:23 +01:00
Ted John
992ece4a4c
Fix #16449: Viewport doesn't close when switching tabs 2022-01-19 10:23:44 +01:00
ζeh Matt
993b168bfd
Implement profiler (#16194)
* Implement profiling API

* Add console commands for the profiler

* Remove accidental line

* Correct csv output

* Add copyright notice

* Add missing override

* Add default virtual destructor

* Explicitly pass template argument

* Use static

* Add plugin API for profiler

* Add more profile calls

* Workaround for GCC hopefully

* Add missing static keyword

* Use uint64 for call count

* Reduce name length see if CI passes

* Improve handling of function names

* Work around (broken) static inline variables

* Fix missing include

* Disable profiler for clang 5 and older

* Update copyright date

* Profile UpdateAllMiscEntities

* Apply review suggestions

Co-authored-by: Ted John <ted@brambles.org>
2022-01-18 20:21:20 +02:00
ζeh Matt
f4c30ba63a
Correct scripting documentation for guest.generation 2022-01-17 15:09:21 +01:00
GalBr
df5c4dd91c
Fix #15947, #15960: Cannot remove rotated flat rides
Replace _currentTrackPieceDirection with local variable. This change
fixes a problem where when trying to remove a rotated ride,
_currentTrackPieceDirection would be reset back to 0 by calling
ride_initialise_construction_window, causing TrackRemoveAction to not
being able to find and remove the ride.
Using a local variable with the current direction, saved before resetting
the global variable, fixes this issue.
2022-01-16 14:04:00 +01:00
Hielke Morsink
e33d71346a
Prevent underground view during title sequence 2022-01-11 17:31:01 +01:00
Michał Janiszewski
4a36520ba2
Fix #16408: Report extended version information (#16413)
* Fix #16408: Report extended version information

* Update distribution/changelog.txt

Co-authored-by: Tulio Leao <tupaschoal@gmail.com>

Co-authored-by: Tulio Leao <tupaschoal@gmail.com>
2022-01-10 06:52:39 +00:00
GalBr
fae4e6323f
Fix #16234: Wrap vehicle colors when there are more than 32 trains (#16323)
* Wrap vehicle_colours in TrackDesignAction

* Wrap the color presets in set_vehicle_colours_to_random_preset

* Increment network version

* Update changelog.txt

Co-authored-by: Tulio Leao <tupaschoal@gmail.com>
2022-01-08 19:03:58 -03:00
Mathias Gibbens
510e86a4a4
Update manpages 2022-01-01 14:06:41 +01:00
ζeh Matt
7318cdd9b0
Update changelog.txt 2021-12-30 14:00:16 +02:00
Michael Steenbeek
24567290ad
Add #16097 to changelog
[ci skip]
2021-12-19 19:38:29 +01:00
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