doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
PrefsDlg.h
Go to the documentation of this file.
1 /*
2 ===========================================================================
3 
4 Doom 3 GPL Source Code
5 Copyright (C) 1999-2011 id Software LLC, a ZeniMax Media company.
6 
7 This file is part of the Doom 3 GPL Source Code (?Doom 3 Source Code?).
8 
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.
13 
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.
18 
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/>.
21 
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.
23 
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.
25 
26 ===========================================================================
27 */
28 
29 #ifndef __PREFSDLG_H__
30 #define __PREFSDLG_H__
31 
32 #if _MSC_VER >= 1000
33 #pragma once
34 #endif // _MSC_VER >= 1000
35 
37 // CPrefsDlg dialog
38 
39 #define MAX_TEXTURE_QUALITY 3
40 
41 class CPrefsDlg : public CDialog
42 {
43 // Construction
44 public:
45  CPrefsDlg(CWnd* pParent = NULL); // standard constructor
46 
47  void LoadPrefs();
48  void SavePrefs();
49  void SetGamePrefs();
50 
51 // Dialog Data
52  //{{AFX_DATA(CPrefsDlg)
53  enum { IDD = IDD_DLG_PREFS };
54 
55  CSpinButtonCtrl m_wndUndoSpin;
56  CSpinButtonCtrl m_wndFontSpin;
57  CSliderCtrl m_wndTexturequality;
58  CSliderCtrl m_wndCamSpeed;
59  CSpinButtonCtrl m_wndSpin;
64  CString m_strLastMap;
70  CString m_strAutoSave;
75  float m_fTinySize;
97  CString m_strMaps;
98  CString m_strModels;
100  //}}AFX_DATA
117 
118  // ClassWizard generated virtual function overrides
119  //{{AFX_VIRTUAL(CPrefsDlg)
120  protected:
121  virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
122  //}}AFX_VIRTUAL
123 
124 protected:
125  // Generated message map functions
126  //{{AFX_MSG(CPrefsDlg)
127  afx_msg void OnBtnBrowse();
128  virtual BOOL OnInitDialog();
129  virtual void OnOK();
130  afx_msg void OnBtnBrowsepak();
131  afx_msg void OnBtnBrowseprefab();
132  afx_msg void OnBtnBrowseuserini();
133  afx_msg void OnSelchangeComboWhatgame();
134  //}}AFX_MSG
135  DECLARE_MESSAGE_MAP()
136 };
137 
138 #endif /* !__PREFSDLG_H__ */
int m_nAngleSpeed
Definition: PrefsDlg.h:102
afx_msg void OnBtnBrowseuserini()
afx_msg void OnSelchangeComboWhatgame()
float m_fTinySize
Definition: PrefsDlg.h:75
int m_nCubicScale
Definition: PrefsDlg.h:106
BOOL m_bCamXYUpdate
Definition: PrefsDlg.h:78
BOOL m_bNoStipple
Definition: PrefsDlg.h:95
BOOL m_bGLLighting
Definition: PrefsDlg.h:116
CSpinButtonCtrl m_wndUndoSpin
Definition: PrefsDlg.h:55
BOOL m_selectNoModels
Definition: PrefsDlg.h:108
CSliderCtrl m_wndCamSpeed
Definition: PrefsDlg.h:58
BOOL m_bZVis
Definition: PrefsDlg.h:85
BOOL m_bDisplayLists
Definition: PrefsDlg.h:94
BOOL m_bYZVis
Definition: PrefsDlg.h:84
CSliderCtrl m_wndTexturequality
Definition: PrefsDlg.h:57
BOOL m_bNewApplyHandling
Definition: PrefsDlg.h:69
BOOL m_bNewLightDraw
Definition: PrefsDlg.h:79
CString m_strAutoSave
Definition: PrefsDlg.h:70
BOOL m_bRotateLock
Definition: PrefsDlg.h:87
BOOL m_selectOnlyBrushes
Definition: PrefsDlg.h:107
#define BOOL
Definition: mprintf.c:71
#define IDD_DLG_PREFS
int m_nAutoSave
Definition: PrefsDlg.h:104
afx_msg void OnBtnBrowseprefab()
BOOL m_bALTEdge
Definition: PrefsDlg.h:80
CString m_strModels
Definition: PrefsDlg.h:98
BOOL m_bNormalizeColors
Definition: PrefsDlg.h:112
int m_nMouseButtons
Definition: PrefsDlg.h:101
BOOL m_bLoadLast
Definition: PrefsDlg.h:61
CString m_strLastMap
Definition: PrefsDlg.h:64
CSpinButtonCtrl m_wndFontSpin
Definition: PrefsDlg.h:56
BOOL m_bLoadLastMap
Definition: PrefsDlg.h:71
BOOL m_bSelectWholeEntities
Definition: PrefsDlg.h:114
BOOL m_bChaseMouse
Definition: PrefsDlg.h:92
BOOL m_bSizePaint
Definition: PrefsDlg.h:86
void SetGamePrefs()
Definition: PrefsDlg.cpp:448
BOOL m_bFace
Definition: PrefsDlg.h:65
#define NULL
Definition: Lib.h:88
afx_msg void OnBtnBrowse()
BOOL m_bQE4Painting
Definition: PrefsDlg.h:81
BOOL m_bHiColorTextures
Definition: PrefsDlg.h:91
virtual BOOL OnInitDialog()
Definition: PrefsDlg.cpp:218
int m_nRotation
Definition: PrefsDlg.h:90
BOOL m_bRightClick
Definition: PrefsDlg.h:66
BOOL m_bVertex
Definition: PrefsDlg.h:67
CSpinButtonCtrl m_wndSpin
Definition: PrefsDlg.h:59
int m_nStatusSize
Definition: PrefsDlg.h:77
int m_nEntityShowState
Definition: PrefsDlg.h:110
bool m_bCubicClipping
Definition: PrefsDlg.h:105
BOOL m_bWideToolbar
Definition: PrefsDlg.h:88
int m_nUndoLevels
Definition: PrefsDlg.h:96
BOOL m_bSnapTToGrid
Definition: PrefsDlg.h:82
BOOL m_bTextureLock
Definition: PrefsDlg.h:60
int m_nTextureScale
Definition: PrefsDlg.h:111
BOOL m_bXZVis
Definition: PrefsDlg.h:83
BOOL m_bSwitchClip
Definition: PrefsDlg.h:113
virtual void OnOK()
Definition: PrefsDlg.cpp:240
BOOL m_bAutoSave
Definition: PrefsDlg.h:68
BOOL m_bRunBefore
Definition: PrefsDlg.h:62
afx_msg void OnBtnBrowsepak()
BOOL m_bNewMapFormat
Definition: PrefsDlg.h:99
CString m_strLastProject
Definition: PrefsDlg.h:63
CPrefsDlg(CWnd *pParent=NULL)
Definition: PrefsDlg.cpp:118
BOOL m_bGatewayHack
Definition: PrefsDlg.h:72
void LoadPrefs()
Definition: PrefsDlg.cpp:324
BOOL m_bTextureWindow
Definition: PrefsDlg.h:73
CString m_strMaps
Definition: PrefsDlg.h:97
void SavePrefs()
Definition: PrefsDlg.cpp:391
BOOL m_selectByBoundingBrush
Definition: PrefsDlg.h:109
int m_nTextureQuality
Definition: PrefsDlg.h:115
BOOL m_bTextureScrollbar
Definition: PrefsDlg.h:93
virtual void DoDataExchange(CDataExchange *pDX)
Definition: PrefsDlg.cpp:169
BOOL m_bSnapShots
Definition: PrefsDlg.h:74
int m_nMoveSpeed
Definition: PrefsDlg.h:103
BOOL m_bNoClamp
Definition: PrefsDlg.h:89
BOOL m_bCleanTiny
Definition: PrefsDlg.h:76