mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-23 14:54:30 +01:00
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>
This commit is contained in:
@@ -67,10 +67,10 @@ GameActions::Result::Ptr TileModifyAction::QueryExecute(bool isExecuting) const
|
||||
res = TileInspector::SwapElementsAt(_loc, firstIndex, secondIndex, isExecuting);
|
||||
break;
|
||||
}
|
||||
case TileModifyType::AnyInsertCorrupt:
|
||||
case TileModifyType::AnyToggleInvisilibity:
|
||||
{
|
||||
const auto elementIndex = _value1;
|
||||
res = TileInspector::InsertCorruptElementAt(_loc, elementIndex, isExecuting);
|
||||
res = TileInspector::ToggleInvisibilityOfElementAt(_loc, elementIndex, isExecuting);
|
||||
break;
|
||||
}
|
||||
case TileModifyType::AnyRotate:
|
||||
@@ -210,12 +210,6 @@ GameActions::Result::Ptr TileModifyAction::QueryExecute(bool isExecuting) const
|
||||
res = TileInspector::BannerToggleBlockingEdge(_loc, elementIndex, edgeIndex, isExecuting);
|
||||
break;
|
||||
}
|
||||
case TileModifyType::CorruptClamp:
|
||||
{
|
||||
const auto elementIndex = _value1;
|
||||
res = TileInspector::CorruptClamp(_loc, elementIndex, isExecuting);
|
||||
break;
|
||||
}
|
||||
default:
|
||||
log_error("invalid instruction");
|
||||
return MakeResult(GameActions::Status::InvalidParameters, STR_NONE, STR_NONE);
|
||||
|
||||
Reference in New Issue
Block a user