mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-06 06:32:56 +01:00
Allow plugins to call change map size game action
This commit is contained in:
1
distribution/openrct2.d.ts
vendored
1
distribution/openrct2.d.ts
vendored
@@ -396,6 +396,7 @@ declare global {
|
||||
"bannersetcolour" |
|
||||
"bannersetname" |
|
||||
"bannersetstyle" |
|
||||
"changemapsize" |
|
||||
"clearscenery" |
|
||||
"climateset" |
|
||||
"footpathplace" |
|
||||
|
||||
@@ -1008,6 +1008,7 @@ const static EnumMap<GameCommand> ActionNameToType = {
|
||||
{ "bannersetcolour", GameCommand::SetBannerColour },
|
||||
{ "bannersetname", GameCommand::SetBannerName },
|
||||
{ "bannersetstyle", GameCommand::SetBannerStyle },
|
||||
{ "changemapsize", GameCommand::ChangeMapSize },
|
||||
{ "clearscenery", GameCommand::ClearScenery },
|
||||
{ "climateset", GameCommand::SetClimate },
|
||||
{ "footpathplace", GameCommand::PlacePath },
|
||||
|
||||
@@ -46,7 +46,7 @@ namespace OpenRCT2
|
||||
|
||||
namespace OpenRCT2::Scripting
|
||||
{
|
||||
static constexpr int32_t OPENRCT2_PLUGIN_API_VERSION = 43;
|
||||
static constexpr int32_t OPENRCT2_PLUGIN_API_VERSION = 44;
|
||||
|
||||
// Versions marking breaking changes.
|
||||
static constexpr int32_t API_VERSION_33_PEEP_DEPRECATION = 33;
|
||||
|
||||
Reference in New Issue
Block a user