Searched refs:tribeindex (Results 1 – 2 of 2) sorted by relevance
322 const TribeDescr* Tribes::get_tribe_descr(DescriptionIndex tribeindex) const { in get_tribe_descr()323 return tribes_->get_mutable(tribeindex); in get_tribe_descr()327 for (size_t tribeindex = 0; tribeindex < nrtribes(); ++tribeindex) { in load_graphics() local328 TribeDescr* tribe = tribes_->get_mutable(tribeindex); in load_graphics()
3240 int tribeindex = tribes.tribe_index(tribename); in is_construction_material() local3241 lua_pushboolean(L, tribes.get_tribe_descr(tribeindex)->is_construction_material(ware_index)); in is_construction_material()