#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