mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Generalize core.get/set_nametag_color into core.get/set_nametag_attributes
This commit is contained in:
parent
5d1d7c17ea
commit
18c2f16c13
7 changed files with 36 additions and 26 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue