diff options
| author | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
|---|---|---|
| committer | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
| commit | 3bf9df6b2785fa6d951086978a3e66f49427166a (patch) | |
| tree | 2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /hammer/mapcheckdlg.h | |
| download | archived-source-engine-2018-hl2-src-master.tar.xz archived-source-engine-2018-hl2-src-master.zip | |
Diffstat (limited to 'hammer/mapcheckdlg.h')
| -rw-r--r-- | hammer/mapcheckdlg.h | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/hammer/mapcheckdlg.h b/hammer/mapcheckdlg.h new file mode 100644 index 0000000..43f4d5f --- /dev/null +++ b/hammer/mapcheckdlg.h @@ -0,0 +1,71 @@ +//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +//=============================================================================// + +#ifndef MAPCHECKDLG_H +#define MAPCHECKDLG_H +#ifdef _WIN32 +#pragma once +#endif + +#include "mapdoc.h" + + +struct MapError; +class CMapClass; + + +class CMapCheckDlg : public CDialog +{ +public: + + static void CheckForProblems(CWnd *pwndParent); + +private: + + CMapCheckDlg(CWnd *pParent = NULL); + enum { IDD = IDD_MAPCHECK }; + bool DoCheck(); + +protected: + + //{{AFX_DATA(CMapCheckDlg) + CButton m_cFixAll; + CButton m_Fix; + CButton m_Go; + CEdit m_Description; + CListBox m_Errors; + BOOL m_bCheckVisible; + //}}AFX_DATA + + // ClassWizard generated virtual function overrides + //{{AFX_VIRTUAL(CMapCheckDlg) + protected: + virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support + virtual void OnOK(); + //}}AFX_VIRTUAL + + //{{AFX_MSG(CMapCheckDlg) + afx_msg void OnGo(); + afx_msg void OnSelchangeErrors(); + afx_msg void OnDblClkErrors(); + afx_msg void OnPaint(); + afx_msg void OnFix(); + afx_msg void OnFixall(); + afx_msg void OnDestroy(); + afx_msg void OnClose(); + afx_msg void OnCheckVisibleOnly(); + //}}AFX_MSG + + DECLARE_MESSAGE_MAP() + +private: + + void Fix(MapError *pError, UpdateBox &ub); + void KillErrorList(); + void GotoSelectedErrors(); +}; + +#endif // MAPCHECKDLG_H |