Rearranged the menus

This commit is contained in:
simon.kagstrom 2009-04-13 10:46:30 +00:00
parent 029c4fc7a1
commit 7a4666a35f
2 changed files with 19 additions and 12 deletions

View File

@ -10,7 +10,14 @@
TODO: Handle Run/Stop in virtual keyboard (?) TODO: Handle Run/Stop in virtual keyboard (?)
version 10: version 10:
* Sound transfer for network play has been implemented * Implemented sending text messages over the network to "taunt"
the other player (obviously a very important feature). Pressing
ScrLk enables this.
* Rearranged menus (networking is more promptly displayed)
* Sound transfer for network play has been implemented, but is not
active
* Use 32KHz sound samplerate. This improves the cracking sound * Use 32KHz sound samplerate. This improves the cracking sound
problems from v9 a bit. It also allows sound to be transferred via problems from v9 a bit. It also allows sound to be transferred via

View File

@ -31,9 +31,9 @@ static struct timeval tv_start;
static const char *main_menu_messages[] = { static const char *main_menu_messages[] = {
"Invoke key sequence", /* 0 */ "Invoke key sequence", /* 0 */
"Insert disc or tape", /* 1 */ "Insert disc or tape", /* 1 */
"Reset C64", /* 2 */ "Bind key to joystick",/* 2 */
"Bind key to joystick",/* 3 */ "Other options", /* 3 */
"Other options", /* 4 */ "Networking", /* 4 */
"Controller 1 joystick port", /* 5 */ "Controller 1 joystick port", /* 5 */
"^|1|2", "^|1|2",
"Save/Load state", /* 7 */ "Save/Load state", /* 7 */
@ -374,7 +374,7 @@ void C64::other_options(Prefs *np)
"^|95|100|110", "^|95|100|110",
"Emulate 1541", /* 4 */ "Emulate 1541", /* 4 */
"^|On|Off", "^|On|Off",
"Networking", /* 6 */ "Reset C64", /* 6 */
NULL, NULL,
}; };
int submenus[3] = { np->DisplayOption, 0, !np->Emul1541Proc }; int submenus[3] = { np->DisplayOption, 0, !np->Emul1541Proc };
@ -412,7 +412,7 @@ void C64::other_options(Prefs *np)
} }
if (opt == 6) if (opt == 6)
this->networking_menu(np); Reset();
this->prefs_changed = true; this->prefs_changed = true;
} }
@ -752,21 +752,21 @@ void C64::VBlank(bool draw_frame)
case 1: /* Insert disc/tape */ case 1: /* Insert disc/tape */
this->select_disc(&np); this->select_disc(&np);
break; break;
case 2: /* Reset */ case 2: /* Bind keys to joystick */
Reset();
break;
case 3: /* Bind keys to joystick */
this->bind_keys(&np); this->bind_keys(&np);
break; break;
case 4: /* Other options */ case 3: /* Other options */
this->other_options(&np); this->other_options(&np);
break; break;
case 4: /* Networking */
this->networking_menu(&np);
break;
case 5: /* Swap joysticks */ case 5: /* Swap joysticks */
break; break;
case 7: /* Save / load game */ case 7: /* Save / load game */
this->save_load_state(&np); this->save_load_state(&np);
break; break;
case 9: /* Quit */ case 8: /* Quit */
quit_thyself = true; quit_thyself = true;
break; break;
case -1: case -1: