Advanced Strategic Command
Classes | Functions
gameevents.cpp File Reference

The event handling of ASC. More...

#include <stdio.h>
#include <cstring>
#include "global.h"
#include "buildingtype.h"
#include "vehicletype.h"
#include "typen.h"
#include "gameevent_dialogs.h"
#include "spfst.h"
#include "loaders.h"
#include "gameevents.h"
#include "dlg_box.h"
#include "dialog.h"
#include "errors.h"
#include "itemrepository.h"
#include "messagedlg.h"
#include "mapdisplayinterface.h"
#include "actions/diplomacycommand.h"
#include "viewcalculation.h"
#include "resourcenet.h"
#include "sg.h"
#include "turncontrol.h"
Include dependency graph for gameevents.cpp:

Go to the source code of this file.

Classes

class  ChangePlayerState
 
class  FindUnitPlacementPos
 

Functions

int versionTest (tnstream &stream, int min, int max)
 
template<class T >
ASCString TriggerNameProvider ()
 
template<class T >
ASCString ActionNameProvider ()
 
template<typename TriggerType >
bool registerTrigger (EventTrigger_ID id)
 
template<typename ActionType >
bool registerAction (EventAction_ID id)
 

Detailed Description

The event handling of ASC.

Definition in file gameevents.cpp.

Function Documentation

template<class T >
ASCString ActionNameProvider ( )

Definition at line 1927 of file gameevents.cpp.

template<typename ActionType >
bool registerAction ( EventAction_ID  id)

Definition at line 1943 of file gameevents.cpp.

template<typename TriggerType >
bool registerTrigger ( EventTrigger_ID  id)

Definition at line 1937 of file gameevents.cpp.

template<class T >
ASCString TriggerNameProvider ( )

Definition at line 1918 of file gameevents.cpp.

int versionTest ( tnstream stream,
int  min,
int  max 
)