From 58e6d25e033c76dc91aaac18fdeda92ac23fe0e1 Mon Sep 17 00:00:00 2001 From: RealBadAngel Date: Tue, 16 Sep 2014 12:38:37 +0200 Subject: Node highlighting. --- src/client.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/client.h') diff --git a/src/client.h b/src/client.h index 51ce5b8f2..8bffbd1db 100644 --- a/src/client.h +++ b/src/client.h @@ -395,6 +395,9 @@ public: int getCrackLevel(); void setCrack(int level, v3s16 pos); + void setHighlighted(v3s16 pos, bool show_hud); + v3s16 getHighlighted(){ return m_highlighted_pos; } + u16 getHP(); u16 getBreath(); @@ -500,10 +503,12 @@ private: float m_inventory_from_server_age; std::set m_active_blocks; PacketCounter m_packetcounter; + bool m_show_hud; // Block mesh animation parameters float m_animation_time; int m_crack_level; v3s16 m_crack_pos; + v3s16 m_highlighted_pos; // 0 <= m_daynight_i < DAYNIGHT_CACHE_COUNT //s32 m_daynight_i; //u32 m_daynight_ratio; -- cgit v1.2.3