#include <gameeventsystem.h>
Public Types | |
| typedef vector< EventTrigger * > | Trigger |
| enum | Status { Untriggered, Triggered, Timed, Executed } |
| enum | TriggerConnection { AND, OR } |
Public Member Functions | |
| Event (GameMap &map_) | |
| const GameMap * | getMap () const |
| void | check (MapDisplayInterface *md) |
| void | execute (MapDisplayInterface *md) |
| void | spawnAction (EventActionID eai) |
| EventTrigger * | spawnTrigger (EventTriggerID eti) |
| Event & | operator= (const Event &ev) |
| void | read (tnstream &stream) |
| void | write (tnstream &stream) |
| void | arm () |
| virtual | ~Event () |
Public Attributes | |
| enum Event::Status | status |
| Trigger | trigger |
| int | id |
| int | playerBitmap |
| ASCString | description |
| GameTime | triggerTime |
| Event::Delayedexecution | delayedexecution |
| int | reArmNum |
| the number of times this event can be executed; makes only sense in cunjunction with delayedexecution | |
| EventAction * | action |
| enum Event::TriggerConnection | triggerConnection |
| SigC::Signal0< void > | executed |
Classes | |
| struct | Delayedexecution |
|
|
Definition at line 121 of file gameeventsystem.h. |
|
|
Definition at line 119 of file gameeventsystem.h. |
|
|
Definition at line 138 of file gameeventsystem.h. |
|
|
Definition at line 89 of file gameeventsystem.cpp. References GameTime::abstime, AND, GameMap::eventID, status, triggerConnection, triggerTime, and Untriggered. |
|
|
Definition at line 349 of file gameeventsystem.cpp. |
|
|
Definition at line 337 of file gameeventsystem.cpp. References GameTime::comp(), GameMap::eventTimes, status, Timed, trigger, and triggerTime. Referenced by execute(). |
|
|
Definition at line 277 of file gameeventsystem.cpp. References GameMap::actplayer, AND, cgp_debugEvents, description, execute(), EventTrigger::finally_failed, EventTrigger::finally_fulfilled, EventTrigger::fulfilled, GameMap::getgameparameter(), infoMessage(), playerBitmap, status, Timed, trigger, triggerConnection, Triggered, EventTrigger::unfulfilled, and Untriggered. Referenced by execute(). |
|
|
Definition at line 230 of file gameeventsystem.cpp. References GameTime::abstime, action, GameMap::actplayer, arm(), cgp_debugEvents, check(), GameTime::comp(), delayedexecution, description, GameMap::eventTimes, EventAction::execute(), executed, Executed, GameMap::getgameparameter(), infoMessage(), GameTime::move(), Event::Delayedexecution::move, playerBitmap, reArmNum, GameTime::set(), status, GameMap::time, Timed, Triggered, triggerTime, GameTime::turn(), Event::Delayedexecution::turn, and Untriggered. Referenced by check(). |
|
|
Definition at line 117 of file gameeventsystem.h. Referenced by EventEditor::EventEditor(). |
|
|
|
|
|
Definition at line 179 of file gameeventsystem.cpp. References GameTime::abstime, action, AND, currentEventVersion, delayedexecution, description, EventTrigger::invert, Event::Delayedexecution::move, OR, playerBitmap, EventAction::readData(), EventTrigger::readData(), tnstream::readInt(), tnstream::readString(), reArmNum, spawnAction(), spawnTrigger(), status, trigger, triggerConnection, triggerTime, Event::Delayedexecution::turn, Untriggered, and tnstream::writeInt(). Referenced by GameMap::read(). |
|
|
Definition at line 322 of file gameeventsystem.cpp. References action, and EventAction::setMap(). Referenced by read(). |
|
|
Definition at line 328 of file gameeventsystem.cpp. References EventTrigger::setEvent(), and EventTrigger::setMap(). Referenced by read(). |
|
|
Definition at line 142 of file gameeventsystem.cpp. References GameTime::abstime, action, currentEventVersion, delayedexecution, description, Event::Delayedexecution::move, playerBitmap, reArmNum, status, trigger, triggerConnection, triggerTime, and Event::Delayedexecution::turn. |
|
|
Definition at line 137 of file gameeventsystem.h. Referenced by EventEditor::EventEditor(), execute(), EventTriggered::getDetailledName(), read(), readOldEvent(), spawnAction(), and write(). |
|
|
Referenced by EventEditor::EventEditor(), execute(), read(), and write(). |
|
|
Definition at line 126 of file gameeventsystem.h. Referenced by check(), EventEditor::EventEditor(), execute(), EventTriggered::getDetailledName(), read(), readOldEvent(), and write(). |
|
|
Definition at line 152 of file gameeventsystem.h. Referenced by EventTriggered::arm(), and execute(). |
|
|
Definition at line 124 of file gameeventsystem.h. Referenced by readOldEvent(). |
|
|
Definition at line 125 of file gameeventsystem.h. Referenced by check(), EventEditor::EventEditor(), execute(), EventTrigger::isFulfilled(), read(), and write(). |
|
|
the number of times this event can be executed; makes only sense in cunjunction with delayedexecution
Definition at line 135 of file gameeventsystem.h. Referenced by EventEditor::EventEditor(), execute(), read(), and write(). |
|
|
Referenced by arm(), check(), Event(), execute(), read(), readOldEventLists(), and write(). |
|
|
Definition at line 122 of file gameeventsystem.h. Referenced by arm(), check(), EventEditor::EventEditor(), read(), readOldEvent(), and write(). |
|
|
Referenced by check(), Event(), EventEditor::EventEditor(), read(), readOldEvent(), and write(). |
|
|
Definition at line 127 of file gameeventsystem.h. Referenced by arm(), Event(), execute(), read(), and write(). |
1.4.2