2 ===========================================================================
5 Copyright (C) 1999-2011 id Software LLC, a ZeniMax Media company.
7 This file is part of the Doom 3 GPL Source Code (?Doom 3 Source Code?).
9 Doom 3 Source Code is free software: you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation, either version 3 of the License, or
12 (at your option) any later version.
14 Doom 3 Source Code is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
19 You should have received a copy of the GNU General Public License
20 along with Doom 3 Source Code. If not, see <http://www.gnu.org/licenses/>.
22 In addition, the Doom 3 Source Code is also subject to certain additional terms. You should have received a copy of these additional terms immediately following the terms and conditions of the GNU General Public License which accompanied the Doom 3 Source Code. If not, please request a copy in writing from id Software at the address below.
24 If you have questions concerning this license or the applicable additional terms, you may contact in writing id Software LLC, c/o ZeniMax Media Inc., Suite 120, Rockville, Maryland 20850 USA.
26 ===========================================================================
29 #ifndef __PREFSDLG_H__
30 #define __PREFSDLG_H__
34 #endif // _MSC_VER >= 1000
36 /////////////////////////////////////////////////////////////////////////////
39 #define MAX_TEXTURE_QUALITY 3
41 class CPrefsDlg : public CDialog
45 CPrefsDlg(CWnd* pParent = NULL); // standard constructor
52 //{{AFX_DATA(CPrefsDlg)
53 enum { IDD = IDD_DLG_PREFS };
55 CSpinButtonCtrl m_wndUndoSpin;
56 CSpinButtonCtrl m_wndFontSpin;
57 CSliderCtrl m_wndTexturequality;
58 CSliderCtrl m_wndCamSpeed;
59 CSpinButtonCtrl m_wndSpin;
63 CString m_strLastProject;
69 BOOL m_bNewApplyHandling;
70 CString m_strAutoSave;
73 BOOL m_bTextureWindow;
91 BOOL m_bHiColorTextures;
93 BOOL m_bTextureScrollbar;
105 bool m_bCubicClipping;
107 BOOL m_selectOnlyBrushes;
108 BOOL m_selectNoModels;
109 BOOL m_selectByBoundingBrush;
110 int m_nEntityShowState;
112 BOOL m_bNormalizeColors;
114 BOOL m_bSelectWholeEntities;
115 int m_nTextureQuality;
118 // ClassWizard generated virtual function overrides
119 //{{AFX_VIRTUAL(CPrefsDlg)
121 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
125 // Generated message map functions
126 //{{AFX_MSG(CPrefsDlg)
127 afx_msg void OnBtnBrowse();
128 virtual BOOL OnInitDialog();
130 afx_msg void OnBtnBrowsepak();
131 afx_msg void OnBtnBrowseprefab();
132 afx_msg void OnBtnBrowseuserini();
133 afx_msg void OnSelchangeComboWhatgame();
135 DECLARE_MESSAGE_MAP()
138 #endif /* !__PREFSDLG_H__ */