Serious-Engine/Sources/WorldEditor/DlgGenerateFBM.h
2016-03-11 15:57:17 +02:00

73 lines
1.9 KiB
C++

/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */
#if !defined(AFX_DLGGENERATEFBM_H__E9D18A4D_B090_48B0_A0D5_C1CEAADEFBA8__INCLUDED_)
#define AFX_DLGGENERATEFBM_H__E9D18A4D_B090_48B0_A0D5_C1CEAADEFBA8__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DlgGenerateFBM.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CDlgGenerateFBM dialog
class CDlgGenerateFBM : public CDialog
{
// Construction
public:
CWnd m_wndTexture;
BOOL m_bCustomWindowCreated;
CDrawPort *m_pdp;
CViewPort *m_pvp;
CDlgGenerateFBM(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CDlgGenerateFBM)
enum { IDD = IDD_GENERATE_FBM };
CSpinButtonCtrl m_ctrlCtOctavesSpin;
float m_fMaxAltitude;
float m_fOctaveAmplitudeDecreaser;
float m_fOctaveAmplitudeStep;
float m_fHighFrequencyStep;
int m_ctOctaves;
BOOL m_bAddNegativeValues;
BOOL m_bRandomOffset;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDlgGenerateFBM)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CDlgGenerateFBM)
afx_msg void OnPaint();
afx_msg void OnFbmRandomize();
afx_msg void OnChangeFbmHighFrequencyStep();
afx_msg void OnChangeFbmMaxAltitude();
afx_msg void OnChangeFbmOctaveAmplitudeDecrease();
afx_msg void OnChangeFbmOctaveStep();
afx_msg void OnChangeFbmOctaves();
virtual void OnOK();
virtual BOOL OnInitDialog();
afx_msg void OnAddNegativeValues();
afx_msg void OnFbmExport();
afx_msg void OnRandomOffset();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DLGGENERATEFBM_H__E9D18A4D_B090_48B0_A0D5_C1CEAADEFBA8__INCLUDED_)