/* Copyright (c) 2002-2012 Croteam Ltd. This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #if !defined(AFX_DLGTERRAINPROPERTIES_H__44370841_18E0_4F93_8BF8_C0640205AE46__INCLUDED_) #define AFX_DLGTERRAINPROPERTIES_H__44370841_18E0_4F93_8BF8_C0640205AE46__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // DlgTerrainProperties.h : header file // ///////////////////////////////////////////////////////////////////////////// // CDlgTerrainProperties dialog class CDlgTerrainProperties : public CDialog { // Construction public: CDlgTerrainProperties(CWnd* pParent = NULL); // standard constructor void PrepareGlobalPretenderCombo(void); void PrepareTilePretenderCombo(void); void InitComboBoxes(void); // Dialog Data //{{AFX_DATA(CDlgTerrainProperties) enum { IDD = IDD_TERRAIN_PROPERTIES }; CComboBox m_ctrlGlobalPretenderTexture; CComboBox m_ctrlTilePretender; CSliderCtrl m_ctrlShadingMapSlider; CComboBox m_ctrlQuadsPerTile; CComboBox m_ctrlHeightMapWidth; CComboBox m_ctrlHeightMapHeight; CSliderCtrl m_ctrlShadowMapSlider; CString m_strHeightmapSize; CString m_strShadowMapSize; CString m_strTerrainPretender; CString m_strTilePretender; float m_fTerrainLength; float m_fTerrainHeight; float m_fTerrainWidth; float m_fLODSwitch; CString m_strShadingMapSize; CString m_strMemoryConsumption; CString m_strLayerMemory; CString m_strEdgeMap; //}}AFX_DATA // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CDlgTerrainProperties) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: // Generated message map functions //{{AFX_MSG(CDlgTerrainProperties) afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); virtual BOOL OnInitDialog(); afx_msg void OnSelchangeTerrainHmWidth(); afx_msg void OnSelchangeTerrainHmHeight(); virtual void OnOK(); afx_msg void OnSelchangeTilePretender(); afx_msg void OnSelchangeGlobalPretender(); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_DLGTERRAINPROPERTIES_H__44370841_18E0_4F93_8BF8_C0640205AE46__INCLUDED_)