| | 1 | #ifndef __EXTENTS_H_ |
| | 2 | #define __EXTENTS_H_ |
| | 3 | /* KJL 12:15:10 8/23/97 - extents.h |
| | 4 | * |
| | 5 | * This file contains the collision extents |
| | 6 | * structures for the game characters. |
| | 7 | * |
| | 8 | */ |
| | 9 | |
| | 10 | enum COLLISION_EXTENTS_ID |
| | 11 | { |
| | 12 | CE_ALIEN = 0, |
| | 13 | //CE_ALIEN_CROUCH, |
| | 14 | CE_MARINE, |
| | 15 | CE_PREDATOR, |
| | 16 | CE_PRAETORIAN, |
| | 17 | CE_SENTRYGUN, |
| | 18 | CE_FACEHUGGER, |
| | 19 | CE_XENOBORG, |
| | 20 | CE_QUEEN, |
| | 21 | CE_CORPSE, |
| | 22 | MAX_NO_OF_COLLISION_EXTENTS |
| | 23 | }; |
| | 24 | |
| | 25 | typedef struct |
| | 26 | { |
| | 27 | int CollisionRadius; // radius of shape in XZ plane |
| | 28 | int Bottom; // ie. max Y of the shape |
| | 29 | int StandingTop; |
| | 30 | int CrouchingTop; |
| | 31 | |
| | 32 | } COLLISION_EXTENTS; |
| | 33 | |
| | 34 | extern const COLLISION_EXTENTS CollisionExtents[]; |
| | 35 | #endif |