X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fui%2FHUD.hpp;h=1917b130c926772b5518806c1fc04af157447271;hb=38a4cffc0b6aa58e49d24c06aad7bee14cb6515d;hp=718e712485b30a727a14426dd50ead4ad8227d7a;hpb=3f35e70a6b66daf2ffd59590e98e2dd11e6eaabb;p=blank.git diff --git a/src/ui/HUD.hpp b/src/ui/HUD.hpp index 718e712..1917b13 100644 --- a/src/ui/HUD.hpp +++ b/src/ui/HUD.hpp @@ -1,8 +1,8 @@ #ifndef BLANK_UI_HUD_H_ #define BLANK_UI_HUD_H_ -#include "../graphics/FixedText.hpp" -#include "../model/Model.hpp" +#include "FixedText.hpp" +#include "../model/EntityModel.hpp" #include "../model/OutlineModel.hpp" #include @@ -23,6 +23,7 @@ public: HUD(const HUD &) = delete; HUD &operator =(const HUD &) = delete; + void DisplayNone(); void Display(const Block &); void Render(Viewport &) noexcept; @@ -31,8 +32,8 @@ private: const BlockTypeRegistry &types; const Font &font; - Model block; - Model::Buffer block_buf; + EntityModel block; + EntityModel::Buffer block_buf; glm::mat4 block_transform; FixedText block_label;