Counter Strike : Global Offensive Source Code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

71 lines
1.3 KiB

  1. //========= Copyright � 1996-2005, Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. //=============================================================================//
  6. #ifndef MAPCHECKDLG_H
  7. #define MAPCHECKDLG_H
  8. #ifdef _WIN32
  9. #pragma once
  10. #endif
  11. #include "mapdoc.h"
  12. struct MapError;
  13. class CMapClass;
  14. class CMapCheckDlg : public CDialog
  15. {
  16. public:
  17. static void CheckForProblems(CWnd *pwndParent);
  18. private:
  19. CMapCheckDlg(CWnd *pParent = NULL);
  20. enum { IDD = IDD_MAPCHECK };
  21. bool DoCheck();
  22. protected:
  23. //{{AFX_DATA(CMapCheckDlg)
  24. CButton m_cFixAll;
  25. CButton m_Fix;
  26. CButton m_Go;
  27. CEdit m_Description;
  28. CListBox m_Errors;
  29. BOOL m_bCheckVisible;
  30. //}}AFX_DATA
  31. // ClassWizard generated virtual function overrides
  32. //{{AFX_VIRTUAL(CMapCheckDlg)
  33. protected:
  34. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  35. virtual void OnOK();
  36. //}}AFX_VIRTUAL
  37. //{{AFX_MSG(CMapCheckDlg)
  38. afx_msg void OnGo();
  39. afx_msg void OnSelchangeErrors();
  40. afx_msg void OnDblClkErrors();
  41. afx_msg void OnPaint();
  42. afx_msg void OnFix();
  43. afx_msg void OnFixall();
  44. afx_msg void OnDestroy();
  45. afx_msg void OnClose();
  46. afx_msg void OnCheckVisibleOnly();
  47. //}}AFX_MSG
  48. DECLARE_MESSAGE_MAP()
  49. private:
  50. void Fix(MapError *pError, UpdateBox &ub);
  51. void KillErrorList();
  52. void GotoSelectedErrors();
  53. };
  54. #endif // MAPCHECKDLG_H