| version 1.4, 2003/10/21 16:27:54 | version 1.7, 2003/12/08 00:55:34 | 
| 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 | 
 |  |  | 
 |  |  | 
 |  | #ifndef __GNUC__ | 
 |  | typedef signed char             SINT8; | 
 |  | typedef unsigned char   UINT8; | 
 |  | typedef signed short    SINT16; | 
 |  | typedef unsigned short  UINT16; | 
 |  | typedef signed int              SINT32; | 
 |  | typedef unsigned int    UINT32; | 
 |  | #else | 
 |  | #include        <stdlib.h> | 
 |  | typedef signed char             SINT8; | 
 |  | typedef unsigned char   UINT8; | 
 | typedef short                   SINT16; | typedef short                   SINT16; | 
 | typedef unsigned short  UINT16; | typedef unsigned short  UINT16; | 
 | typedef int                             SINT32; | typedef int                             SINT32; | 
| typedef unsigned int    UINT32; | #endif | 
|  |  | 
|  | // for RISC test | 
|  | #define REG8            UINT | 
|  | #define REG16           UINT | 
|  |  | 
 |  |  | 
 | #include        "common.h" | #include        "common.h" | 
 | #include        "milstr.h" | #include        "milstr.h" | 
| Line 18  typedef unsigned int UINT32; | Line 37  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 35  typedef unsigned int UINT32; | Line 54  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 44  typedef unsigned int UINT32; | Line 65  typedef unsigned int UINT32; | 
 |  |  | 
 | #define SOUNDRESERVE    20 | #define SOUNDRESERVE    20 | 
 |  |  | 
 |  | #define FASTCALL        __fastcall | 
 |  |  |