#pragma once #include "common.h" class T2MainWindow : public CFrameWnd { DECLARE_DYNCREATE(T2MainWindow) DECLARE_MESSAGE_MAP() public: T2MainWindow(); virtual ~T2MainWindow(); virtual BOOL PreCreateWindow(CREATESTRUCT& cs); virtual void AssertValid() const; virtual void Dump(CDumpContext& dc) const; void Setup(); void Teardown(); void x414445(); void x4144FA(); LPDIRECTSOUND mDirectSound; T2SoundPlayer *mSoundPlayer; T2MsgWindow *mMsgWindow; T2CtrlPalette *mCtrlPalette; CString mWndClassB; T2ToolWindow *mToolWindow; CString mWndClassA; int _DC; CString mWndClassC; DbgStepRun *mDbgStepRun; DbgIPS *mDbgIPS; int _EC; int _F0; protected: void InitSound(); void DeinitSound(); afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); afx_msg void OnDestroy(); afx_msg void OnSize(UINT nType, int cx, int cy); afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); afx_msg BOOL OnEraseBkgnd(CDC* pDC); afx_msg void OnActivate(UINT nState, CWnd* pWndOther, BOOL bMinimized); afx_msg void OnActivateApp(BOOL bActive, HTASK hTask); afx_msg void OnCmdDebugEvent(); afx_msg void OnUpdateCmdDebugEvent(CCmdUI *pCmdUI); afx_msg void OnClose(); afx_msg void OnCmdDebugMode(); };