4 #include "luainclude.h"
6 #define LUA_FUNC( name ) int name( lua_State *L )
16 static void Push( lua_State
*L
);
20 static LUA_FUNC( Map_Acid
);
21 static LUA_FUNC( Map_CreateObject
);
22 static LUA_FUNC( Map_CreateRobot
);
23 static LUA_FUNC( Map_GetRandomFreePosition
);
24 static LUA_FUNC( Map_IsTile
);
25 static LUA_FUNC( Map_IsObjectOn
);
26 static LUA_FUNC( Map_IsRobotOn
);
27 static LUA_FUNC( Map_CheckFree
);
29 static const luaL_Reg lMapFuncs
[];
34 static LUA_FUNC( Player_GetPosition
);
35 static LUA_FUNC( Player_SetImmune
);
36 static LUA_FUNC( Player_Teleport
);
37 static LUA_FUNC( Player_Pickup
);
38 static LUA_FUNC( Player_Drop
);
39 static LUA_FUNC( Player_AddLives
);
41 static const luaL_Reg lPlayerFuncs
[];