mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Node highlighting.
This commit is contained in:
parent
206f076422
commit
58e6d25e03
10 changed files with 168 additions and 49 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue