X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;ds=sidebyside;f=src%2Fui%2FInterface.hpp;h=907f9c234a320e5434c0da1f21bd2244c397c958;hb=b0c2d423138dfb4849c679b3fb93e4336dcf5845;hp=0cffd762cc29ea79af24b2204a94f0d4299c9e29;hpb=5cd73a8f2b40e59ec13aa2a6af33bc8e2a6b9a6c;p=blank.git diff --git a/src/ui/Interface.hpp b/src/ui/Interface.hpp index 0cffd76..907f9c2 100644 --- a/src/ui/Interface.hpp +++ b/src/ui/Interface.hpp @@ -19,6 +19,7 @@ namespace blank { class Chunk; +class Entity; class Environment; class Viewport; class World; @@ -70,6 +71,8 @@ public: void ToggleDebug(); void UpdateCounter(); void UpdatePosition(); + void UpdateOrientation(); + void UpdateBlockInfo(); void PostMessage(const char *); void PostMessage(const std::string &msg) { @@ -82,6 +85,7 @@ public: private: void CheckAim(); + void UpdateOutline(); private: Environment &env; @@ -91,6 +95,7 @@ private: Ray aim; Chunk *aim_chunk; + Entity *aim_entity; int aim_block; glm::vec3 aim_normal; @@ -99,6 +104,9 @@ private: FixedText counter_text; FixedText position_text; + FixedText orientation_text; + FixedText block_text; + Block last_displayed; MessageBox messages; IntervalTimer msg_timer; @@ -115,6 +123,8 @@ private: glm::ivec3 fwd, rev; + bool debug; + }; }