]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/script/common/c_content.h
Expose collision information to LuaEntity on_step
[dragonfireclient.git] / src / script / common / c_content.h
index 9e755682faeba29d2d5a43e9d36036be80868725..8f32e58eb76060095aad9c16611c582c744caf0a 100644 (file)
@@ -63,7 +63,9 @@ struct EnumString;
 struct NoiseParams;
 class Schematic;
 class ServerActiveObject;
+struct collisionMoveResult;
 
+extern struct EnumString es_TileAnimationType[];
 
 ContentFeatures    read_content_features     (lua_State *L, int index);
 void               push_content_features     (lua_State *L,
@@ -196,4 +198,4 @@ void               push_hud_element          (lua_State *L, HudElement *elem);
 
 HudElementStat     read_hud_change           (lua_State *L, HudElement *elem, void **value);
 
-extern struct EnumString es_TileAnimationType[];
+void               push_collision_move_result(lua_State *L, const collisionMoveResult &res);