diff options
author | Ash Wolf <ninji@wuffs.org> | 2023-06-28 22:22:32 +0100 |
---|---|---|
committer | Ash Wolf <ninji@wuffs.org> | 2023-06-28 22:22:32 +0100 |
commit | c0c336500955a23e344651e5412c9d9d441ef4ee (patch) | |
tree | 790769c748db307cf3314f6e896e2f61c68561a2 /src/T2DLL/T2TowerVision.cpp | |
parent | 37e364b2c6cc7487a1c888d256a73e5337bb7189 (diff) | |
download | t2win-c0c336500955a23e344651e5412c9d9d441ef4ee.tar.gz t2win-c0c336500955a23e344651e5412c9d9d441ef4ee.zip |
first pass of T2DLL
Diffstat (limited to '')
-rw-r--r-- | src/T2DLL/T2TowerVision.cpp | 19 |
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; } |