UFO: Alien Invasion
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
cp_event_callbacks.h File Reference

Go to the source code of this file.

Functions

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

Function Documentation

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, cmdList_s::description, cmdList_s::function, and cmdList_s::name.

Referenced by CP_ExecuteMissionTrigger(), and CP_TriggerEvent().