|
|
| version 1.26, 2005/03/06 10:41:50 | version 1.33, 2006/12/24 00:52:29 |
|---|---|
| Line 11 | Line 11 |
| #endif | #endif |
| #define BYTESEX_LITTLE | #define BYTESEX_LITTLE |
| #if !defined(UNICODE) | #if !defined(OSLANG_UTF8) |
| #if !defined(_UNICODE) | |
| #define OSLANG_SJIS | #define OSLANG_SJIS |
| #else | #else |
| #define OSLANG_UCS2 | #define OSLANG_UCS2 |
| #endif | #endif |
| #endif | |
| #define OSLINEBREAK_CRLF | #define OSLINEBREAK_CRLF |
| #ifndef __GNUC__ | #if !defined(__GNUC__) |
| typedef signed int SINT; | typedef signed int SINT; |
| typedef signed char SINT8; | typedef signed char SINT8; |
| typedef unsigned char UINT8; | typedef unsigned char UINT8; |
| Line 35 typedef unsigned __int64 UINT64; | Line 37 typedef unsigned __int64 UINT64; |
| #define vsnprintf _vsnprintf | #define vsnprintf _vsnprintf |
| #else | #else |
| #include <stdlib.h> | #include <stdlib.h> |
| 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 54 typedef signed __int64 SINT64; | Line 57 typedef signed __int64 SINT64; |
| #define sigjmp_buf jmp_buf | #define sigjmp_buf jmp_buf |
| #define sigsetjmp(env, mask) setjmp(env) | #define sigsetjmp(env, mask) setjmp(env) |
| #define siglongjmp(env, val) longjmp(env, val) | #define siglongjmp(env, val) longjmp(env, val) |
| #define msgbox(title, msg) MessageBox(NULL, msg, title, MB_OK) | #define msgbox(title, msg) __msgbox(title, msg) |
| #define STRCALL __stdcall | #define STRCALL __stdcall |
| #define BRESULT UINT8 | #define BRESULT UINT8 |
| #if !defined(OSLANG_UTF8) | |
| #define OEMCHAR TCHAR | #define OEMCHAR TCHAR |
| #define OEMTEXT(string) _T(string) | #define OEMTEXT(string) _T(string) |
| #define OEMSPRINTF wsprintf | #define OEMSPRINTF wsprintf |
| #define OEMSTRLEN lstrlen | #define OEMSTRLEN lstrlen |
| #else | |
| #define OEMCHAR char | |
| #define OEMTEXT(string) string | |
| #define OEMSPRINTF sprintf | |
| #define OEMSTRLEN strlen | |
| #endif | |
| #include "common.h" | #include "common.h" |
| #include "win32sub.h" | |
| #include "milstr.h" | #include "milstr.h" |
| #include "_memory.h" | #include "_memory.h" |
| #include "rect.h" | #include "rect.h" |
| Line 79 typedef signed __int64 SINT64; | Line 90 typedef signed __int64 SINT64; |
| #else | #else |
| #define __ASSERT(s) | #define __ASSERT(s) |
| #endif | #endif |
| #if defined(UNICODE) | #if defined(_UNICODE) |
| #define SPRINTF sprintf | #define SPRINTF sprintf |
| #define STRLEN strlen | #define STRLEN strlen |
| #else | #else |
| Line 90 typedef signed __int64 SINT64; | Line 101 typedef signed __int64 SINT64; |
| #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;} |
| #if !defined(_WIN64) | |
| #define OPNGENX86 | #define OPNGENX86 |
| #endif | |
| #define VERMOUTH_LIB | #define VERMOUTH_LIB |
| #define MT32SOUND_DLL | #define MT32SOUND_DLL |
| #define PARTSCALL __fastcall | #define PARTSCALL __fastcall |
| Line 102 typedef signed __int64 SINT64; | Line 116 typedef signed __int64 SINT64; |
| #define SOUNDCALL __fastcall | #define SOUNDCALL __fastcall |
| #define VRAMCALL __fastcall | #define VRAMCALL __fastcall |
| #define SCRNCALL __fastcall | #define SCRNCALL __fastcall |
| #define VERMOUTHCL __fastcall | |
| #if !defined(UNICODE) | #if defined(OSLANG_SJIS) |
| #define SUPPORT_SJIS | #define SUPPORT_SJIS |
| #elif defined(OSLANG_UTF8) | |
| #define SUPPORT_UTF8 | |
| #else | #else |
| #define SUPPORT_ANK | #define SUPPORT_ANK |
| #endif | #endif |
| Line 133 typedef signed __int64 SINT64; | Line 150 typedef signed __int64 SINT64; |
| #if defined(TRACE) | #if defined(TRACE) |
| #define SUPPORT_IDEIO | #define SUPPORT_IDEIO |
| #endif | #endif |
| #define SUPPORT_ARC | |
| #define SUPPORT_ZLIB | |
| #define SUPPORT_RESUME | #define SUPPORT_RESUME |
| #define SUPPORT_STATSAVE 10 | #define SUPPORT_STATSAVE 10 |
| Line 140 typedef signed __int64 SINT64; | Line 159 typedef signed __int64 SINT64; |
| #define SOUNDRESERVE 20 | #define SOUNDRESERVE 20 |
| #define SUPPORT_TEXTCNV | |