Go to the source code of this file.
Functions | |
unit_ptr | make_unit_ptr (const config &cfg, bool use_traits=false, const vconfig *vcfg=nullptr) |
unit_ptr | make_unit_ptr (const unit_type &t, int side, bool real_unit, unit_race::GENDER gender=unit_race::NUM_GENDERS) |
unit_ptr | make_unit_ptr (const unit &u) |
unit_ptr make_unit_ptr | ( | const config & | cfg, |
bool | use_traits = false , |
||
const vconfig * | vcfg = nullptr |
||
) |
Definition at line 19 of file make.cpp.
References unit::create().
Definition at line 27 of file make.cpp.
References unit::clone().
unit_ptr make_unit_ptr | ( | const unit_type & | t, |
int | side, | ||
bool | real_unit, | ||
unit_race::GENDER | gender = unit_race::NUM_GENDERS |
||
) |
Definition at line 23 of file make.cpp.
References unit::create(), and t.