diff options
Diffstat (limited to 'src/map.h')
-rw-r--r-- | src/map.h | 14 |
1 files changed, 2 insertions, 12 deletions
@@ -29,6 +29,7 @@ #include "properties.h" +class AmbientOverlay; class Graphics; class Image; class Tileset; @@ -65,16 +66,6 @@ struct MetaTile bool walkable; /**< Can beings walk on this tile */ }; -struct AmbientOverlay -{ - Image *image; - float parallax; - float scrollX; - float scrollY; - float scrollSpeedX; - float scrollSpeedY; -}; - /** * A tile map. */ @@ -222,8 +213,7 @@ class Map : public Properties int mOnClosedList, mOnOpenList; //overlay Data - AmbientOverlay mFoo; - std::list<AmbientOverlay> mOverlays; + std::list<AmbientOverlay*> mOverlays; float mLastScrollX; float mLastScrollY; }; |