--- np2/x11/np2.h 2004/07/26 15:53:26 1.12 +++ np2/x11/np2.h 2007/01/23 15:48:20 1.16 @@ -1,6 +1,8 @@ #ifndef NP2_X11_NP2_H__ #define NP2_X11_NP2_H__ +#include + #include "joymng.h" typedef struct { @@ -52,16 +54,14 @@ typedef struct { BYTE I286SAVE; BYTE snddrv; - char audiodev[MAX_PATH]; char MIDIDEV[2][MAX_PATH]; UINT32 MIDIWAIT; BYTE mouse_move_ratio; - char toolkit[32]; - BYTE disablemmx; - BYTE shared_pixmap; + BYTE drawinterp; + BYTE F11KEY; } NP2OSCFG; @@ -78,12 +78,19 @@ enum { MMXFLAG_NOTSUPPORT = 2 }; +enum { + INTERP_NEAREST = 0, + INTERP_TILES = 1, + INTERP_BILINEAR = 2, + INTERP_HYPER = 3 +}; + #ifdef __cplusplus extern "C" { #endif /* np2.c */ -extern volatile BOOL np2running; +extern volatile sig_atomic_t np2running; extern NP2OSCFG np2oscfg; extern BYTE scrnmode; @@ -94,7 +101,7 @@ extern UINT framemax; extern BOOL s98logging; extern int s98log_count; -extern BOOL use_shared_pixmap; +extern int verbose; extern char hddfolder[MAX_PATH]; extern char fddfolder[MAX_PATH];