|
|
| version 1.6, 2004/08/17 12:30:41 | version 1.8, 2005/02/04 06:42:12 |
|---|---|
| Line 11 | Line 11 |
| #include "soundmng.h" | #include "soundmng.h" |
| #include "sysmng.h" | #include "sysmng.h" |
| #include "scrndraw.h" | #include "scrndraw.h" |
| #include "ddrawbmp.h" | |
| #include "winkbd.h" | #include "winkbd.h" |
| #include "menu.h" | #include "menu.h" |
| #include "ini.h" | #include "ini.h" |
| Line 244 static void xmilcmd(HWND hWnd, UINT cmd) | Line 243 static void xmilcmd(HWND hWnd, UINT cmd) |
| menu_setkey(2); | menu_setkey(2); |
| break; | break; |
| #if defined(SUPPORT_TURBOZ) || defined(SUPPORT_OPM) | |
| case IDM_FMBOARD: | case IDM_FMBOARD: |
| menu_setsound(xmilcfg.SOUND_SW ^ 1); | menu_setsound(xmilcfg.SOUND_SW ^ 1); |
| update = SYS_UPDATECFG; | update = SYS_UPDATECFG; |
| break; | break; |
| #endif | |
| case IDM_JOYSTICK: | case IDM_JOYSTICK: |
| menu_setjoystick(xmiloscfg.JOYSTICK ^ 1); | menu_setjoystick(xmiloscfg.JOYSTICK ^ 1); |
| Line 267 static void xmilcmd(HWND hWnd, UINT cmd) | Line 268 static void xmilcmd(HWND hWnd, UINT cmd) |
| case IDM_BMPSAVE: | case IDM_BMPSAVE: |
| winuienter(); | winuienter(); |
| bmpsave(); | dialog_writebmp(hWnd); |
| winuileave(); | winuileave(); |
| break; | break; |
| Line 634 int WINAPI WinMain(HINSTANCE hInstance, | Line 635 int WINAPI WinMain(HINSTANCE hInstance, |
| menu_setwaitflg(xmiloscfg.NOWAIT); | menu_setwaitflg(xmiloscfg.NOWAIT); |
| menu_setframe(xmiloscfg.DRAW_SKIP); | menu_setframe(xmiloscfg.DRAW_SKIP); |
| menu_setkey(0); | menu_setkey(0); |
| #if defined(SUPPORT_TURBOZ) || defined(SUPPORT_OPM) | |
| menu_setsound(xmilcfg.SOUND_SW); | menu_setsound(xmilcfg.SOUND_SW); |
| #endif | |
| menu_setjoystick(xmiloscfg.JOYSTICK); | menu_setjoystick(xmiloscfg.JOYSTICK); |
| menu_setmouse(xmilcfg.MOUSE_SW); | menu_setmouse(xmilcfg.MOUSE_SW); |
| menu_setmotorflg(xmilcfg.MOTOR); | menu_setmotorflg(xmilcfg.MOTOR); |