From abceeee92f99b84ebb79968269835a4f509bfb90 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Mon, 14 Nov 2011 00:19:48 +0200 Subject: Create framework for getting rid of global definitions of node/tool/item/whatever types --- src/scriptapi.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/scriptapi.h') diff --git a/src/scriptapi.h b/src/scriptapi.h index de8eb6abe..ecd3d7b81 100644 --- a/src/scriptapi.h +++ b/src/scriptapi.h @@ -28,6 +28,7 @@ class ServerEnvironment; class ServerActiveObject; typedef struct lua_State lua_State; struct LuaEntityProperties; +//class IGameDef; void scriptapi_export(lua_State *L, Server *server); void scriptapi_add_environment(lua_State *L, ServerEnvironment *env); @@ -48,7 +49,7 @@ void scriptapi_luaentity_get_properties(lua_State *L, u16 id, LuaEntityProperties *prop); void scriptapi_luaentity_step(lua_State *L, u16 id, float dtime); void scriptapi_luaentity_punch(lua_State *L, u16 id, - ServerActiveObject *clicker); + ServerActiveObject *puncher); void scriptapi_luaentity_rightclick(lua_State *L, u16 id, ServerActiveObject *clicker); -- cgit v1.2.3