Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

gameeventsystem.cpp File Reference

The event handling of ASC. More...

#include <stdio.h>
#include <cstring>
#include "global.h"
#include "buildingtype.h"
#include "vehicletype.h"
#include "gameeventsystem.h"
#include "typen.h"
#include "gamemap.h"
#include "spfst.h"

Include dependency graph for gameeventsystem.cpp:

Go to the source code of this file.

Functions

void checktimedevents (MapDisplayInterface *md)
void eventReady ()
bool checkevents (MapDisplayInterface *md)

Variables

const int currentEventVersion = 4


Detailed Description

The event handling of ASC.

Definition in file gameeventsystem.cpp.


Function Documentation

bool checkevents MapDisplayInterface md  ) 
 

Definition at line 64 of file gameeventsystem.cpp.

References actmap, GameMap::actplayer, GameMap::events, GameMap::player, and Player::queuedEvents.

Referenced by checktimedevents(), and mainloopidle().

void checktimedevents MapDisplayInterface md  ) 
 

Definition at line 41 of file gameeventsystem.cpp.

References GameTime::abstime, actmap, checkevents(), GameMap::eventTimes, and GameMap::time.

Referenced by mainloopidle(), and trunreplay::run().

void eventReady  ) 
 

Definition at line 56 of file gameeventsystem.cpp.

References actmap, GameMap::player, and Player::queuedEvents.

Referenced by ResourceTribute::triggered(), AnyUnitEntersPolygon::triggered(), SpecificUnitEntersPolygon::triggered(), EventTriggered::triggered(), UnitTrigger::triggered(), BuildingSeen::triggered(), and BuildingConquered::triggered().


Variable Documentation

const int currentEventVersion = 4
 

Definition at line 140 of file gameeventsystem.cpp.

Referenced by Event::read(), and Event::write().


Generated on Tue Jun 24 01:44:15 2008 for Advanced Strategic Command by  doxygen 1.4.2