From 37e364b2c6cc7487a1c888d256a73e5337bb7189 Mon Sep 17 00:00:00 2001 From: Ash Wolf Date: Wed, 14 Jun 2023 00:50:34 +0100 Subject: initial commit --- src/T2DLL/T2OutObj.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 src/T2DLL/T2OutObj.h (limited to 'src/T2DLL/T2OutObj.h') diff --git a/src/T2DLL/T2OutObj.h b/src/T2DLL/T2OutObj.h new file mode 100644 index 0000000..615895d --- /dev/null +++ b/src/T2DLL/T2OutObj.h @@ -0,0 +1,24 @@ +#pragma once +#include "common.h" + +class T2OutObj { +public: + T2OutObj(); + virtual ~T2OutObj(); + virtual void Draw(T2TowerDoc*, const CRect&); + virtual PROCCODE DoDestruct(T2TowerDoc*, int, CPoint, CPoint, CRect&); + virtual PROCCODE Destruct(T2TowerDoc*, RECT&); + virtual void GetOutObjArea(RECT&) const; + virtual unsigned int Idle(T2TowerDoc*); + virtual int InitOutObj(T2OuterObjDef*, const RECT&, unsigned int); + virtual void LoadSelf(T2Archive&, T2TowerDoc*); + virtual void SaveSelf(T2Archive&); + virtual void StartBuild(T2TowerDoc*); + virtual T2InfoDialog* ShowInfoDialog(T2TowerDoc*); + virtual void DrawHitMask(T2TowerDoc*); + + T2ToolDef* GetToolDef() const {} + void SetToolDef(T2ToolDef*) {} + T2OutObj(const T2OutObj&) {} + T2OutObj& operator=(const T2OutObj&) {} +}; -- cgit v1.2.3