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/genericobject.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/genericobject.h') diff --git a/src/genericobject.h b/src/genericobject.h index 29e5e29cb..854950d27 100644 --- a/src/genericobject.h +++ b/src/genericobject.h @@ -34,6 +34,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #define GENERIC_CMD_SET_BONE_POSITION 7 #define GENERIC_CMD_SET_ATTACHMENT 8 #define GENERIC_CMD_SET_PHYSICS_OVERRIDE 9 +#define GENERIC_CMD_SET_NAMETAG_COLOR 10 #include "object_properties.h" std::string gob_cmd_set_properties(const ObjectProperties &prop); @@ -72,5 +73,7 @@ std::string gob_cmd_update_bone_position(std::string bone, v3f position, v3f rot std::string gob_cmd_update_attachment(int parent_id, std::string bone, v3f position, v3f rotation); +std::string gob_cmd_set_nametag_color(video::SColor color); + #endif -- cgit v1.2.3