#include #include #include #define BYTESEX_LITTLE #define OSLANG_UCS2 #define OSLINEBREAK_CRLF typedef signed int SINT; typedef signed char SINT8; typedef signed short SINT16; typedef signed int SINT32; #ifndef ZeroMemory #define ZeroMemory(a, b) memset((a), 0 , (b)) #endif #ifndef CopyMemory #define CopyMemory(a, b, c) memcpy((a), (b), (c)) #endif #ifndef FillMemory #define FillMemory(a, b, c) memset((a), (c), (b)) #endif #if !defined(SIZE_VGATEST) #define RGB16 UINT32 #endif #if defined(ADDON_SOFTKBD) #define SUPPORT_SOFTKBD 1 #endif // for ARM optimize #define REG8 UINT #define REG16 UINT #define LOW12(a) (((UINT32)((a) << 20)) >> 20) #define LOW14(a) (((UINT32)((a) << 18)) >> 18) #define LOW15(a) (((UINT32)((a) << 17)) >> 17) #define LOW16(a) ((UINT16)(a)) #define HIGH16(a) (((UINT32)(a)) >> 16) #define BRESULT UINT #define OEMCHAR TCHAR #define OEMTEXT(string) _T(string) #define OEMSPRINTF wsprintf #define OEMSTRLEN lstrlen #include "common.h" #include "oemtext.h" #include "milstr.h" #include "ucscnv.h" #include "_memory.h" #include "rect.h" #include "lstarray.h" #include "trace.h" #define GETTICK() GetTickCount() #define __ASSERT(s) #define SPRINTF sprintf #define STRLEN strlen #if defined(WIN32_PLATFORM_PSPC) #define MENU_TASKMINIMIZE // #define SUPPORT_SOFTKBD 1 #endif #define SOUND_CRITICAL #define SUPPORT_ANK #define SUPPORT_16BPP #define MEMOPTIMIZE 2 #define SUPPORT_OPM #define SOUNDRESERVE 100 #define SCREEN_BPP 16