diff options
author | Treeki <treeki@gmail.com> | 2011-06-18 01:58:08 +0200 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2011-06-18 01:58:08 +0200 |
commit | a5b7bd275ad894f68a1a4479a112d5a97aede8f4 (patch) | |
tree | c696ce6897040c56a5bab655baed0c9405cfc530 /src/worldmap.cpp | |
parent | d9228902b95b97523dd5f9a5c0d3bcc23f8dee84 (diff) | |
download | kamek-a5b7bd275ad894f68a1a4479a112d5a97aede8f4.tar.gz kamek-a5b7bd275ad894f68a1a4479a112d5a97aede8f4.zip |
HUD fixes
Diffstat (limited to 'src/worldmap.cpp')
-rw-r--r-- | src/worldmap.cpp | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/worldmap.cpp b/src/worldmap.cpp index 50e82c7..06229e0 100644 --- a/src/worldmap.cpp +++ b/src/worldmap.cpp @@ -413,7 +413,11 @@ int dScNewerWorldMap_c::onExecute() { if (nowPressed & WPAD_ONE) {
STKI_SHOW(this->stockItem) = true;
this->state = STATE_POWERUPS_WAIT;
+ } else if (nowPressed & WPAD_PLUS) {
+ CSMENU_ACTIVE(this->csMenu) = true;
+ this->state = STATE_CSMENU;
}
+
} break;
/**********************************************************************/
@@ -815,9 +819,6 @@ void NewerMapDrawFunc() { // Todo: Newer-specific scenes?
// Stage 1
- SetupLYTDrawing();
- DrawAllLayoutsBeforeX(129);
- GXDrawDone(); // is all GXDrawDone really needed..?
// Stage 2
Reset3DState();
@@ -838,7 +839,9 @@ void NewerMapDrawFunc() { // Stage 3
Reset3DState();
SetupLYTDrawing();
- DrawAllLayoutsAfterXandBeforeY(128, 146);
+ DrawAllLayoutsBeforeX(146);
+ //DrawAllLayoutsBeforeX(129);
+ //DrawAllLayoutsAfterXandBeforeY(128, 146);
GXDrawDone();
// Stage 4
|