4b825dc642cb6eb9a060e54bf8d69288fbee4904 | ebd360ec63ec976c05699f3180e866b3f69e5472 | ||
---|---|---|---|
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 |