diff options
author | Aki <please@ignore.pl> | 2022-04-14 00:28:37 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2022-04-14 00:28:37 +0200 |
commit | 341c93b0fb4aedd262581ce6e81b700a9bdc1423 (patch) | |
tree | fcade8d6163d000e534134e32b64db126d766c9b /StarsEx/Starshatter.cpp | |
parent | 92de53ac4747fe3caf2ee4c4fa3dcb2ec86a5ef2 (diff) | |
download | starshatter-341c93b0fb4aedd262581ce6e81b700a9bdc1423.zip starshatter-341c93b0fb4aedd262581ce6e81b700a9bdc1423.tar.gz starshatter-341c93b0fb4aedd262581ce6e81b700a9bdc1423.tar.bz2 |
Switched to use new Sources everywhere applicable in the Loader
Diffstat (limited to 'StarsEx/Starshatter.cpp')
-rw-r--r-- | StarsEx/Starshatter.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/StarsEx/Starshatter.cpp b/StarsEx/Starshatter.cpp index dc60533..129efa9 100644 --- a/StarsEx/Starshatter.cpp +++ b/StarsEx/Starshatter.cpp @@ -169,7 +169,7 @@ chat_mode(0), exit_time(1.2), cutscene(0) DataLoader::Initialize(); loader = DataLoader::GetLoader(); - int loadstat = loader->EnableDatafile("shatter.dat"); + int loadstat = loader->MountDatafile("shatter.dat", DataLoader::Group::BASE); if (loadstat == DataLoader::FAILED) { ::MessageBox(hwnd, loader->LastError(), "Starshatter - Error", MB_OK); @@ -178,13 +178,13 @@ chat_mode(0), exit_time(1.2), cutscene(0) } if (loader->FindFile("vox.dat")) - loader->EnableDatafile("vox.dat"); + loader->MountDatafile("vox.dat", DataLoader::Group::BASE); if (loader->FindFile("start.dat")) - loader->EnableDatafile("start.dat"); + loader->MountDatafile("start.dat", DataLoader::Group::BASE); if (loader->FindFile("content.dat")) - loader->EnableDatafile("content.dat"); + loader->MountDatafile("content.dat", DataLoader::Group::BASE); LoadVideoConfig("video.cfg"); |