/*  ENV.H - Standard Include File
**  (C) Copyright 1990 by O.Bausch                    All Rights Reserved.
**
**
**  Release Notes:
**  - Creation          : Oct  6, 1990
**  - Last Modification : Oct  6, 1990
**
**  Version Notes:
**  - 0.00 - Oct  6, 1990
**
**  Change History:
**  - Oct 06, 1990 (/ob):
**     - File creation
**
**  Bugs and limitations:
**  - None.
**
*************************************************************************/
#ifndef ENV_H
#define ENV_H
/************************************************************************/
/* include files
 */
#include <exec/types.h>

/************************************************************************/
/* Basic types and constants
 */
typedef unsigned char Byte;
typedef unsigned short Word;
typedef unsigned long LongWord;
typedef signed char SignedByte;
typedef signed short SignedWord;
typedef signed long SignedLongWord;

typedef enum { False, True } Boolean;
#define IsTrue(x)		(((Boolean)(x))==True)
#define IsFalse(x)	(((Boolean)(x))==False)

#define ByteNoBits 0
#define ByteAllBits 0xff
#define WordNoBits 0x0000
#define WordAllBits 0xffff
#define LongWordNoBits 0L
#define LongWordAllBits 0xffffffffL

/************************************************************************/
/* ErrorTypes
 */
typedef enum {
	ErrOK,		ErrBad,		ErrFatal,	ErrIO,		ErrNoFile,
	ErrMemory,	ErrLibrary,	ErrWindow,	ErrScreen,	ErrOther
} ErrType;

/************************************************************************/
#endif	/* ENV_H */
/************************************************************************/
