4b825dc642cb6eb9a060e54bf8d69288fbee4904ebd360ec63ec976c05699f3180e866b3f69e5472
 
 
1
#ifndef _bh_deathvol_h
 
 
2
#define _bh_deathvol_h 1
 
 
3
 
 
 
4
extern void DeathVolumeBehaveInit(void* bhdata, STRATEGYBLOCK* sbptr);
 
 
5
extern void DeathVolumeBehaveFun(STRATEGYBLOCK* sbptr);
 
 
6
 
 
 
7
typedef struct death_volume_behav_block
 
 
8
{
 
 
9
    AVP_BEHAVIOUR_TYPE bhvr_type;
 
 
10
    VECTORCH volume_min;
 
 
11
    VECTORCH volume_max;
 
 
12
    unsigned int damage_per_second; //0 means infinite damage (a proper death volume - bwa ha ha.)
 
 
13
    unsigned int active :1;
 
 
14
    unsigned int collision_required :1;
 
 
15
} DEATH_VOLUME_BEHAV_BLOCK;
 
 
16
 
 
 
17
typedef struct death_volume_tools_template
 
 
18
{
 
 
19
    char nameID[SB_NAME_LENGTH];
 
 
20
    VECTORCH volume_min;
 
 
21
    VECTORCH volume_max;
 
 
22
    unsigned int damage_per_second;
 
 
23
    unsigned int active :1;
 
 
24
    unsigned int collision_required :1;
 
 
25
} DEATH_VOLUME_TOOLS_TEMPLATE;
 
 
26
 
 
 
27
#endif