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.

76 lines
1.9 KiB

  1. //========= Copyright � 1996-2005, Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. //=============================================================================//
  6. #if !defined(AFX_OPTBUILD_H__33E3A4A0_933D_11D1_8C08_444553540000__INCLUDED_)
  7. #define AFX_OPTBUILD_H__33E3A4A0_933D_11D1_8C08_444553540000__INCLUDED_
  8. #if _MSC_VER >= 1000
  9. #pragma once
  10. #endif // _MSC_VER >= 1000
  11. /////////////////////////////////////////////////////////////////////////////
  12. // COPTBuild dialog
  13. class COPTBuild : public CPropertyPage
  14. {
  15. // Construction
  16. public:
  17. COPTBuild(); // standard constructor
  18. // Dialog Data
  19. //{{AFX_DATA(COPTBuild)
  20. enum { IDD = IDD_OPTIONS_BUILD };
  21. CEdit m_cBSPDir;
  22. CEdit m_cVIS;
  23. CEdit m_cLIGHT;
  24. CEdit m_cGame;
  25. CEdit m_cBSP;
  26. CComboBox m_cConfigs;
  27. //}}AFX_DATA
  28. // Overrides
  29. // ClassWizard generated virtual function overrides
  30. //{{AFX_VIRTUAL(COPTBuild)
  31. public:
  32. virtual BOOL OnApply();
  33. protected:
  34. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  35. //}}AFX_VIRTUAL
  36. // Implementation
  37. protected:
  38. // Generated message map functions
  39. //{{AFX_MSG(COPTBuild)
  40. afx_msg void OnBrowseBsp();
  41. afx_msg void OnBrowseGame();
  42. afx_msg void OnBrowseLight();
  43. afx_msg void OnBrowseVis();
  44. afx_msg void OnSelchangeConfigs();
  45. virtual BOOL OnInitDialog();
  46. afx_msg void OnParmsBsp();
  47. afx_msg void OnParmsGame();
  48. afx_msg void OnParmsLight();
  49. afx_msg void OnParmsVis();
  50. afx_msg void OnBrowseBspdir();
  51. //}}AFX_MSG
  52. DECLARE_MESSAGE_MAP()
  53. CGameConfig *m_pConfig;
  54. CEdit *m_pAddParmWnd;
  55. void InsertParm(UINT nID, CEdit *pEdit);
  56. BOOL HandleInsertParm(UINT nID);
  57. void DoBrowse(CWnd *pWnd);
  58. void UpdateConfigList();
  59. void SaveInfo(CGameConfig *pConfig);
  60. };
  61. //{{AFX_INSERT_LOCATION}}
  62. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  63. #endif // !defined(AFX_OPTBUILD_H__33E3A4A0_933D_11D1_8C08_444553540000__INCLUDED_)