28 #include <boost/smart_ptr/make_shared_object.hpp>
46 att->ref_own_ = att->ref_enemy_ = -1;
60 assert(att->ref_own_ != -1);
72 assert(att->ref_enemy_ != -1);
LUA_API void lua_getfield(lua_State *L, int idx, const char *k)
bool luaW_tovconfig(lua_State *L, int index, vconfig &vcfg)
Gets an optional vconfig from either a table or a userdata.
LUALIB_API int luaL_ref(lua_State *L, int t)
Lua object(value) wrapper implementation.
A small explanation about what's going on here: Each action has access to two game_info objects First...
filter_context * filter_con
#define lua_isfunction(L, n)
#define LUA_REGISTRYINDEX
#define lua_istable(L, n)
boost::shared_ptr< T > to_type(lua_State *, int)
A variable-expanding proxy for the config class.
A config object defines a single node in a WML file, with access to child nodes.
LUA AI Support engine - creating specific ai components from config.