/****************************************************************************
;
;	MODULE:		MTYPES (.H)
;
;	PURPOSE:
;
;	HISTORY:	04/10/95 [m]
;
;	NOTICE:		Copyright (c) 1995, MONOLITH, Inc.
;
****************************************************************************/

#ifndef MTYPES_H
#define MTYPES_H

// get types from windows if we are a windows app
#ifdef _WINDOWS
#include "windows.h"
#endif

// 8 bit
#ifndef BYTE
typedef unsigned char 		BYTE;
#endif
#ifndef UINT8
typedef unsigned char 		UINT8;
#endif
#ifndef INT8
typedef signed char 		INT8;
#endif

// 16 bit
#ifndef WORD
typedef unsigned short int 	WORD;
#endif
#ifndef UINT16
typedef unsigned short int 	UINT16;
#endif

#ifndef INT16
typedef signed short int 	INT16;
#endif

// 32 bit
#ifndef DWORD
typedef unsigned long int	DWORD;
#endif

#ifndef UINT32
typedef unsigned int 		UINT32;
#endif
#ifndef INT32
typedef int 				INT32;
#endif

// boolean
#ifndef BOOL
typedef int BOOL;
#endif
#ifndef TRUE
# define TRUE    1
#endif
#ifndef FALSE
# define FALSE   0
#endif

// NULL
#ifndef NULL
#define NULL    0
#endif


#endif
