summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2TowerVision.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/T2DLL/T2TowerVision.cpp')
-rw-r--r--src/T2DLL/T2TowerVision.cpp19
1 files changed, 15 insertions, 4 deletions
diff --git a/src/T2DLL/T2TowerVision.cpp b/src/T2DLL/T2TowerVision.cpp
index 4838242..5601487 100644
--- a/src/T2DLL/T2TowerVision.cpp
+++ b/src/T2DLL/T2TowerVision.cpp
@@ -1,16 +1,27 @@
+#include "T2OutObj.h"
+#include "T2TowerEvent.h"
#include "T2TowerVision.h"
-T2TowerVision::T2TowerVision(T2TowerEvent*, int, int, int, int, int, int, T2OutObj*) {
+T2TowerVision::T2TowerVision(T2TowerEvent* inTowerEvent, int inSubID, int inLevelBit, BOOL inExclusive, int inCycleDay, int inBeginTime, int inEndTime, T2OutObj *inOutObj)
+ : T2EventItem(inTowerEvent, inSubID, inLevelBit, inExclusive, inCycleDay, inBeginTime, inEndTime)
+{
+ mOutObj = inOutObj;
+ _34 = 0;
+
+ T2ToolDef *theDef = mOutObj->GetToolDef();
}
/*virtual*/ T2TowerVision::~T2TowerVision() {
+ StopEvent(mTowerEvent->mDocument);
}
-/*virtual*/ int T2TowerVision::Exec(T2TowerDoc*) {
+/*virtual*/ int T2TowerVision::Exec(T2TowerDoc* inDoc) {
+ return 0;
}
-/*virtual*/ void T2TowerVision::StopEvent(T2TowerDoc*) {
+/*virtual*/ void T2TowerVision::StopEvent(T2TowerDoc* inDoc) {
}
-int T2TowerVision::PrepareMovie(T2TowerDoc*) {
+BOOL T2TowerVision::PrepareMovie(T2TowerDoc* inDoc) {
+ return true;
}