Main Page | Class Hierarchy | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

PrefsDlg.h

Go to the documentation of this file.
00001 /*
00002 ===========================================================================
00003 Copyright (C) 1999-2005 Id Software, Inc.
00004 
00005 This file is part of Quake III Arena source code.
00006 
00007 Quake III Arena source code is free software; you can redistribute it
00008 and/or modify it under the terms of the GNU General Public License as
00009 published by the Free Software Foundation; either version 2 of the License,
00010 or (at your option) any later version.
00011 
00012 Quake III Arena source code is distributed in the hope that it will be
00013 useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
00014 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015 GNU General Public License for more details.
00016 
00017 You should have received a copy of the GNU General Public License
00018 along with Foobar; if not, write to the Free Software
00019 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
00020 ===========================================================================
00021 */
00022 #if !defined(AFX_PREFSDLG_H__DC829122_812D_11D1_B548_00AA00A410FC__INCLUDED_)
00023 #define AFX_PREFSDLG_H__DC829122_812D_11D1_B548_00AA00A410FC__INCLUDED_
00024 
00025 #if _MSC_VER >= 1000
00026 #pragma once
00027 #endif // _MSC_VER >= 1000
00028 // PrefsDlg.h : header file
00029 //
00030 
00031 #include "resource.h"
00032 
00034 // CPrefsDlg dialog
00035 
00036 #define MAX_TEXTURE_QUALITY 3
00037 
00038 class CPrefsDlg : public CDialog
00039 {
00040 // Construction
00041 public:
00042   // these mirror what goes in the combo box
00043   enum {SHADER_NONE = 0, SHADER_COMMON, SHADER_ALL};
00044     void LoadPrefs();
00045     void SavePrefs();
00046   void SetGamePrefs();
00047     CPrefsDlg(CWnd* pParent = NULL);   // standard constructor
00048 
00049 // Dialog Data
00050     //{{AFX_DATA(CPrefsDlg)
00051     enum { IDD = IDD_DLG_PREFS };
00052     CSpinButtonCtrl m_wndUndoSpin;
00053     CSpinButtonCtrl m_wndFontSpin;
00054     CSliderCtrl m_wndTexturequality;
00055     CComboBox   m_wndWhatGame;
00056     CSliderCtrl m_wndCamSpeed;
00057     CSpinButtonCtrl m_wndSpin;
00058     CString m_strQuake2;
00059     int     m_nMouse;
00060     int     m_nView;
00061   BOOL   m_bTextureLock;
00062     BOOL    m_bLoadLast;
00063     BOOL    m_bRunBefore;
00064     CString m_strLastProject;
00065     CString m_strLastMap;
00066     BOOL    m_bFace;
00067     BOOL    m_bInternalBSP;
00068     BOOL    m_bRightClick;
00069     BOOL    m_bRunQuake;
00070     BOOL    m_bSetGame;
00071     BOOL    m_bVertex;
00072     BOOL    m_bAutoSave;
00073   BOOL  m_bNewApplyHandling;
00074     CString m_strAutoSave;
00075     BOOL    m_bPAK;
00076     BOOL    m_bLoadLastMap;
00077     BOOL    m_bGatewayHack;
00078     BOOL    m_bTextureWindow;
00079     BOOL    m_bSnapShots;
00080   float m_fTinySize;
00081   BOOL  m_bCleanTiny;
00082     CString m_strPAKFile;
00083     int     m_nStatusSize;
00084     BOOL    m_bCamXYUpdate;
00085     BOOL    m_bNewLightDraw;
00086     CString m_strPrefabPath;
00087     int     m_nWhatGame;
00088     CString m_strWhatGame;
00089     BOOL    m_bALTEdge;
00090     BOOL    m_bTextureBar;
00091     BOOL    m_bFaceColors;
00092     BOOL    m_bQE4Painting;
00093     BOOL    m_bSnapTToGrid;
00094     BOOL    m_bXZVis;
00095     BOOL    m_bYZVis;
00096     BOOL    m_bZVis;
00097     BOOL    m_bSizePaint;
00098     BOOL    m_bDLLEntities;
00099   BOOL  m_bRotateLock;
00100     BOOL    m_bWideToolbar;
00101     BOOL    m_bNoClamp;
00102     CString m_strUserPath;
00103     int     m_nRotation;
00104     BOOL    m_bSGIOpenGL;
00105     BOOL    m_bBuggyICD;
00106     BOOL    m_bHiColorTextures;
00107     BOOL    m_bChaseMouse;
00108     BOOL    m_bTextureScrollbar;
00109     BOOL    m_bDisplayLists;
00110     BOOL    m_bShowShaders;
00111     int     m_nShader;
00112     BOOL    m_bNoStipple;
00113     int     m_nUndoLevels;
00114     //}}AFX_DATA
00115     int m_nMouseButtons;
00116   int m_nAngleSpeed;
00117   int m_nMoveSpeed;
00118   int m_nAutoSave;
00119   bool m_bCubicClipping;
00120   int m_nCubicScale;
00121   BOOL  m_bSelectCurves;
00122   BOOL  m_bSelectTerrain;
00123   int m_nEntityShowState;
00124   int m_nTextureScale;
00125   BOOL m_bNormalizeColors;
00126   BOOL m_bSwitchClip;
00127   BOOL m_bSelectWholeEntities;
00128   int m_nTextureQuality;
00129     BOOL    m_bGLLighting;
00130 
00131     // brush primitive mode
00132     //++timo moved into g_qeglobals
00133 //  BOOL m_bBrushPrimitMode;
00134 
00135 // Overrides
00136     // ClassWizard generated virtual function overrides
00137     //{{AFX_VIRTUAL(CPrefsDlg)
00138     protected:
00139     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
00140     //}}AFX_VIRTUAL
00141 
00142 // Implementation
00143 protected:
00144 
00145     // Generated message map functions
00146     //{{AFX_MSG(CPrefsDlg)
00147     afx_msg void OnBtnBrowse();
00148     virtual BOOL OnInitDialog();
00149     virtual void OnOK();
00150     afx_msg void OnBtnBrowsepak();
00151     afx_msg void OnBtnBrowseprefab();
00152     afx_msg void OnBtnBrowseuserini();
00153     afx_msg void OnSelchangeComboWhatgame();
00154     //}}AFX_MSG
00155     DECLARE_MESSAGE_MAP()
00156 };
00157 
00158 //{{AFX_INSERT_LOCATION}}
00159 // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
00160 
00161 #endif // !defined(AFX_PREFSDLG_H__DC829122_812D_11D1_B548_00AA00A410FC__INCLUDED_)

Generated on Thu Aug 25 12:38:37 2005 for Quake III Arena by  doxygen 1.3.9.1