diff --git a/distribution/openrct2.d.ts b/distribution/openrct2.d.ts index 9ae1e5535e..416ff265fa 100644 --- a/distribution/openrct2.d.ts +++ b/distribution/openrct2.d.ts @@ -396,6 +396,7 @@ declare global { "bannersetcolour" | "bannersetname" | "bannersetstyle" | + "changemapsize" | "clearscenery" | "climateset" | "footpathplace" | diff --git a/src/openrct2/scripting/ScriptEngine.cpp b/src/openrct2/scripting/ScriptEngine.cpp index c3dd1e68b7..64ba4bbc3a 100644 --- a/src/openrct2/scripting/ScriptEngine.cpp +++ b/src/openrct2/scripting/ScriptEngine.cpp @@ -1008,6 +1008,7 @@ const static EnumMap ActionNameToType = { { "bannersetcolour", GameCommand::SetBannerColour }, { "bannersetname", GameCommand::SetBannerName }, { "bannersetstyle", GameCommand::SetBannerStyle }, + { "changemapsize", GameCommand::ChangeMapSize }, { "clearscenery", GameCommand::ClearScenery }, { "climateset", GameCommand::SetClimate }, { "footpathplace", GameCommand::PlacePath }, diff --git a/src/openrct2/scripting/ScriptEngine.h b/src/openrct2/scripting/ScriptEngine.h index c37d2c9db7..9a718f4d8f 100644 --- a/src/openrct2/scripting/ScriptEngine.h +++ b/src/openrct2/scripting/ScriptEngine.h @@ -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;