summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2TowerVision.h
diff options
context:
space:
mode:
authorAsh Wolf <ninji@wuffs.org>2023-06-28 22:22:32 +0100
committerAsh Wolf <ninji@wuffs.org>2023-06-28 22:22:32 +0100
commitc0c336500955a23e344651e5412c9d9d441ef4ee (patch)
tree790769c748db307cf3314f6e896e2f61c68561a2 /src/T2DLL/T2TowerVision.h
parent37e364b2c6cc7487a1c888d256a73e5337bb7189 (diff)
downloadt2win-c0c336500955a23e344651e5412c9d9d441ef4ee.tar.gz
t2win-c0c336500955a23e344651e5412c9d9d441ef4ee.zip
first pass of T2DLL
Diffstat (limited to '')
-rw-r--r--src/T2DLL/T2TowerVision.h19
1 files changed, 11 insertions, 8 deletions
diff --git a/src/T2DLL/T2TowerVision.h b/src/T2DLL/T2TowerVision.h
index c07bc74..2fc44b2 100644
--- a/src/T2DLL/T2TowerVision.h
+++ b/src/T2DLL/T2TowerVision.h
@@ -1,15 +1,18 @@
#pragma once
#include "common.h"
+#include "T2EventItem.h"
-class T2TowerVision {
+class AFX_EXT_CLASS T2TowerVision : public T2EventItem {
public:
- T2TowerVision(T2TowerEvent*, int, int, int, int, int, int, T2OutObj*);
+ T2TowerVision(T2TowerEvent* inTowerEvent, int inSubID, int inLevelBit, BOOL inExclusive, int inCycleDay, int inBeginTime, int inEndTime, T2OutObj *inOutObj);
virtual ~T2TowerVision();
- virtual int Exec(T2TowerDoc*);
- virtual void StopEvent(T2TowerDoc*);
- int PrepareMovie(T2TowerDoc*);
+ virtual DWORD GetID() { return 'TVEv'; }
+ virtual int Exec(T2TowerDoc* inDoc);
+ virtual void StopEvent(T2TowerDoc* inDoc);
+ BOOL PrepareMovie(T2TowerDoc* inDoc);
- virtual unsigned long GetID() {}
- T2TowerVision(const T2TowerVision&) {}
- T2TowerVision& operator=(const T2TowerVision&) {}
+protected:
+ T2OutObj *mOutObj;
+ int _34;
+ int _38;
};