diff options
author | TeTpaAka <TeTpaAka@users.noreply.github.com> | 2015-05-14 15:54:54 +0200 |
---|---|---|
committer | est31 <MTest31@outlook.com> | 2015-05-15 11:03:27 +0200 |
commit | 86a963caca9604ad57904e9acd9bef7c46ca47d8 (patch) | |
tree | ebe637727aeb7479c3cd327fba5dbc7dce0c9b5c /src/genericobject.h | |
parent | 99cf53c9087671d0a2130d2272b9a4f61d680517 (diff) | |
download | minetest-86a963caca9604ad57904e9acd9bef7c46ca47d8.tar.gz minetest-86a963caca9604ad57904e9acd9bef7c46ca47d8.tar.bz2 minetest-86a963caca9604ad57904e9acd9bef7c46ca47d8.zip |
Add get and set functions for the nametag color
Diffstat (limited to 'src/genericobject.h')
-rw-r--r-- | src/genericobject.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 |