summaryrefslogtreecommitdiff
path: root/src/koopatlas/core.cpp
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2012-10-18 03:55:02 +0200
committerTreeki <treeki@gmail.com>2012-10-18 03:55:02 +0200
commitedf303f6ba8e30e04e828cb0b9b268d534f194c4 (patch)
tree88a6c51b3045470694cb56c161cdf53a578f0944 /src/koopatlas/core.cpp
parent9af56ee115dea9cbb9ee5b8317fefdb396a0e744 (diff)
downloadkamek-edf303f6ba8e30e04e828cb0b9b268d534f194c4.tar.gz
kamek-edf303f6ba8e30e04e828cb0b9b268d534f194c4.zip
refactored level info a little
Diffstat (limited to 'src/koopatlas/core.cpp')
-rw-r--r--src/koopatlas/core.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/koopatlas/core.cpp b/src/koopatlas/core.cpp
index 462b995..b635ba0 100644
--- a/src/koopatlas/core.cpp
+++ b/src/koopatlas/core.cpp
@@ -176,9 +176,7 @@ bool WMInit_LoadResources1(void *ptr) {
dScKoopatlas_c *wm = (dScKoopatlas_c*)ptr;
- bool result1 = wm->mapListLoader.load("/Maps/List.txt");
- bool result2 = wm->levelInfoLoader.load("/NewerRes/LevelInfo.bin");
- return result1 && result2;
+ return wm->mapListLoader.load("/Maps/List.txt");
}
bool WMInit_LoadResources2(void *ptr) {
@@ -250,8 +248,6 @@ bool WMInit_SetupExtra(void *ptr) {
wm->player->modelHandler->mdlClass->startAnimation(0, 1.2f, 10.0f, 0.0f);
// since we've got all the resources, set up the path data too
- SpammyReport("preparing level info\n");
- wm->levelInfo.load(wm->levelInfoLoader.buffer);
SpammyReport("preparing path manager\n");
wm->pathManager.setup();
@@ -424,7 +420,6 @@ int dScKoopatlas_c::onDelete() {
DVD_FreeFile(GetDVDClass2(), "SI_propeller");
DVD_FreeFile(GetDVDClass2(), "SI_star");
- levelInfoLoader.unload();
mapListLoader.unload();
CleanUpEffectThings();