From e9cdb938fe44282e09fb88628a6e86e5e7279c69 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Sun, 4 Mar 2012 21:08:03 +0200 Subject: Entity damage system WIP; Remove C++ mobs --- src/luaentity_common.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/luaentity_common.h') diff --git a/src/luaentity_common.h b/src/luaentity_common.h index bc2871a94..b63663828 100644 --- a/src/luaentity_common.h +++ b/src/luaentity_common.h @@ -27,6 +27,7 @@ with this program; if not, write to the Free Software Foundation, Inc., struct LuaEntityProperties { // Values are BS=1 + s16 hp_max; bool physical; float weight; core::aabbox3d collisionbox; @@ -42,5 +43,10 @@ struct LuaEntityProperties void deSerialize(std::istream &is); }; +#define LUAENTITY_CMD_UPDATE_POSITION 0 +#define LUAENTITY_CMD_SET_TEXTURE_MOD 1 +#define LUAENTITY_CMD_SET_SPRITE 2 +#define LUAENTITY_CMD_PUNCHED 3 + #endif -- cgit v1.2.3