Go to the source code of this file.
Namespaces | |
lua_units | |
Functions | |
void | push_unit_attacks_table (lua_State *L, int idx) |
std::string | lua_units::register_attacks_metatables (lua_State *L) |
void | luaW_pushweapon (lua_State *L, const attack_ptr &weapon) |
void | luaW_pushweapon (lua_State *L, const const_attack_ptr &weapon) |
const_attack_ptr | luaW_toweapon (lua_State *L, int idx) |
attack_type & | luaW_checkweapon (lua_State *L, int idx) |
int | intf_create_attack (lua_State *L) |
int intf_create_attack | ( | lua_State * | L | ) |
Definition at line 357 of file lua_unit_attacks.cpp.
References luaW_checkconfig(), and luaW_pushweapon().
Referenced by game_lua_kernel::game_lua_kernel().
attack_type& luaW_checkweapon | ( | lua_State * | L, |
int | idx | ||
) |
Definition at line 84 of file lua_unit_attacks.cpp.
References attack_ref::attack, and luaW_checkweapon_ref().
Referenced by impl_unit_attack_set().
void luaW_pushweapon | ( | lua_State * | L, |
const attack_ptr & | weapon | ||
) |
Definition at line 51 of file lua_unit_attacks.cpp.
References uattackKey.
Referenced by impl_unit_attacks_get(), intf_create_attack(), luaW_pushfaivariant(), and luaW_pushsimweapon().
void luaW_pushweapon | ( | lua_State * | L, |
const const_attack_ptr & | weapon | ||
) |
Definition at line 61 of file lua_unit_attacks.cpp.
References uattackKey.
const_attack_ptr luaW_toweapon | ( | lua_State * | L, |
int | idx | ||
) |
Definition at line 76 of file lua_unit_attacks.cpp.
References p, and uattackKey.
Referenced by impl_add_animation(), impl_unit_attack_equal(), impl_unit_attack_match(), impl_unit_attacks_set(), lua_formula_bridge::intf_eval_formula(), and luaW_tofaivariant().
void push_unit_attacks_table | ( | lua_State * | L, |
int | idx | ||
) |
Definition at line 41 of file lua_unit_attacks.cpp.
References uattacksKey.
Referenced by UNIT_GETTER(), and UNIT_TYPE_GETTER().