void Area::load() { Aurora::GFF3File are(_resRef, Aurora::kFileTypeARE, MKTAG('A', 'R', 'E', ' ')); loadARE(are.getTopLevel()); loadResources(); Aurora::GFF3File sav(_resRef, Aurora::kFileTypeSAV, MKTAG('S', 'A', 'V', ' ')); loadSAV(sav.getTopLevel()); loadLYT(); // Room layout loadVIS(); // Room visibilities loadRooms(); }
void Area::load(const Common::UString &resRef) { _resRef = resRef; loadLYT(); // Room layout loadVIS(); // Room visibilities loadRooms(); Aurora::GFF3File are(_resRef, Aurora::kFileTypeARE, MKTAG('A', 'R', 'E', ' ')); loadARE(are.getTopLevel()); Aurora::GFF3File git(_resRef, Aurora::kFileTypeGIT, MKTAG('G', 'I', 'T', ' ')); loadGIT(git.getTopLevel()); _loaded = true; }