|
|
| version 1.1, 2004/08/01 05:31:31 | version 1.6, 2004/08/12 17:57:36 |
|---|---|
| Line 1 | Line 1 |
| #define NP2_LITTLEENDIAN | |
| #define _WIN32_IE 0x0200 | #define _WIN32_IE 0x0200 |
| #include <windows.h> | #include <windows.h> |
| #include <tchar.h> | |
| #include <stdio.h> | #include <stdio.h> |
| #include <stddef.h> | #include <stddef.h> |
| #include <setjmp.h> | #include <setjmp.h> |
| #define BYTESEX_LITTLE | #define BYTESEX_LITTLE |
| #if !defined(UNICODE) | |
| #define OSLANG_SJIS | #define OSLANG_SJIS |
| #else | |
| #define OSLANG_UCS2 | |
| #endif | |
| #define OSLINEBREAK_CRLF | #define OSLINEBREAK_CRLF |
| #ifndef __GNUC__ | #ifndef __GNUC__ |
| typedef signed int SINT; | |
| typedef signed char SINT8; | typedef signed char SINT8; |
| typedef unsigned char UINT8; | typedef unsigned char UINT8; |
| typedef signed short SINT16; | typedef signed short SINT16; |
| Line 50 typedef signed __int64 SINT64; | Line 55 typedef signed __int64 SINT64; |
| #define STRCALL __stdcall | #define STRCALL __stdcall |
| #define BRESULT UINT8 | |
| #define OEMCHAR TCHAR | |
| #define OEMTEXT(string) _T(string) | |
| #define OEMSPRINTF wsprintf | |
| #define OEMSTRLEN lstrlen | |
| #include "common.h" | #include "common.h" |
| #include "milstr.h" | #include "milstr.h" |
| #include "_memory.h" | #include "_memory.h" |
| Line 58 typedef signed __int64 SINT64; | Line 69 typedef signed __int64 SINT64; |
| #define GETTICK() GetTickCount() | #define GETTICK() GetTickCount() |
| #define __ASSERT(s) | |
| #if defined(UNICODE) | |
| #define SPRINTF sprintf | |
| #define STRLEN strlen | |
| #else | |
| #define SPRINTF wsprintf | #define SPRINTF wsprintf |
| #define STRLEN lstrlen | #define STRLEN lstrlen |
| #define __ASSERT(s) | #endif |
| #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 75 typedef signed __int64 SINT64; | Line 91 typedef signed __int64 SINT64; |
| #define VRAMCALL __fastcall | #define VRAMCALL __fastcall |
| #define SCRNCALL __fastcall | #define SCRNCALL __fastcall |
| #if !defined(UNICODE) | |
| #define SUPPORT_SJIS | #define SUPPORT_SJIS |
| #else | |
| #define SUPPORT_ANK | |
| #endif | |
| #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_BANKMEM | |
| #define SUPPORT_X1F | #define SUPPORT_X1F |
| #define SUPPORT_RESUME | |
| #define SUPPORT_STATSAVE 10 | |
| #define SOUNDRESERVE 20 | #define SOUNDRESERVE 20 |