summaryrefslogtreecommitdiff
path: root/src/luaentity_common.h
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2012-03-30 12:51:51 +0300
committerPerttu Ahola <celeron55@gmail.com>2012-03-30 12:51:51 +0300
commit9e7ccedba4d9a94c7f2d20013c55e82aac3fe6a3 (patch)
treea2139176c85cae0424f64edeb21d1a2f72bb2586 /src/luaentity_common.h
parentb9ffb5f30d64d365e6792d0d3acff552d9fcd0fd (diff)
downloadminetest-9e7ccedba4d9a94c7f2d20013c55e82aac3fe6a3.tar.gz
minetest-9e7ccedba4d9a94c7f2d20013c55e82aac3fe6a3.tar.bz2
minetest-9e7ccedba4d9a94c7f2d20013c55e82aac3fe6a3.zip
ObjectProperties
Diffstat (limited to 'src/luaentity_common.h')
-rw-r--r--src/luaentity_common.h23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/luaentity_common.h b/src/luaentity_common.h
index d12ec9f0e..e769cf3df 100644
--- a/src/luaentity_common.h
+++ b/src/luaentity_common.h
@@ -20,29 +20,6 @@ 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
- s16 hp_max;
- bool physical;
- float weight;
- core::aabbox3d<f32> collisionbox;
- std::string visual;
- v2f visual_size;
- core::array<std::string> textures;
- v2s16 spritediv;
- v2s16 initial_sprite_basepos;
-
- 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