From 86a963caca9604ad57904e9acd9bef7c46ca47d8 Mon Sep 17 00:00:00 2001 From: TeTpaAka Date: Thu, 14 May 2015 15:54:54 +0200 Subject: Add get and set functions for the nametag color --- src/content_sao.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/content_sao.h') diff --git a/src/content_sao.h b/src/content_sao.h index cc372ff55..4a8c70e16 100644 --- a/src/content_sao.h +++ b/src/content_sao.h @@ -197,6 +197,8 @@ public: void setAttachment(int parent_id, std::string bone, v3f position, v3f rotation); ObjectProperties* accessObjectProperties(); void notifyObjectPropertiesModified(); + void setNametagColor(video::SColor color); + video::SColor getNametagColor(); /* Inventory interface @@ -313,6 +315,9 @@ private: v3f m_attachment_rotation; bool m_attachment_sent; + video::SColor m_nametag_color; + bool m_nametag_sent; + public: float m_physics_override_speed; float m_physics_override_jump; -- cgit v1.2.3