1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-24 23:34:37 +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:
IntelOrca
2021-10-27 14:21:14 +02:00
committed by Gymnasiast
parent e9e8dceca7
commit 34128dc262
112 changed files with 7281 additions and 4243 deletions

View File

@@ -50,6 +50,19 @@ void TileElementBase::SetLastForTile(bool on)
Flags &= ~TILE_ELEMENT_FLAG_LAST_TILE;
}
bool TileElementBase::IsInvisible() const
{
return (this->Flags & TILE_ELEMENT_FLAG_INVISIBLE) != 0;
}
void TileElementBase::SetInvisible(bool on)
{
if (on)
Flags |= TILE_ELEMENT_FLAG_INVISIBLE;
else
Flags &= ~TILE_ELEMENT_FLAG_INVISIBLE;
}
bool TileElementBase::IsGhost() const
{
return (this->Flags & TILE_ELEMENT_FLAG_GHOST) != 0;