basicbot fix + gui silliness 2.0!

This commit is contained in:
adelikat 2008-07-06 16:21:36 +00:00
parent 8a89a598f8
commit 60842f3ebd
3 changed files with 9 additions and 4 deletions

View File

@ -2272,6 +2272,7 @@ static void StopBasicBot()
NewAttempt = true;
SetDlgItemText(hwndBasicBot,GUI_BOT_RUN,"Run!");
FCEU_SetBotMode(0);
FCEUI_FrameAdvanceEnd();
}

View File

@ -120,7 +120,7 @@ int allowUDLR=1;
ButtConfig GamePadConfig[4][10]={
//Gamepad 1
{
MK(LEFTALT), MK(LEFTCONTROL), MK(TAB), MK(ENTER), MK(BL_CURSORUP),
MK(A), MK(LEFTCONTROL), MK(TAB), MK(ENTER), MK(BL_CURSORUP),
MK(BL_CURSORDOWN),MK(BL_CURSORLEFT),MK(BL_CURSORRIGHT)
},

View File

@ -367,13 +367,17 @@ void DoFCEUExit()
if(goptions & GOO_CONFIRMEXIT)
{
//Wolfenstein 3D had cute exit messages.
const char * const emsg[4]={"Are you sure you want to leave? I'll become lonely!",
const char * const emsg[7]={"Are you sure you want to leave? I'll become lonely!",
"A strange game. The only winning move is not to play. How about a nice game of chess?",
"If you exit, I'll... EAT YOUR MOUSE.",
"You can never really exit, you know.",
"E-x-i-t?"
"E.X.I.T?",
"I'm sorry, you missed your exit. There is another one in 19 miles",
"Silly Exit Message goes here"
};
if(IDYES != MessageBox(hAppWnd, emsg[rand() & 3], "Exit FCE Ultra?", MB_ICONQUESTION | MB_YESNO) )
if(IDYES != MessageBox(hAppWnd, emsg[rand() & 6], "Exit FCE Ultra?", MB_ICONQUESTION | MB_YESNO) )
{
return;
}