mirror of
https://github.com/ptitSeb/Serious-Engine
synced 2024-12-25 07:14:50 +01:00
85 lines
2.4 KiB
C++
85 lines
2.4 KiB
C++
/* 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. */
|
|
|
|
// DlgPreferences.h : header file
|
|
//
|
|
#ifndef DLGPREFERENCES_H
|
|
#define DLGPREFERENCES_H 1
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CDlgPreferences dialog
|
|
|
|
class CDlgPreferences : public CDialog
|
|
{
|
|
// Construction
|
|
public:
|
|
CDisplayMode m_dmFullScreen;
|
|
GfxAPIType m_gatFullScreen;
|
|
|
|
// constructor
|
|
CDlgPreferences( CWnd* pParent = NULL);
|
|
|
|
// Dialog Data
|
|
//{{AFX_DATA(CDlgPreferences)
|
|
enum { IDD = IDD_PREFERENCES };
|
|
CComboBox m_ctrlTerrainSelectionHidden;
|
|
CComboBox m_ctrlTerrainSelectionVisible;
|
|
CComboBox m_ctrGfxApi;
|
|
CSliderCtrl m_ctrlCSGPrecission;
|
|
CSliderCtrl m_UndoLevels;
|
|
CButton m_OkButton;
|
|
BOOL m_PrefsCopy;
|
|
BOOL m_AutoMaximize;
|
|
BOOL m_SetDefaultColors;
|
|
BOOL m_AutomaticInfo;
|
|
BOOL m_UpdateAllways;
|
|
BOOL m_BinaryGrid;
|
|
BOOL m_bSaveUndoForDelete;
|
|
int m_iWndStartupCfg;
|
|
BOOL m_bAutoColorize;
|
|
CString m_strSSProject;
|
|
BOOL m_bShowAllOnOpen;
|
|
CString m_strCSGPrecission;
|
|
BOOL m_bAutoUpdateDisplaceMap;
|
|
float m_fFlyModeSpeed;
|
|
BOOL m_bHideShadowsOnStart;
|
|
BOOL m_bAutoUpdateTerrainDistribution;
|
|
int m_iMemoryForTerrainUndo;
|
|
//}}AFX_DATA
|
|
|
|
|
|
// Overrides
|
|
// ClassWizard generated virtual function overrides
|
|
//{{AFX_VIRTUAL(CDlgPreferences)
|
|
protected:
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
|
//}}AFX_VIRTUAL
|
|
|
|
// Implementation
|
|
protected:
|
|
|
|
// Generated message map functions
|
|
//{{AFX_MSG(CDlgPreferences)
|
|
virtual BOOL OnInitDialog();
|
|
afx_msg void OnSavePreferences();
|
|
afx_msg void OnLoadPreferences();
|
|
afx_msg void OnChangeFullScreenDisplayMode();
|
|
afx_msg void OnReleasedcaptureCsgPrecission(NMHDR* pNMHDR, LRESULT* pResult);
|
|
//}}AFX_MSG
|
|
afx_msg void OnChangePreferences(UINT nID);
|
|
DECLARE_MESSAGE_MAP()
|
|
};
|
|
#endif // DLGPREFERENCES_H
|