--- np2/win9xc/compiler.h 2003/10/18 00:35:35 1.2 +++ np2/win9xc/compiler.h 2003/11/21 06:51:15 1.5 @@ -3,13 +3,9 @@ #include #define BYTESEX_LITTLE +#define OSLANG_SJIS +#define OSLINEBREAK_CRLF -#if 1 -#ifndef __cplusplus -#define DWORD xxx -#define WORD xxx -#endif -#endif typedef short SINT16; typedef unsigned short UINT16; @@ -24,7 +20,6 @@ typedef unsigned int UINT32; #include "trace.h" #define GETTICK() GetTickCount() -#define GETRAND() rand() #define SPRINTF wsprintf #define LABEL __declspec(naked) @@ -41,6 +36,8 @@ typedef unsigned int UINT32; #define VRAMCALL __fastcall #define SCRNCALL __fastcall +#define SUPPORT_SJIS + // #define SUPPORT_8BPP // #define SUPPORT_16BPP // #define SUPPORT_24BPP @@ -48,3 +45,5 @@ typedef unsigned int UINT32; #define SUPPORT_NORMALDISP #define MEMOPTIMIZE 1 +#define SOUNDRESERVE 20 +