|
|
| version 1.22, 2005/02/09 20:11:37 | version 1.25, 2005/04/01 15:35:50 |
|---|---|
| Line 10 | Line 10 |
| #endif | #endif |
| #define OSLINEBREAK_CRLF | #define OSLINEBREAK_CRLF |
| typedef signed int SINT; | |
| typedef signed char SINT8; | typedef signed int SINT; |
| typedef unsigned char UINT8; | typedef signed char SINT8; |
| typedef unsigned char UINT8; | |
| typedef signed short SINT16; | typedef signed short SINT16; |
| typedef unsigned short UINT16; | typedef unsigned short UINT16; |
| typedef signed int SINT32; | typedef signed int SINT32; |
| Line 33 typedef unsigned int UINT32; | Line 34 typedef unsigned int UINT32; |
| // for RISC test | // for RISC test |
| #define REG8 UINT | #define REG8 UINT |
| #define REG16 UINT | #define REG16 UINT |
| #define LOW12(a) (((UINT32)((a) << 20)) >> 20) | #define LOW12(a) (((UINT32)((a) << 20)) >> 20) |
| #define LOW14(a) (((UINT32)((a) << 18)) >> 18) | #define LOW14(a) (((UINT32)((a) << 18)) >> 18) |
| #define LOW15(a) (((UINT32)((a) << 17)) >> 17) | #define LOW15(a) (((UINT32)((a) << 17)) >> 17) |
| Line 42 typedef unsigned int UINT32; | Line 43 typedef unsigned int UINT32; |
| #define BRESULT UINT | #define BRESULT UINT |
| #if !defined(OSLANG_UTF8) | #if defined(OSLANG_UCS2) |
| #define OEMCHAR TCHAR | #define OEMCHAR wchar_t |
| #define OEMTEXT(string) _T(string) | #define _OEMTEXT(x) L ## x |
| #define OEMTEXT(string) _OEMTEXT(string) | |
| #if defined(_UNICODE) | |
| #define OEMSPRINTF wsprintf | #define OEMSPRINTF wsprintf |
| #define OEMSTRLEN lstrlen | #define OEMSTRLEN lstrlen |
| #else | #else |
| #define OEMSPRINTF swprintf | |
| #define OEMSTRLEN wcslen | |
| #endif | |
| #else | |
| #define OEMCHAR char | #define OEMCHAR char |
| #define OEMTEXT(string) (string) | #define OEMTEXT(string) string |
| #if defined(_UNICODE) | |
| #define OEMSPRINTF sprintf | #define OEMSPRINTF sprintf |
| #define OEMSTRLEN strlen | #define OEMSTRLEN strlen |
| #else | |
| #define OEMSPRINTF wsprintf | |
| #define OEMSTRLEN lstrlen | |
| #endif | |
| #endif | #endif |
| #include "common.h" | #include "common.h" |
| #include "oemtext.h" | |
| #include "milstr.h" | #include "milstr.h" |
| #include "ucscnv.h" | |
| #include "_memory.h" | #include "_memory.h" |
| #include "rect.h" | #include "rect.h" |
| #include "lstarray.h" | #include "lstarray.h" |
| Line 75 typedef unsigned int UINT32; | Line 86 typedef unsigned int UINT32; |
| #endif | #endif |
| #define VERMOUTH_LIB | #define VERMOUTH_LIB |
| #define SOUND_CRITICAL | #define SOUND_CRITICAL |
| #if defined(OSLANG_SJIS) | |
| #define SUPPORT_SJIS | #define SUPPORT_SJIS |
| #if defined(OSLANG_UTF8) | #elif defined(OSLANG_UTF8) |
| #define SUPPORT_UTF8 | #define SUPPORT_UTF8 |
| #else | |
| #define SUPPORT_ANK | |
| #endif | #endif |
| #define SUPPORT_16BPP | #define SUPPORT_16BPP |