X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fmap%2FTile.h;h=137da43c02b30faff6ec6b92b70b98e2ef072469;hb=667e1d9c6a78d0b608b518a4e5b5c31bc30e4e89;hp=f5afb246219e7d3e88faa3d06eb5980ff640076a;hpb=7011e3c622be7d4f24c0166a1ad5aeb4f8c5f851;p=l2e.git diff --git a/src/map/Tile.h b/src/map/Tile.h index f5afb24..137da43 100644 --- a/src/map/Tile.h +++ b/src/map/Tile.h @@ -22,6 +22,7 @@ public: BLOCK_EAST = 0x02, BLOCK_SOUTH = 0x04, BLOCK_WEST = 0x08, + LADDER = 0x10, }; SDL_Surface *BattleBackground() { return battlebg; } @@ -33,6 +34,8 @@ public: bool BlocksSouth() const { return flags & BLOCK_SOUTH; } bool BlocksWest() const { return flags & BLOCK_WEST; } + bool IsLadder() const { return flags & LADDER; } + static void CreateTypeDescription(); static void Construct(void *);