Rearrange resource structure

- All resources are now under data/
- Editors and Blades of Exile Base are no longer in Scenario Editor subfolder
- User scenarios are now stored in %APPDATA% / "Application Support"
This commit is contained in:
2015-09-03 19:26:19 -04:00
parent e3d2774946
commit 0c7c64dfc9
276 changed files with 57 additions and 187 deletions

View File

@@ -64,14 +64,14 @@ bool load_scenario(fs::path file_to_load, cScenario& scenario, bool only_header)
// Before loading a scenario, we may need to pop scenario resource paths.
fs::path graphics_path = ResMgr::popPath<ImageRsrc>();
for(auto p : graphics_path) {
if(p.string() == "graphics.exd") {
if(p.string() == "graphics") {
ResMgr::pushPath<ImageRsrc>(graphics_path);
break;
}
}
fs::path sounds_path = ResMgr::popPath<SoundRsrc>();
for(auto p : sounds_path) {
if(p.string() == "sounds.exa") {
if(p.string() == "sounds") {
ResMgr::pushPath<SoundRsrc>(sounds_path);
break;
}