Advanced Strategic Command
Classes | Typedefs | Enumerations | Functions
gameeventsystem.h File Reference

Interface to the event handling of ASC. More...

#include <sigc++/sigc++.h>
#include "loki/Singleton.h"
#include "typen.h"
#include "util/factory.h"
#include "mapdisplayinterface.h"
#include "util/factorywithnames.h"
Include dependency graph for gameeventsystem.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  EventTrigger
 
class  EventAction
 
class  Event
 
struct  Event::Delayedexecution
 
class  VariableLocker
 

Typedefs

typedef int EventTriggerID
 
typedef int EventActionID
 
typedef Loki::SingletonHolder
< FactoryWithNames
< EventTrigger, EventTriggerID > > 
eventTriggerFactory
 
typedef Loki::SingletonHolder
< FactoryWithNames
< EventAction, EventActionID > > 
eventActionFactory
 

Enumerations

enum  EventConnections {
  cconnection_destroy = 1, cconnection_conquer = 2, cconnection_lose = 4, cconnection_seen = 8,
  cconnection_areaentered_anyunit = 16, cconnection_areaentered_specificunit = 32
}
 

Functions

bool checkevents (GameMap *gamemap, MapDisplayInterface *md)
 
void checktimedevents (GameMap *gamemap, MapDisplayInterface *md)
 
void eventReady (GameMap *gamemap)
 

Detailed Description

Interface to the event handling of ASC.

Definition in file gameeventsystem.h.

Typedef Documentation

typedef Loki::SingletonHolder< FactoryWithNames< EventAction , EventActionID > > eventActionFactory

Definition at line 169 of file gameeventsystem.h.

typedef int EventActionID

Definition at line 55 of file gameeventsystem.h.

typedef Loki::SingletonHolder< FactoryWithNames< EventTrigger, EventTriggerID > > eventTriggerFactory

Definition at line 168 of file gameeventsystem.h.

typedef int EventTriggerID

Definition at line 54 of file gameeventsystem.h.

Enumeration Type Documentation

Enumerator
cconnection_destroy 
cconnection_conquer 
cconnection_lose 
cconnection_seen 
cconnection_areaentered_anyunit 
cconnection_areaentered_specificunit 

Definition at line 40 of file gameeventsystem.h.

Function Documentation

bool checkevents ( GameMap gamemap,
MapDisplayInterface md 
)
void checktimedevents ( GameMap gamemap,
MapDisplayInterface md 
)
void eventReady ( GameMap gamemap)