inline void CloseMPQFiles() { for (ArchiveSet::iterator j = gOpenArchives.begin(); j != gOpenArchives.end(); ++j)(*j)->close(); gOpenArchives.clear(); }
void CloseArchives() { for(ArchiveSet::const_iterator i = gOpenArchives.begin(); i != gOpenArchives.end();++i) SFileCloseArchive(*i); gOpenArchives.clear(); }