X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2FMoof%2FTilemap.hh;h=942a5e9c899d42ef6152a9fc7df8402ded3050d2;hp=f05688658cb659763d78d830f04bf9497b19f43a;hb=f72400af4fa3e7b54dab154b5a2b6503a6f9af18;hpb=29e3d45f7bbbf31eadf793c41ff2b3d9c47b7539 diff --git a/src/Moof/Tilemap.hh b/src/Moof/Tilemap.hh index f056886..942a5e9 100644 --- a/src/Moof/Tilemap.hh +++ b/src/Moof/Tilemap.hh @@ -58,6 +58,7 @@ public: */ typedef unsigned Index; + static const Index NO_TILE = -1; typedef enum { @@ -96,11 +97,11 @@ public: bool getTileCoords(Index index, Scalar coords[8], Orientation what) const; - static std::string getPathToResource(const std::string& name); + static std::string getPath(const std::string& name); private: - class TilemapImpl; - boost::shared_ptr impl_; + class Impl; + boost::shared_ptr impl_; };