version 1.8, 2000/06/10 01:41:06 |
version 1.9, 2000/09/14 13:32:07 |
|
|
#ifndef _SPRITE |
#ifndef _SPRITE |
#define _SPRITE |
#define _SPRITE |
|
|
|
/* Some basic types and definitions, originally from Sprite */ |
|
|
/* |
|
* A boolean type is defined as an integer, not an enum. This allows a |
|
* boolean argument to be an expression that isn't strictly 0 or 1 valued. |
|
*/ |
|
typedef int Boolean; |
typedef int Boolean; |
#ifndef TRUE |
#ifndef TRUE |
#define TRUE 1 |
#define TRUE 1 |
#endif /* TRUE */ |
#endif |
#ifndef FALSE |
#ifndef FALSE |
#define FALSE 0 |
#define FALSE 0 |
#endif /* FALSE */ |
#endif |
|
|
typedef int ReturnStatus; |
typedef int ReturnStatus; |
#define SUCCESS 0 |
#define SUCCESS 0 |
#define FAILURE 1 |
#define FAILURE 1 |
|
|
#endif /* _SPRITE */ |
#endif /* _SPRITE */ |