1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-11-30 04:35:20 +01:00

Generalize core.get/set_nametag_color into core.get/set_nametag_attributes

This commit is contained in:
TeTpaAka
2015-05-15 21:46:56 +02:00
committed by kwolekr
parent 5d1d7c17ea
commit 18c2f16c13
7 changed files with 36 additions and 26 deletions

View File

@@ -34,7 +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
#define GENERIC_CMD_UPDATE_NAMETAG_ATTRIBUTES 10
#include "object_properties.h"
std::string gob_cmd_set_properties(const ObjectProperties &prop);
@@ -73,7 +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);
std::string gob_cmd_update_nametag_attributes(video::SColor color);
#endif