Commit Graph

1348 Commits

Author SHA1 Message Date
ζ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
Michael Steenbeek
864de57877 Fix #14667: Unpurchaseable land tiles in Extreme Hawaiian Island 2021-08-01 17:26:43 +02:00
Kane
9ba19689d7 Fix #15148: Track Designs Manager delete confirmation window doesn't display properly (#15150)
* Fix #15148: Track Designs Manager delete confirmation window doesn't display properly

* Fix #15148: Track Designs Manager delete window doesn't display properly

* More descriptive name for window size constants.

* More constants usage, and fixed code style.

* Fix code formatting.
2021-08-01 11:55:44 +01:00
Kane
bd8d3934e0 Close #15143: Add a shortcut key for Giant Screenshot 2021-08-01 09:20:34 +02:00
Duncan
69f0020a62 Fix #8601: Revert fix to TT’s base blocks, for support blocker usage 2021-07-31 14:10:00 +02:00
Basssiiie
15423acf4a Move ToonTowner mine roofs to mine theme instead of pirate theme 2021-07-31 11:00:41 +02:00
andrewpratt64
62d66ca9d0 Add hook for vehicle crashes to plugin api (#15084)
* Add initial implementation of "vehicle.crash" hook for the scripting api

The hook will fire whenever a vehicle crashes, i.e. an individual car
explodes and it's status becomes "Crashed!"

* Update contributors.md

Add name to contributors list under the "Additional implementation (OpenRCT2)" section.

- If the added line needs to be changed or removed entirely let me know

- I added this based off of the Github wiki: "If it's the first time you're contributing with the project, make sure to update the contributors.md file by appending your name at the end of the respective list."

* Move hook code into function

* Rename hook function

Renamed function, "FireVehicleCrashHook" to "InvokeVehicleCrashHook"

* Wrap InvokeVehicleCrashHook in #ifdef

Move the #ifdef from inside the function body to the outside

* Update changelog and api version

- Added entry to changelog
- Increment API version

* Fix whitespace

Replace tab character with four spaces

* Update src/openrct2/scripting/HookEngine.cpp

Co-authored-by: Tulio Leao <tupaschoal@gmail.com>
2021-07-30 09:03:15 -03:00
Kane
dbdca55645 Fix #14316: Closing the Track Designs Manager window causes broken state
When exiting the Track Design Manager window the user was placed into the scenario editor in a broken state.
User is now returned to the main menu when the window is closed.
2021-07-29 12:44:24 +02:00
Michael Steenbeek
ada94dce37 Add #3417 to changelog 2021-07-27 18:03:33 +02:00
ζeh Matt
13aee659f0 Fix #15096: Crash placing entrance near corner in scenario editor 2021-07-27 12:02:34 +02:00