diff options
author | Emmanuel <emmanuel@chthonicsoftware.com> | 2020-09-07 11:59:13 -0600 |
---|---|---|
committer | Elias Fleckenstein <eliasfleckenstein@web.de> | 2021-03-05 09:45:58 +0100 |
commit | 6b9057a1f2c0f3fabbf061f5bd49519920dd783b (patch) | |
tree | e44766106e3de04a962be77422ddaf5d77823891 /src/script/common/c_content.h | |
parent | ac8ac191691a13162667314358e96f07a65d0d1a (diff) | |
download | minetest-6b9057a1f2c0f3fabbf061f5bd49519920dd783b.tar.xz |
Ability to define and use LUA wield animations
Diffstat (limited to 'src/script/common/c_content.h')
-rw-r--r-- | src/script/common/c_content.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/script/common/c_content.h b/src/script/common/c_content.h index 29d576355..2733be663 100644 --- a/src/script/common/c_content.h +++ b/src/script/common/c_content.h @@ -33,7 +33,6 @@ extern "C" { #include <iostream> #include <vector> - #include "irrlichttypes_bloated.h" #include "util/string.h" #include "itemgroup.h" @@ -48,6 +47,7 @@ class NodeDefManager; struct PointedThing; struct ItemStack; struct ItemDefinition; + struct ToolCapabilities; struct ObjectProperties; struct SimpleSoundSpec; @@ -109,6 +109,7 @@ void push_item_definition (lua_State *L, const ItemDefinition &i); void push_item_definition_full (lua_State *L, const ItemDefinition &i); +void read_wield_animation(lua_State *L, int index); void read_object_properties (lua_State *L, int index, ServerActiveObject *sao, |