- added more LUA functions:

int registerCellTriggerEventForUnitToUnit(int sourceUnitId, int destUnitId);
int registerCellTriggerEventForUnitToLocation(int sourceUnitId, const Vec2i &pos);
int registerCellTriggerEventForFactionToUnit(int sourceFactionId, int destUnitId);
int registerCellTriggerEventForFactionToLocation(int sourceFactionId, const Vec2i &pos);
int getCellTriggerEventCount(int eventId);
void unregisterCellTriggerEvent(int eventId);
int startTimerEvent();
int stopTimerEvent(int eventId);
int timerEventSecondsElapsed(int eventId);
int triggeredCellEventId();
int triggeredTimerEventId();
LUA events:
timerTriggerEvent
cellTriggerEvent
This commit is contained in:
Mark Vejvoda
2010-08-29 04:45:15 +00:00
parent 03848fc84f
commit 5ae0430928
7 changed files with 419 additions and 13 deletions

View File

@@ -41,7 +41,8 @@ public:
debugPerformance,
debugWorldSynch,
debugUnitCommands,
debugPathFinder
debugPathFinder,
debugLUA,
};
class SystemFlagsType