--- xmil/win9x/xmil.h 2004/08/01 05:31:31 1.1 +++ xmil/win9x/xmil.h 2004/08/12 17:57:36 1.4 @@ -1,8 +1,4 @@ -#ifndef __cplusplus -// #error why called from C ? -#endif - typedef struct { int winx; int winy; @@ -10,11 +6,20 @@ typedef struct { UINT8 WINSNAP; UINT8 background; UINT8 DISPCLK; + UINT8 NOWAIT; + UINT8 DRAW_SKIP; UINT8 keyboard; UINT8 JOYSTICK; UINT8 Z80SAVE; +#if defined(SUPPORT_RESUME) + UINT8 resume; +#endif +#if defined(SUPPORT_STATSAVE) + UINT8 statsave; +#endif + UINT8 clockx; UINT8 clockfnt; UINT32 clockcolor1; @@ -32,6 +37,7 @@ extern HWND hWndMain; extern HINSTANCE hInst; extern HINSTANCE hPreI; extern OEMCHAR szProgName[]; +extern OEMCHAR modulefile[MAX_PATH]; extern OEMCHAR fddfolder[MAX_PATH]; extern OEMCHAR bmpfilefolder[MAX_PATH]; @@ -39,6 +45,9 @@ enum { IDM_SCREENCENTER = 20000, IDM_SNAPENABLE = 20001, IDM_BACKGROUND = 20002, - IDM_BGSOUND = 20003 + IDM_BGSOUND = 20003, + + IDM_FLAGSAVE = 20100, + IDM_FLAGLOAD = 20150 };