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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user