File:  [RetroPC.NET] / np2 / win9x / compiler.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Fri Oct 17 02:58:39 2003 JST (22 years ago) by yui
Branches: mie
CVS tags: start
Neko Project II

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

#define	BYTESEX_LITTLE

#if 1
#ifndef __cplusplus
#define	DWORD	xxx
#define	WORD	xxx
#endif
#endif

typedef	short			SINT16;
typedef	unsigned short	UINT16;
typedef	int				SINT32;
typedef	unsigned int	UINT32;

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

#define	GETTICK()			GetTickCount()
#define	GETRAND()			rand()
#define	SPRINTF				wsprintf

#define	LABEL		__declspec(naked)
#define RELEASE(x) 	if (x) {(x)->Release(); (x) = NULL;}

#define	VERMOUTH_LIB
#define	PARTSCALL	__fastcall
#define	CPUCALL		__fastcall
#define	MEMCALL		__fastcall
#define DMACCALL	__fastcall
#define	IOOUTCALL	__fastcall
#define	IOINPCALL	__fastcall
#define SOUNDCALL	__fastcall
#define	VRAMCALL	__fastcall
#define	SCRNCALL	__fastcall

#define	SUPPORT_8BPP
#define	SUPPORT_16BPP
#define	SUPPORT_24BPP
#define	SUPPORT_32BPP
#define SUPPORT_NORMALDISP


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