4b825dc642cb6eb9a060e54bf8d69288fbee490494a6641b73026d662261604d7d192beae70b11dc
 
 
1
#ifndef _bh_selfdest_h
 
 
2
#define _bh_selfdest_h 1
 
 
3
 
 
 
4
extern void SelfDestructBehaveInit(void* bhdata, STRATEGYBLOCK* sbptr);
 
 
5
extern void SelfDestructBehaveFun(STRATEGYBLOCK* sbptr);
 
 
6
 
 
 
7
typedef struct self_destruct_behav_block
 
 
8
{
 
 
9
    AVP_BEHAVIOUR_TYPE bhvr_type;
 
 
10
    int timer; //in fixed point seconds
 
 
11
    int active;
 
 
12
 
 
 
13
} SELF_DESTRUCT_BEHAV_BLOCK;
 
 
14
 
 
 
15
typedef struct self_destruct_tools_template
 
 
16
{
 
 
17
    char nameID[SB_NAME_LENGTH];
 
 
18
    int timer;
 
 
19
 
 
 
20
} SELF_DESTRUCT_TOOLS_TEMPLATE;
 
 
21
 
 
 
22
#endif