X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2FHud.hh;h=f386fd4b73731ec12918f260cf13b8624e706221;hp=966ae43bf54a553ace4aedefe65a98eed98c1d17;hb=23d8f7a5fbd1eca7f46f2342c20ac5e28ae0128a;hpb=fa9438c66ae0154e6d9ad196e0fb39649d359da4 diff --git a/src/Hud.hh b/src/Hud.hh index 966ae43..f386fd4 100644 --- a/src/Hud.hh +++ b/src/Hud.hh @@ -38,14 +38,15 @@ #include #include #include -#include + +#include "Tilemap.hh" class ProgressBar : public Mf::Drawable { public: - ProgressBar(const Mf::Tilemap& tilemap, Mf::Tilemap::Index index); + ProgressBar(const Tilemap& tilemap, Tilemap::Index index); void resize(const Mf::Rectangle& rect); @@ -60,7 +61,7 @@ private: Mf::Vector2 vertices_[8]; Mf::Scalar width_; - Mf::Tilemap tilemap_; + Tilemap tilemap_; Mf::Scalar texCoords_[8]; Mf::Scalar midCoords_[2]; }; @@ -105,7 +106,7 @@ private: ProgressBar bar2_; unsigned number_; - Mf::Tilemap font_; + Tilemap font_; Mf::Matrix4 projection_; };