forked from mirrors/principia
Fixed ./go on linux, also hide adventure from main menu for now
This commit is contained in:
parent
226214c5a5
commit
061898faef
4 changed files with 9 additions and 6 deletions
|
|
@ -148,8 +148,10 @@ if [ "$run" -eq "1" ]; then
|
|||
elif [ "$debug" -eq "4" ]; then # --leak
|
||||
valgrind --suppressions=./valgrind.supp --tool=memcheck --leak-check=full --show-possibly-lost=yes --track-origins=yes ./apparatus2
|
||||
elif [ "$debug" -eq "1" ]; then
|
||||
gdb -ex run -ex quit ./apparatus2
|
||||
cd ../
|
||||
gdb -ex run -ex quit build-linux/apparatus2
|
||||
else
|
||||
./apparatus2
|
||||
cd ../
|
||||
build-linux/apparatus2
|
||||
fi
|
||||
fi
|
||||
|
|
|
|||
|
|
@ -141,7 +141,7 @@ menu_create::menu_create()
|
|||
this->get_surface(), TMS_WDG_LABEL,
|
||||
BTN_CUSTOM, area);
|
||||
this->wdg_custom->set_label("Custom", font::xmedium);
|
||||
this->wdg_custom->priority = 970;
|
||||
this->wdg_custom->priority = 995;
|
||||
this->wdg_custom->render_background = true;
|
||||
this->wdg_custom->add();
|
||||
|
||||
|
|
|
|||
|
|
@ -31,8 +31,8 @@ menu_main::widget_clicked(principia_wdg *w, uint8_t button_id, int pid)
|
|||
|
||||
case BTN_PLAY:
|
||||
{
|
||||
P.add_action(ACTION_GOTO_PLAY, 0x1);
|
||||
//ui::open_dialog(DIALOG_MAIN_MENU_PKG);
|
||||
//P.add_action(ACTION_GOTO_PLAY, 0x1);
|
||||
ui::open_dialog(DIALOG_MAIN_MENU_PKG);
|
||||
}
|
||||
break;
|
||||
|
||||
|
|
|
|||
|
|
@ -101,7 +101,8 @@ menu_pkg::widget_clicked(principia_wdg *w, uint8_t button_id, int pid)
|
|||
|
||||
switch (button_id) {
|
||||
case BTN_BACK:
|
||||
P.add_action(ACTION_GOTO_PLAY, 0x1);
|
||||
P.add_action(ACTION_GOTO_MAINMENU, 0x1);
|
||||
//P.add_action(ACTION_GOTO_PLAY, 0x1);
|
||||
break;
|
||||
|
||||
default: return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue