diff options
author | Treeki <treeki@gmail.com> | 2012-09-15 17:48:38 +0200 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2012-09-15 17:48:38 +0200 |
commit | 69b2b83ac585121b6cc37ff8fdcddf9ebd5cd5ce (patch) | |
tree | 42d5f230af7150d7ab1f3e283eba2e10ea7904ca /src/koopatlas/hud.cpp | |
parent | a16adae746a5d4814a781f583d18dd79d3e7d43b (diff) | |
download | kamek-69b2b83ac585121b6cc37ff8fdcddf9ebd5cd5ce.tar.gz kamek-69b2b83ac585121b6cc37ff8fdcddf9ebd5cd5ce.zip |
initial version of file select
Diffstat (limited to '')
-rw-r--r-- | src/koopatlas/hud.cpp | 67 |
1 files changed, 1 insertions, 66 deletions
diff --git a/src/koopatlas/hud.cpp b/src/koopatlas/hud.cpp index 8f4b778..3989a1c 100644 --- a/src/koopatlas/hud.cpp +++ b/src/koopatlas/hud.cpp @@ -383,72 +383,7 @@ void dWMHud_c::setWorldName() { int world = node->levelNumber[0]; int level = node->levelNumber[1]; - switch (world) { - case 1: - setWorldText("Yoshi's\nIsland"); - break; - - case 2: - if (((level > 1) && (level < 5)) || (level == 15) || (level == 33) || (level == 34)) - setWorldText("Soggy\nSewers"); - else - setWorldText("Rubble\nRuins"); - break; - - case 3: - setWorldText("Mushroom\nPeaks"); - break; - - case 4: - setWorldText("Sakura\nVillage"); - break; - - case 5: - if ((level < 6) || (level == 15) || (level == 33) || (level == 34)) - setWorldText("FreezeFlame\nValley"); - else - setWorldText("FreezeFlame\nVolcano"); - break; - - case 6: - setWorldText("Pumpkin\nBoneyard"); - break; - - case 7: - if (level < 4) - setWorldText("Sky\nMountain"); - else - setWorldText("Starry\nSkies"); - break; - - case 8: - if ((level < 6) || (level == 15) || (level == 25) || (level == 33) || (level == 34)) - setWorldText("Koopa\nPlanet"); - else - setWorldText("Koopa\nCore"); - break; - - case 9: - setWorldText("Bonus\nLand"); - break; - - case 10: - if ((level < 6) || (level == 30) || (level == 41) ) - setWorldText("Goldwood\nForest"); - else if ((level < 11) || (level == 32)) - setWorldText("Mini-Mega\nIsland"); - else if ((level < 16) || (level == 33) || (level == 34) || (level == 31) ) - setWorldText("Crystal\nCaves"); - else if (level < 19) - setWorldText("Bombard\nCliffs"); - else - setWorldText("Sky\nCity"); - break; - - default: - setWorldText("Unknown\nWorld"); - break; - } + setWorldText(NewerWorldName(NewerWorldForLevelID(world, level))); } } |