UFO: Alien Invasion
cp_event_callbacks.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void CP_CampaignTriggerFunctions (bool add)
 Add/Remove temporary mission trigger functions. More...
 

Function Documentation

◆ CP_CampaignTriggerFunctions()

void CP_CampaignTriggerFunctions ( bool  add)

Add/Remove temporary mission trigger functions.

Note
These function can be defined via onwin/onlose parameters in missions.ufo
Parameters
[in]addIf true, add the trigger functions, otherwise delete them

Definition at line 147 of file cp_event_callbacks.cpp.

References cgi, cp_commands, cmdList_t::description, cmdList_t::function, and cmdList_t::name.

Referenced by CP_ExecuteMissionTrigger(), and CP_TriggerEvent().