| version 1.17, 2005/03/09 19:31:36 | version 1.20, 2005/05/15 10:03:44 | 
| Line 10 | Line 10 | 
 | #define OSLINEBREAK_CRLF | #define OSLINEBREAK_CRLF | 
 |  |  | 
 |  |  | 
| typedef signed char             SINT8; | typedef signed int                      SINT; | 
| typedef signed short    SINT16; | typedef signed char                     SINT8; | 
| typedef signed int              SINT32; | typedef signed short            SINT16; | 
|  | typedef signed int                      SINT32; | 
 |  |  | 
 |  |  | 
 | #ifndef ZeroMemory | #ifndef ZeroMemory | 
| Line 37  typedef signed int  SINT32; | Line 38  typedef signed int  SINT32; | 
 | // for ARM optimize | // for ARM optimize | 
 | #define REG8            UINT | #define REG8            UINT | 
 | #define REG16           UINT | #define REG16           UINT | 
| #define LOW12(a)        ((((UINT)(a)) << 20) >> 20) | #define LOW12(a)        ((((UINT32)(a)) << 20) >> 20) | 
| #define LOW14(a)        ((((UINT)(a)) << 18) >> 18) | #define LOW14(a)        ((((UINT32)(a)) << 18) >> 18) | 
| #define LOW15(a)        ((((UINT)(a)) << 17) >> 17) | #define LOW15(a)        ((((UINT32)(a)) << 17) >> 17) | 
 | #define LOW16(a)        ((UINT16)(a)) | #define LOW16(a)        ((UINT16)(a)) | 
 | #define HIGH16(a)       (((UINT32)(a)) >> 16) | #define HIGH16(a)       (((UINT32)(a)) >> 16) | 
 |  |  | 
 |  |  | 
| #define BRESULT                         UINT8 | #define BRESULT                         UINT | 
 | #if defined(OSLANG_UCS2) | #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 | 
 |  |  | 
 |  |  | 
| Line 66  typedef signed int  SINT32; | Line 78  typedef signed int  SINT32; | 
 | #include        "trace.h" | #include        "trace.h" | 
 |  |  | 
 |  |  | 
| #define GETTICK()       GetTickCount() | #define GETTICK()                       GetTickCount() | 
 | #define __ASSERT(s) | #define __ASSERT(s) | 
| #define SPRINTF         sprintf | #if !defined(UNICODE) | 
| #define STRLEN          strlen | #define SPRINTF                         wsprintf | 
|  | #define STRLEN                          lstrlen | 
|  | #else | 
|  | #define SPRINTF                         sprintf | 
|  | #define STRLEN                          strlen | 
|  | #endif | 
 |  |  | 
 | #if defined(WIN32_PLATFORM_PSPC) | #if defined(WIN32_PLATFORM_PSPC) | 
 | #define MENU_TASKMINIMIZE | #define MENU_TASKMINIMIZE | 
| Line 79  typedef signed int  SINT32; | Line 96  typedef signed int  SINT32; | 
 | #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 | 
| #define MEMOPTIMIZE             2 | #define MEMOPTIMIZE                     2 | 
 |  |  | 
| #define SOUNDRESERVE    100 | #define SOUNDRESERVE            100 | 
 |  |  | 
| #define SCREEN_BPP              16 | #define SCREEN_BPP                      16 | 
 |  |  | 
 | #if defined(ARM) | #if defined(ARM) | 
 | #define OPNGENARM | #define OPNGENARM |