8 const auto& qname = file->
name();
25 for (
const auto& item :
items)
27 static_cast<WoWModel*
>(item.second)->animcalc =
false;
34 for (
const auto& item :
items)
42 for (
const auto& item :
items)
Abstract base class representing a file within the game data archive.
std::map< int, ManagedItem * > items
virtual void doDelete(int)
std::map< std::string, int > names
void do_add(const std::string &name, int id, ManagedItem *item)
void resetAnim()
Reset animations on all managed models.
void clear()
Remove and destroy all managed models.
int add(GameFile *)
Add a model from the given game file and return its handle.
void updateEmitters(float dt)
Update particle and ribbon emitters on all managed models.
Core WoW .m2 model: geometry, animation, textures, and character data.