File:  [RetroPC.NET] / np2 / sdl / win32s / compiler.h
Revision 1.5: download - view: text, annotated - select for diffs
Sun Jun 20 18:36:37 2004 JST (21 years, 4 months ago) by yui
Branches: MAIN
CVS tags: HEAD
Win32 SDL change SJIS to EUC (T.Yui)

#include	<windows.h>
#include	<stdio.h>
#include	<stddef.h>
#include	<SDL.h>

#define	SLZAURUS
#define	BYTESEX_LITTLE
#define	OSLANG_EUC
#define	OSLINEBREAK_CRLF


#ifndef __GNUC__
typedef	signed char		SINT8;
typedef	unsigned char	UINT8;
typedef	signed short	SINT16;
typedef	unsigned short	UINT16;
typedef	signed int		SINT32;
typedef	unsigned int	UINT32;
#else
#include	<stdlib.h>
typedef	signed char		SINT8;
typedef	unsigned char	UINT8;
typedef	signed short	SINT16;
typedef	unsigned short	UINT16;
typedef	signed int		SINT32;
#endif


#if !defined(SIZE_VGA)
#define	RGB16		UINT32
#define	SIZE_QVGA
#endif


#include	"common.h"
#include	"milstr.h"
#include	"codecnv.h"
#include	"_memory.h"
#include	"rect.h"
#include	"lstarray.h"
#include	"trace.h"


#define	GETTICK()	SDL_GetTicks()
#define	SPRINTF		sprintf
#define	__ASSERT(s)

#define	VERMOUTH_LIB
// #define	SOUND_CRITICAL

#define	SUPPORT_SJIS
#define	SUPPORT_EUC

#define	SUPPORT_16BPP
#define	MEMOPTIMIZE		2

#define	SOUNDRESERVE	100

#define	SUPPORT_CRT15KHZ
#define	SUPPORT_HOSTDRV
#define	SUPPORT_SASI
#define	SUPPORT_SCSI

#define	SCREEN_BPP		16


RetroPC.NET-CVS <cvs@retropc.net>