#pragma once #include "../../../common.h" #include "../../../T2DLL/T2TenantDef.h" class FloorDef : public T2TenantDef { public: FloorDef(DWORD inType, T2PluginSpecifier &inSpecifier, CResFile *inResFile, T2WorldDef *inWorldDef, T2TenantPlugin *inPlugin); virtual ~FloorDef(); virtual void BuildFinish(T2TowerDoc *inDoc, T2Equip *inEquip); virtual T2InfoDialog *ShowInfoDialog(T2TowerDoc *doc, T2Equip *equip); virtual unsigned int IdleProc(T2HaveOutViewObject *inObject, T2TowerDoc *inDoc); virtual void DrawProc(T2HaveOutViewObject *inObject, const RECT &inRect, T2TowerDoc *inDoc) const; virtual AREACHECKCODE AreaCheck(T2TowerDoc *inDoc, RECT &ioRect, unsigned int inInfo, BOOL inShowError); virtual int RequierToolIcon(T2ToolWindow *window); virtual CURSORTYPE QueryCursor(T2TowerDoc *inDoc, POINT inPt, CString &outSpriteName, RECT &outRect, POINT &outPt, int inZoomLevel, unsigned int inValiation, int i); virtual PROCCODE DoDestructProc(T2TowerDoc *inDoc, T2HaveOutViewObject *inObject, POINT inPt, RECT &outRect); virtual PROCCODE DrawHitMask(T2TowerDoc *doc, T2HaveOutViewObject *object); };