]> git.lizzy.rs Git - minetest.git/blobdiff - src/luaentity_common.h
Install minetest_game without .git and other unnecessary things
[minetest.git] / src / luaentity_common.h
index 6e5f11385ffe59012d7c0282c8df0163c2db1f44..e769cf3df2e56f0589a1987136de51c83a98461e 100644 (file)
@@ -20,24 +20,11 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 #ifndef LUAENTITY_COMMON_HEADER
 #define LUAENTITY_COMMON_HEADER
 
-#include <string>
-#include "irrlichttypes.h"
-#include <iostream>
-
-struct LuaEntityProperties
-{
-       // Values are BS=1
-       bool physical;
-       float weight;
-       core::aabbox3d<f32> collisionbox;
-       std::string visual;
-       core::array<std::string> textures;
-
-       LuaEntityProperties();
-       std::string dump();
-       void serialize(std::ostream &os);
-       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
+#define LUAENTITY_CMD_UPDATE_ARMOR_GROUPS 4
 
 #endif