4b825dc642cb6eb9a060e54bf8d69288fbee490494a6641b73026d662261604d7d192beae70b11dc
 
 
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
    int smokes;
 
 
15
    int GibbFactor;
 
 
16
    int Android;
 
 
17
    HMODELCONTROLLER HModelController;
 
 
18
 
 
 
19
    /* behaviour type of parent object, e.g. I_BehaviourAlien */
 
 
20
    AVP_BEHAVIOUR_TYPE Type;
 
 
21
    int SubType;
 
 
22
 
 
 
23
    /* Silly stuff for bouncing sounds. */
 
 
24
    int bouncelastframe;
 
 
25
    enum soundindex Bounce_Sound;
 
 
26
 
 
 
27
} HDEBRIS_BEHAV_BLOCK;
 
 
28
 
 
 
29
extern DISPLAYBLOCK *MakeHierarchicalDebris(STRATEGYBLOCK *parent_sbPtr,SECTION_DATA *root, VECTORCH *positionPtr, MATRIXCH *orientation, int *wounds, int
speed, VECTORCH *incoming);
 
 
30
extern void MakeFragments (STRATEGYBLOCK *sbptr);
 
 
31
extern void make_clip(SECTION_DATA *root, VECTORCH *positionPtr, MATRIXCH *orientation);
 
 
32
#endif