X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2FHud.hh;h=59f0631a964dcf391de2aff2bdfbf45ffaf976a2;hp=f386fd4b73731ec12918f260cf13b8624e706221;hb=a31d65a998121df0651c57bfb68782e2a07d2e2f;hpb=31d52677b38d935297d132bdbd956c655cd3feee diff --git a/src/Hud.hh b/src/Hud.hh index f386fd4..59f0631 100644 --- a/src/Hud.hh +++ b/src/Hud.hh @@ -42,6 +42,8 @@ #include "Tilemap.hh" +// TODO this stuff is still just hacked up + class ProgressBar : public Mf::Drawable { public: @@ -56,14 +58,14 @@ public: private: - Mf::Scalar progress_; + Mf::Scalar mProgress; - Mf::Vector2 vertices_[8]; - Mf::Scalar width_; + Mf::Vector2 mVertices[8]; + Mf::Scalar mWidth; - Tilemap tilemap_; - Mf::Scalar texCoords_[8]; - Mf::Scalar midCoords_[2]; + Tilemap mTilemap; + Mf::Scalar mTexCoords[8]; + Mf::Scalar mMidCoords[2]; }; @@ -84,13 +86,13 @@ public: void setBar1Progress(Mf::Scalar progress) { // pass through - bar1_.setProgress(progress); + mBar1.setProgress(progress); } void setBar2Progress(Mf::Scalar progress) { // pass through - bar2_.setProgress(progress); + mBar2.setProgress(progress); } void setNumber(unsigned value); @@ -102,13 +104,13 @@ public: private: - ProgressBar bar1_; - ProgressBar bar2_; + ProgressBar mBar1; + ProgressBar mBar2; - unsigned number_; - Tilemap font_; + unsigned mNumber; + Tilemap mFont; - Mf::Matrix4 projection_; + Mf::Matrix4 mProjection; };