| | 1 | #ifndef _DEBRIS_H_ |
| | 2 | #define _DEBRIS_H_ |
| | 3 | #include "hmodel.h" |
| | 4 | typedef struct OneShotAnimBehaviourType |
| | 5 | { |
| | 6 | int counter; |
| | 7 | TXACTRLBLK *tac_os; |
| | 8 | |
| | 9 | } ONESHOT_ANIM_BEHAV_BLOCK; |
| | 10 | |
| | 11 | typedef struct HierarchicalDebrisBehaviourType |
| | 12 | { |
| | 13 | int counter; |
| | 14 | HMODELCONTROLLER HModelController; |
| | 15 | |
| | 16 | /* behaviour type of parent object, e.g. I_BehaviourAlien */ |
| | 17 | AVP_BEHAVIOUR_TYPE Type; |
| | 18 | int SubType; |
| | 19 | |
| | 20 | /* Silly stuff for bouncing sounds. */ |
| | 21 | int bouncelastframe; |
| | 22 | enum soundindex Bounce_Sound; |
| | 23 | |
| | 24 | } HDEBRIS_BEHAV_BLOCK; |
| | 25 | |
| | 26 | extern DISPLAYBLOCK *MakeHierarchicalDebris(STRATEGYBLOCK *parent_sbPtr,SECTION_DATA *root, VECTORCH *positionPtr, MATRIXCH *orientation, int *wounds, int
speed, VECTORCH *incoming); |
| | 27 | extern void MakeFragments (STRATEGYBLOCK *sbptr); |
| | 28 | extern void make_clip(SECTION_DATA *root, VECTORCH *positionPtr, MATRIXCH *orientation); |
| | 29 | #endif |