mirror of
https://github.com/Oibaf66/frodo-wii.git
synced 2024-11-22 11:29:24 +01:00
Add game info and move resetting to options
This commit is contained in:
parent
1745a49933
commit
fe57609c81
@ -1,6 +1,5 @@
|
||||
#include "menu.hh"
|
||||
#include "dialogue_box.hh"
|
||||
#include "status_bar.hh"
|
||||
|
||||
class KeyboardTypingListener : public KeyboardListener
|
||||
{
|
||||
@ -81,9 +80,7 @@ public:
|
||||
panic("Illegal selection\n");
|
||||
}
|
||||
break;
|
||||
case 9: /* Reset the C64 */
|
||||
Gui::gui->status_bar->queueMessage("Resetting the C64");
|
||||
Gui::gui->popView();
|
||||
case 9: /* Game info */
|
||||
break;
|
||||
case 10: /* Networking */
|
||||
Gui::gui->pushView(Gui::gui->nv);
|
||||
|
@ -69,7 +69,7 @@ const char **main_menu_messages = (const char*[]){
|
||||
/*06*/ "Keyboard",
|
||||
/*07*/ "^|Type|Macro|Bind",
|
||||
/*08*/ " ",
|
||||
/*09*/ "Reset the C=64",
|
||||
/*09*/ "Game info",
|
||||
/*10*/ "Networking",
|
||||
/*11*/ "Options",
|
||||
/*12*/ "Quit",
|
||||
@ -106,7 +106,12 @@ const char **main_menu_help[] = {
|
||||
},
|
||||
NULL,
|
||||
NULL,
|
||||
(const char*[]){
|
||||
"View and configure game",
|
||||
"information (author,",
|
||||
"screenshots etc)",
|
||||
NULL,
|
||||
},
|
||||
(const char*[]){
|
||||
"Network setup for playing",
|
||||
"C64 games against other",
|
||||
@ -136,8 +141,9 @@ const char **options_menu_messages = (const char*[]){
|
||||
/*07*/ "^|double-center|stretched",
|
||||
/*08*/ "Speed (approx. %)",
|
||||
/*09*/ "^|95|100|110",
|
||||
/*10*/ " ",
|
||||
/*11*/ "Setup GUI theme",
|
||||
/*10*/ "Reset the C=64",
|
||||
/*11*/ " ",
|
||||
/*12*/ "Setup GUI theme",
|
||||
NULL
|
||||
};
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
#include "gui.hh"
|
||||
#include "menu.hh"
|
||||
#include "help_box.hh"
|
||||
#include "status_bar.hh"
|
||||
|
||||
class OptionsView;
|
||||
class OptionsMenu : public Menu
|
||||
@ -20,8 +21,14 @@ public:
|
||||
|
||||
virtual void selectCallback(int which)
|
||||
{
|
||||
if (which == 9) /* Game info */
|
||||
{
|
||||
Gui::gui->status_bar->queueMessage("Resetting the C64");
|
||||
Gui::gui->popView();
|
||||
return;
|
||||
}
|
||||
/* Select theme */
|
||||
if (which == 11)
|
||||
if (which == 12)
|
||||
{
|
||||
Gui::gui->tv->setDirectory(Gui::gui->theme_base_path);
|
||||
Gui::gui->pushView(Gui::gui->tv);
|
||||
|
Loading…
Reference in New Issue
Block a user