aboutsummaryrefslogtreecommitdiff
path: root/src/luaentity_common.h
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-11-27 04:31:05 +0200
committerPerttu Ahola <celeron55@gmail.com>2011-11-29 19:13:54 +0200
commit82a460ec90b4537926f31603219504bce8817ac2 (patch)
tree91bfae1ab35367a3617e19023842d9218255b1eb /src/luaentity_common.h
parentb4e6ca63b54407bf67e5656692016c4f2927358d (diff)
downloadminetest-82a460ec90b4537926f31603219504bce8817ac2.tar.gz
minetest-82a460ec90b4537926f31603219504bce8817ac2.tar.bz2
minetest-82a460ec90b4537926f31603219504bce8817ac2.zip
Improve luaentity sprite functionality (and add some random stuff)
Diffstat (limited to 'src/luaentity_common.h')
-rw-r--r--src/luaentity_common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/luaentity_common.h b/src/luaentity_common.h
index 6e5f11385..bc2871a94 100644
--- a/src/luaentity_common.h
+++ b/src/luaentity_common.h
@@ -31,7 +31,10 @@ struct LuaEntityProperties
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();