Classes | |
class | fwrapper |
Functions | |
int | intf_eval_formula (lua_State *) |
Evaluates a formula in the formula engine. More... | |
int | intf_compile_formula (lua_State *) |
std::string | register_metatables (lua_State *) |
int lua_formula_bridge::intf_compile_formula | ( | lua_State * | L | ) |
Definition at line 258 of file lua_formula_bridge.cpp.
References formulaKey, and luaW_type_error().
Referenced by lua_kernel_base::lua_kernel_base().
int lua_formula_bridge::intf_eval_formula | ( | lua_State * | L | ) |
Evaluates a formula in the formula engine.
Definition at line 226 of file lua_formula_bridge.cpp.
References lua_formula_bridge::fwrapper::evaluate(), formulaKey, luaW_pushfaivariant(), luaW_toteam(), luaW_tounit(), luaW_tounittype(), luaW_toweapon(), and t.
Referenced by lua_kernel_base::lua_kernel_base(), and register_metatables().
std::string lua_formula_bridge::register_metatables | ( | lua_State * | L | ) |
Definition at line 304 of file lua_formula_bridge.cpp.
References formulaKey, impl_formula_collect(), impl_formula_tostring(), and intf_eval_formula().
Referenced by lua_kernel_base::lua_kernel_base().