avp_mod is an open source project powered by Assembla

Assembla offers free public and private SVN/Git repositories and project hosting with bug/issue tracking and collaboration tools.

Commitebd360ec63ec976c0...
/include
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#ifndef bh_mission_h_
#define bh_mission_h 1

void MissionCompleteBehaveInit(void* bhdata,STRATEGYBLOCK* sbptr);
void MessageBehaveInit(void* bhdata,STRATEGYBLOCK* sbptr);
extern void ResetMission(void* mission_objective);
extern void PrintStringTableEntryInConsole(const char *);
extern void SendRequestToMessageStrategy(STRATEGYBLOCK* sbptr,int state,int extended_data);
extern void SendRequestToMissionStrategy(STRATEGYBLOCK* sbptr,int state,int extended_data);

//when this strategy receives a request state of 1 it notifies its attached mission that
//it has been achieved

typedef struct mission_complete_tools_template
{
    void* mission_objective_ptr;
    char nameID [SB_NAME_LENGTH];

} MISSION_COMPLETE_TOOLS_TEMPLATE;

typedef struct mission_complete_target
{
    AVP_BEHAVIOUR_TYPE bhvr_type;
    void* mission_objective_ptr;

} MISSION_COMPLETE_BEHAV_BLOCK;

//this strategy displays its message upon receiving a request state of 1

typedef struct message_tools_template
{
    int string_no;
    char nameID [SB_NAME_LENGTH];
    int active;

} MESSAGE_TOOLS_TEMPLATE;

#endif
Ajax-loader Loading, please wait...