#pragma once #include "common.h" #include "resource.h" #include "T2DLL/T2Dialog.h" class Bitmap; class T2OpenSelectDlg : public T2Dialog { public: T2OpenSelectDlg(T2TowerDoc *inDoc); virtual ~T2OpenSelectDlg(); void Setup(); int ShowOpenSelectDialog(); virtual void ListenToMessage(unsigned int msg, void *data); enum { kDlgResID = 1000 }; enum { kCmdExit = 100, kCmdNew = 101, kCmdOpen = 102, kCmdLoadFromPath = 103, }; protected: virtual BOOL OnT2DialogCommand(WPARAM inWParam, LPARAM inLParam); virtual BOOL OnT2EraseBkgnd(CDC *pDC); virtual void vfF4(); virtual void vfF8(int unk1, int unk2); CPalette mPalette1; T2TowerDoc *mTowerDoc; CPalette mPalette2; T2BitImage *mImage; T2ImageObj *mImageObj; int _114; short *mPal1; short *mPal2; Bitmap *mBitmap; };