]> git.localhorst.tv Git - l2e.git/blobdiff - src/map/Tile.h
closed the gap between battle and map state (yay)
[l2e.git] / src / map / Tile.h
index 88db623ed0cdb5e8f24e2949f924ac3dc697b06c..06b3b1175b62ae315c5c5c3054e7b4e7eb051bc4 100644 (file)
@@ -28,6 +28,8 @@ public:
                BLOCK_WEST = 0x08,
        };
 
+       SDL_Surface *BattleBackground() { return battlebg; }
+
        const geometry::Vector<int> &Offset() const { return offset; }
 
        bool BlocksNorth() const { return flags & BLOCK_NORTH; }
@@ -41,6 +43,7 @@ public:
        Tile &SetFlags(Uint32 f) { flags = f; return *this; }
 
 private:
+       SDL_Surface *battlebg;
        geometry::Vector<int> offset;
        Uint32 flags;