diff options
author | Colin Noga <Tempus@chronometry.ca> | 2013-05-13 09:57:02 -0500 |
---|---|---|
committer | Colin Noga <Tempus@chronometry.ca> | 2013-05-13 09:57:02 -0500 |
commit | c2b92e563229d633fefcabb4544b3bf73dc40db0 (patch) | |
tree | ab58f26923e7e527645edddde2266b6c65147711 /src/koopatlas | |
parent | 5c519288c928f4136b973613733e70b829dda480 (diff) | |
download | kamek-c2b92e563229d633fefcabb4544b3bf73dc40db0.tar.gz kamek-c2b92e563229d633fefcabb4544b3bf73dc40db0.zip |
Fixes to world map messages, roll your own model, shy guy giant and topman speeds
Diffstat (limited to '')
-rw-r--r-- | src/koopatlas/core.cpp | 16 | ||||
-rw-r--r-- | src/koopatlas/pathmanager.cpp | 6 |
2 files changed, 12 insertions, 10 deletions
diff --git a/src/koopatlas/core.cpp b/src/koopatlas/core.cpp index 6618650..6101197 100644 --- a/src/koopatlas/core.cpp +++ b/src/koopatlas/core.cpp @@ -539,14 +539,14 @@ void dScKoopatlas_c::executeState_Normal() { state.setState(&StateID_CSMenu); hud->hideAll(); #ifdef NEWER_DEBUG - } else if (nowPressed & WPAD_MINUS) { - pathManager.unlockAllPaths(2); - } else if (nowPressed & WPAD_A) { - pathManager.unlockAllPaths(0); - SaveBlock *save = GetSaveFile()->GetBlock(-1); - for (int w = 0; w < 6; w++) - for (int l = 0; l < 6; l++) - save->SetLevelCondition(w, l, COND_COIN_ALL); + // } else if (nowPressed & WPAD_MINUS) { + // pathManager.unlockAllPaths(2); + // } else if (nowPressed & WPAD_A) { + // pathManager.unlockAllPaths(0); + // SaveBlock *save = GetSaveFile()->GetBlock(-1); + // for (int w = 0; w < 6; w++) + // for (int l = 0; l < 6; l++) + // save->SetLevelCondition(w, l, COND_COIN_ALL); #endif } } diff --git a/src/koopatlas/pathmanager.cpp b/src/koopatlas/pathmanager.cpp index b1108b8..271bcbe 100644 --- a/src/koopatlas/pathmanager.cpp +++ b/src/koopatlas/pathmanager.cpp @@ -243,8 +243,10 @@ void dWMPathManager_c::setup() { completionMessageType = CMP_MSG_EXITS; } } - if (CanFinishWorld && flag == totalFlag) - completionMessageType = CMP_MSG_WORLD; + if (CanFinishWorld && flag == totalFlag) { + shouldRequestSave = true; + completionMessageType = CMP_MSG_WORLD; + } if (CanFinishAlmostAllCoins) { if ((conds & COND_COIN_ALL) == COND_COIN_ALL) |