diff options
Diffstat (limited to 'src/client.h')
-rw-r--r-- | src/client.h | 5 |
1 files changed, 5 insertions, 0 deletions
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<v3s16> 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; |