| version 1.1.1.1, 2003/10/16 17:59:14 | version 1.8, 2003/12/12 01:04:41 | 
| Line 1 | Line 1 | 
 | #include        <windows.h> | #include        <windows.h> | 
 | #include        <stdio.h> | #include        <stdio.h> | 
 | #include        <stddef.h> | #include        <stddef.h> | 
 |  | #include        <setjmp.h> | 
 |  |  | 
 | #define BYTESEX_LITTLE | #define BYTESEX_LITTLE | 
 |  | #define OSLANG_SJIS | 
 |  | #define OSLINEBREAK_CRLF | 
 |  |  | 
| #if 0 |  | 
| #ifndef __cplusplus | #ifndef __GNUC__ | 
| #define DWORD   xxx | typedef signed char                     SINT8; | 
| #define WORD    xxx | typedef unsigned char           UINT8; | 
| #endif | typedef signed short            SINT16; | 
|  | typedef unsigned short          UINT16; | 
|  | typedef signed int                      SINT32; | 
|  | typedef unsigned int            UINT32; | 
|  | typedef signed __int64          SINT64; | 
|  | typedef unsigned __int64        UINT64; | 
|  | #define INLINE                          __inline | 
|  | #else | 
|  | #include        <stdlib.h> | 
|  | typedef signed char                     SINT8; | 
|  | typedef unsigned char           UINT8; | 
|  | typedef short                           SINT16; | 
|  | typedef unsigned short          UINT16; | 
|  | typedef int                                     SINT32; | 
|  | typedef signed __int64          SINT64; | 
|  | #define INLINE                          inline | 
 | #endif | #endif | 
 |  |  | 
| typedef short                   SINT16; | // for RISC test | 
| typedef unsigned short  UINT16; | #define REG8            UINT | 
| typedef int                             SINT32; | #define REG16           UINT | 
| typedef unsigned int    UINT32; |  | 
 |  |  | 
 | #include        "common.h" | #include        "common.h" | 
 | #include        "milstr.h" | #include        "milstr.h" | 
| Line 24  typedef unsigned int UINT32; | Line 42  typedef unsigned int UINT32; | 
 | #include        "trace.h" | #include        "trace.h" | 
 |  |  | 
 | #define GETTICK()       GetTickCount() | #define GETTICK()       GetTickCount() | 
 | #define GETRAND()       rand() |  | 
 | #define SPRINTF         wsprintf | #define SPRINTF         wsprintf | 
 |  | #define __ASSERT(s) | 
 |  |  | 
 | #define LABEL           __declspec(naked) | #define LABEL           __declspec(naked) | 
 | #define RELEASE(x)      if (x) {(x)->Release(); (x) = NULL;} | #define RELEASE(x)      if (x) {(x)->Release(); (x) = NULL;} | 
| Line 41  typedef unsigned int UINT32; | Line 59  typedef unsigned int UINT32; | 
 | #define VRAMCALL        __fastcall | #define VRAMCALL        __fastcall | 
 | #define SCRNCALL        __fastcall | #define SCRNCALL        __fastcall | 
 |  |  | 
 |  | #define SUPPORT_SJIS | 
 |  |  | 
 | // #define      SUPPORT_8BPP | // #define      SUPPORT_8BPP | 
 | // #define      SUPPORT_16BPP | // #define      SUPPORT_16BPP | 
 | // #define      SUPPORT_24BPP | // #define      SUPPORT_24BPP | 
| Line 48  typedef unsigned int UINT32; | Line 68  typedef unsigned int UINT32; | 
 | #define SUPPORT_NORMALDISP | #define SUPPORT_NORMALDISP | 
 | #define MEMOPTIMIZE             1 | #define MEMOPTIMIZE             1 | 
 |  |  | 
 |  | #define SOUNDRESERVE    20 | 
 |  |  | 
 |  | #define FASTCALL        __fastcall | 
 |  |  |