Skip to content
This repository has been archived by the owner on Feb 27, 2022. It is now read-only.

Commit

Permalink
Err.. don't show my old Helperboxes.
Browse files Browse the repository at this point in the history
Forgot to remove those.
  • Loading branch information
SuperSaiyajinStackZ committed Jan 24, 2020
1 parent ab3186b commit 72b0360
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 13 deletions.
4 changes: 0 additions & 4 deletions source/gui/screens/editor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -170,10 +170,6 @@ void Editor::BrowseLogic(u32 hDown, u32 hHeld) {
dirChanged = false;
}

if (hHeld & KEY_SELECT) {
Msg::HelperBox("Select a Save, which you like to edit.\nPress Start to refresh the filelist.\nPress B to exit from this Screen.");
}

if(hDown & KEY_A) {
if (dirContents.size() == 0) {
Msg::DisplayWarnMsg(Lang::get("WHAT_YOU_DO"));
Expand Down
10 changes: 3 additions & 7 deletions source/gui/screens/playerEditor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -232,10 +232,6 @@ void PlayerEditor::MainEditorLogic(u32 hDown, u32 hHeld, touchPosition touch) {
screen = 0;
}

if (hHeld & KEY_SELECT) {
Msg::HelperBox("Select Player, to edit the Player Stuff.\nSelect Items, to edit the Items. (Not Implemented yet)\nSelect WIP to ?. (Not implemented yet)\nPress B to exit from this Screen.");
}

if (hDown & KEY_A) {
switch(Selection) {
case 0:
Expand Down Expand Up @@ -514,13 +510,13 @@ void PlayerEditor::DrawPattern(void) const {
Gui::DrawTop();
Gui::DrawStringCentered(0, 0, 0.9f, WHITE, "LeafEdit - " + Lang::get("PATTERN"), 400);
Gui::DrawBottom();
for (int i = 0; i < 10; i++) {
for (int i = 0; i < 10; i++) {
for (u32 y = 0; y < 2; y++) {
for (u32 x = 0; x < 5; x++, i++) {
C2D_DrawImageAt(Save::Instance()->players[cp]->Patterns[i]->Images[0], 17 + (x * 60), 60 + (y * 80), 0.5f, nullptr, 1.5f, 1.5f);
C2D_DrawImageAt(Save::Instance()->players[cp]->Patterns[i]->Images[0], 17 + (x * 60), 60 + (y * 80), 0.5f, nullptr, 1.5f, 1.5f);
}
}
}
}

int selectY = 0, selectX = 0;
if (Selection < 5) selectY = 0; else selectY = 1;
Expand Down
4 changes: 4 additions & 0 deletions source/gui/screens/titleSelection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@ void TitleSelection::Logic(u32 hDown, u32 hHeld, touchPosition touch) {
} else if (selectMode == 2) {
regionLogic(hDown, hHeld, touch);
}

if (hDown & KEY_X) {
GameLoader::updateCheck2();
}
}

void TitleSelection::DrawGameSelector(void) const
Expand Down
2 changes: 0 additions & 2 deletions source/gui/screens/townManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -283,8 +283,6 @@ void TownManager::BrowseLogic(u32 hDown, u32 hHeld) {
if(Msg::promptMsg(Lang::get("LAUNCH_TOWN_POPUP_X"))) {
TownManagement::LaunchTown(currentMedia, currentID);
}
} else if (hHeld & KEY_SELECT) {
Msg::HelperBox("Press X to launch just the current Mediatype.\nSelect a Backup and Press A to restore and launch it.\nPress Start to refresh the FileList.\nPress B to exit from this Screen.");
}
}

Expand Down

0 comments on commit 72b0360

Please sign in to comment.