|
|
| version 1.3, 2003/10/18 10:00:29 | 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 42 typedef unsigned int UINT32; | Line 63 typedef unsigned int UINT32; |
| #define SUPPORT_NORMALDISP | #define SUPPORT_NORMALDISP |
| #define MEMOPTIMIZE 1 | #define MEMOPTIMIZE 1 |
| #define SOUNDRESERVE 20 | |
| #define FASTCALL __fastcall | |