summaryrefslogtreecommitdiff
path: root/src/genericobject.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/genericobject.h')
-rw-r--r--src/genericobject.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/genericobject.h b/src/genericobject.h
index 7e3e9d96f..d20e7b3d0 100644
--- a/src/genericobject.h
+++ b/src/genericobject.h
@@ -30,8 +30,9 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#define GENERIC_CMD_SET_SPRITE 3
#define GENERIC_CMD_SET_ANIMATIONS 4
#define GENERIC_CMD_SET_BONE_POSROT 5
-#define GENERIC_CMD_PUNCHED 6
-#define GENERIC_CMD_UPDATE_ARMOR_GROUPS 7
+#define GENERIC_CMD_SET_ATTACHMENT 6
+#define GENERIC_CMD_PUNCHED 7
+#define GENERIC_CMD_UPDATE_ARMOR_GROUPS 8
#include "object_properties.h"
std::string gob_cmd_set_properties(const ObjectProperties &prop);
@@ -60,6 +61,8 @@ std::string gob_cmd_set_animations(v2f frames, float frame_speed, float frame_bl
std::string gob_cmd_set_bone_posrot(std::string bone, v3f position, v3f rotation);
+std::string gob_cmd_set_attachment(); // <- parameters here
+
std::string gob_cmd_punched(s16 damage, s16 result_hp);
#include "itemgroup.h"