DlgEditTerrainLayer.h 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. /* Copyright (c) 2002-2012 Croteam Ltd.
  2. This program is free software; you can redistribute it and/or modify
  3. it under the terms of version 2 of the GNU General Public License as published by
  4. the Free Software Foundation
  5. This program is distributed in the hope that it will be useful,
  6. but WITHOUT ANY WARRANTY; without even the implied warranty of
  7. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  8. GNU General Public License for more details.
  9. You should have received a copy of the GNU General Public License along
  10. with this program; if not, write to the Free Software Foundation, Inc.,
  11. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */
  12. #if !defined(AFX_DLGEDITTERRAINLAYER_H__985474D0_7967_4656_8ED1_DB317AE52FA3__INCLUDED_)
  13. #define AFX_DLGEDITTERRAINLAYER_H__985474D0_7967_4656_8ED1_DB317AE52FA3__INCLUDED_
  14. #if _MSC_VER > 1000
  15. #pragma once
  16. #endif // _MSC_VER > 1000
  17. // DlgEditTerrainLayer.h : header file
  18. //
  19. /////////////////////////////////////////////////////////////////////////////
  20. // CDlgEditTerrainLayer dialog
  21. class CDlgEditTerrainLayer : public CDialog
  22. {
  23. // Construction
  24. public:
  25. CDlgEditTerrainLayer(CWnd* pParent = NULL); // standard constructor
  26. // Dialog Data
  27. //{{AFX_DATA(CDlgEditTerrainLayer)
  28. enum { IDD = IDD_EDIT_TERRAIN_LAYER };
  29. BOOL m_bAutoGenerate;
  30. float m_fAltitudeMax;
  31. float m_fAltitudeMaxFade;
  32. float m_fAltitudeMin;
  33. float m_fAltitudeMinFade;
  34. float m_fLayerCoverage;
  35. CString m_strLayerName;
  36. float m_fTextureOffsetX;
  37. float m_fTextureOffsetY;
  38. float m_fTextureRotationU;
  39. float m_fTextureRotationV;
  40. float m_fSlopeMax;
  41. float m_fSlopeMaxFade;
  42. float m_fSlopeMin;
  43. float m_fSlopeMinFade;
  44. float m_fTextureStretchX;
  45. float m_fTextureStretchY;
  46. float m_fCoverageFade;
  47. float m_fAltitudeMaxNoise;
  48. BOOL m_bApplyMaxAltitude;
  49. BOOL m_bApplyMaxSlope;
  50. BOOL m_bApplyMinAltitude;
  51. BOOL m_bApplyMinSlope;
  52. float m_fAltitudeMinNoise;
  53. float m_fSlopeMaxNoise;
  54. float m_fSlopeMinNoise;
  55. //}}AFX_DATA
  56. // Overrides
  57. // ClassWizard generated virtual function overrides
  58. //{{AFX_VIRTUAL(CDlgEditTerrainLayer)
  59. protected:
  60. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  61. //}}AFX_VIRTUAL
  62. // Implementation
  63. protected:
  64. // Generated message map functions
  65. //{{AFX_MSG(CDlgEditTerrainLayer)
  66. // NOTE: the ClassWizard will add member functions here
  67. //}}AFX_MSG
  68. DECLARE_MESSAGE_MAP()
  69. };
  70. //{{AFX_INSERT_LOCATION}}
  71. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  72. #endif // !defined(AFX_DLGEDITTERRAINLAYER_H__985474D0_7967_4656_8ED1_DB317AE52FA3__INCLUDED_)