]> icculus.org git repositories - icculus/iodoom3.git/blob - neo/tools/radiant/PrefsDlg.h
Various Mac OS X tweaks to get this to build. Probably breaking things.
[icculus/iodoom3.git] / neo / tools / radiant / PrefsDlg.h
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
36 /////////////////////////////////////////////////////////////////////////////
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;
60         BOOL                            m_bTextureLock;
61         BOOL                            m_bLoadLast;
62         BOOL                            m_bRunBefore;
63         CString                         m_strLastProject;
64         CString                         m_strLastMap;
65         BOOL                            m_bFace;
66         BOOL                            m_bRightClick;
67         BOOL                            m_bVertex;
68         BOOL                            m_bAutoSave;
69         BOOL                            m_bNewApplyHandling;
70         CString                         m_strAutoSave;
71         BOOL                            m_bLoadLastMap;
72         BOOL                            m_bGatewayHack;
73         BOOL                            m_bTextureWindow;
74         BOOL                            m_bSnapShots;
75         float                           m_fTinySize;
76         BOOL                            m_bCleanTiny;
77         int                                     m_nStatusSize;
78         BOOL                            m_bCamXYUpdate;
79         BOOL                            m_bNewLightDraw;
80         BOOL                            m_bALTEdge;
81         BOOL                            m_bQE4Painting;
82         BOOL                            m_bSnapTToGrid;
83         BOOL                            m_bXZVis;
84         BOOL                            m_bYZVis;
85         BOOL                            m_bZVis;
86         BOOL                            m_bSizePaint;
87         BOOL                            m_bRotateLock;
88         BOOL                            m_bWideToolbar;
89         BOOL                            m_bNoClamp;
90         int                                     m_nRotation;
91         BOOL                            m_bHiColorTextures;
92         BOOL                            m_bChaseMouse;
93         BOOL                            m_bTextureScrollbar;
94         BOOL                            m_bDisplayLists;
95         BOOL                            m_bNoStipple;
96         int                                     m_nUndoLevels;
97         CString                         m_strMaps;
98         CString                         m_strModels;
99         BOOL                            m_bNewMapFormat;
100         //}}AFX_DATA
101         int                                     m_nMouseButtons;
102         int                                     m_nAngleSpeed;
103         int                                     m_nMoveSpeed;
104         int                                     m_nAutoSave;
105         bool                            m_bCubicClipping;
106         int                                     m_nCubicScale;
107         BOOL                            m_selectOnlyBrushes;
108         BOOL                            m_selectNoModels;
109         BOOL                            m_selectByBoundingBrush;
110         int                                     m_nEntityShowState;
111         int                                     m_nTextureScale;
112         BOOL                            m_bNormalizeColors;
113         BOOL                            m_bSwitchClip;
114         BOOL                            m_bSelectWholeEntities;
115         int                                     m_nTextureQuality;
116         BOOL                            m_bGLLighting;
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__ */