9#define SPOB_METATABLE "spob"
LuaSpob lua_tospob(lua_State *L, int ind)
This module allows you to handle the spobs from Lua.
LuaSpob luaL_checkspob(lua_State *L, int ind)
Gets spob at index raising an error if isn't a spob.
LuaSpob * lua_pushspob(lua_State *L, LuaSpob spob)
Pushes a spob on the stack.
Spob * luaL_validspob(lua_State *L, int ind)
Gets a spob directly.
int nlua_loadSpob(nlua_env env)
Loads the spob library.
int lua_isspob(lua_State *L, int ind)
Checks to see if ind is a spob.
Represents a Space Object (SPOB), including and not limited to planets, stations, wormholes,...