|
|
| version 1.5, 2003/10/21 16:27:54 | version 1.8, 2003/11/30 12:32:05 |
|---|---|
| Line 1 | Line 1 |
| #define _WIN32_IE 0x0200 | |
| #include <windows.h> | #include <windows.h> |
| #include <stdio.h> | #include <stdio.h> |
| #include <stddef.h> | #include <stddef.h> |
| #define BYTESEX_LITTLE | #define BYTESEX_LITTLE |
| #define OSLANG_SJIS | |
| #define OSLINEBREAK_CRLF | |
| #ifndef __GNUC__ | |
| typedef short SINT16; | #ifndef __GNUC__ |
| typedef signed char SINT8; | |
| typedef unsigned char UINT8; | |
| typedef signed short SINT16; | |
| typedef unsigned short UINT16; | typedef unsigned short UINT16; |
| typedef int SINT32; | typedef int SINT32; |
| typedef unsigned int UINT32; | typedef unsigned int UINT32; |
| #else | #else |
| #include <stdlib.h> | #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; |
| #endif | #endif |
| #define LOADINTELDWORD(a) (*((UINT32 *)(a))) | |
| #define LOADINTELWORD(a) (*((UINT16 *)(a))) | |
| #define STOREINTELDWORD(a, b) *(UINT32 *)(a) = (b) | |
| #define STOREINTELWORD(a, b) *(UINT16 *)(a) = (b) | |
| #include "common.h" | #include "common.h" |
| #include "milstr.h" | #include "milstr.h" |
| #include "_memory.h" | #include "_memory.h" |
| Line 27 typedef int SINT32; | Line 39 typedef int SINT32; |
| #include "lstarray.h" | #include "lstarray.h" |
| #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;} |
| #define OPNGENX86 | #define OPNGENX86 |
| #define VERMOUTH_LIB | #define VERMOUTH_LIB |
| Line 46 typedef int SINT32; | Line 59 typedef int SINT32; |
| #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 |
| #define SUPPORT_32BPP | #define SUPPORT_32BPP |
| #define SUPPORT_NORMALDISP | #define SUPPORT_NORMALDISP |
| #define SUPPORT_KEYDISP | |
| #define SOUNDRESERVE 20 | #define SOUNDRESERVE 20 |