| version 1.1 | | version 1.2 |
|---|
| | |
| * Bitmap and Palette loading functions. | | * Bitmap and Palette loading functions. |
| * | | * |
| * $Log$ | | * $Log$ |
| * Revision 1.1 1999/06/14 22:12:09 donut | | * Revision 1.2 2003/03/09 06:34:09 donut |
| * Initial revision | | * change byte typedef to sbyte to avoid conflict with win32 byte which is unsigned |
| | | * |
| | | * Revision 1.1.1.1 1999/06/14 22:12:09 donut |
| | | * Import of d1x 1.37 source. |
| * | | * |
| * Revision 2.0 1995/02/27 11:32:59 john | | * Revision 2.0 1995/02/27 11:32:59 john |
| * New version 2.0, which has no anonymous unions, builds with | | * New version 2.0, which has no anonymous unions, builds with |
| | |
| #define MAX_OBJTYPE 100 | | #define MAX_OBJTYPE 100 |
| | | |
| extern int Num_total_object_types; // Total number of object types, including robots, hostages, powerups, control centers, faces | | extern int Num_total_object_types; // Total number of object types, including robots, hostages, powerups, control centers, faces |
| extern byte ObjType[MAX_OBJTYPE]; // Type of an object, such as Robot, eg if ObjType[11] == OL_ROBOT, then object #11 is a robot | | extern sbyte ObjType[MAX_OBJTYPE]; // Type of an object, such as Robot, eg if ObjType[11] == OL_ROBOT, then object #11 is a robot |
| extern byte ObjId[MAX_OBJTYPE]; // ID of a robot, within its class, eg if ObjType[11] == 3, then object #11 is the third robot | | extern sbyte ObjId[MAX_OBJTYPE]; // ID of a robot, within its class, eg if ObjType[11] == 3, then object #11 is the third robot |
| extern fix ObjStrength[MAX_OBJTYPE]; // initial strength of each object | | extern fix ObjStrength[MAX_OBJTYPE]; // initial strength of each object |
| | | |
| #define MAX_OBJ_BITMAPS 210 | | #define MAX_OBJ_BITMAPS 210 |