1 // Ryzom - MMORPG Framework <http://dev.ryzom.com/projects/ryzom/>
2 // Copyright (C) 2010 Winch Gate Property Limited
4 // This program is free software: you can redistribute it and/or modify
5 // it under the terms of the GNU Affero General Public License as
6 // published by the Free Software Foundation, either version 3 of the
7 // License, or (at your option) any later version.
9 // This program is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU Affero General Public License for more details.
14 // You should have received a copy of the GNU Affero General Public License
15 // along with this program. If not, see <http://www.gnu.org/licenses/>.
17 // display_advanced_dlg.cpp : implementation file
21 #include "client_config.h"
22 #include "display_advanced_dlg.h"
25 // ***************************************************************************
26 // CDisplayAdvancedDlg dialog
27 // ***************************************************************************
29 CDisplayAdvancedDlg::CDisplayAdvancedDlg(CWnd
* pParent
/*=NULL*/)
30 : CBaseDialog(CDisplayAdvancedDlg::IDD
, pParent
)
32 //{{AFX_DATA_INIT(CDisplayAdvancedDlg)
33 DisableAGPVertices
= FALSE
;
34 DisableTextureShaders
= FALSE
;
35 DisableVertexProgram
= FALSE
;
40 // ***************************************************************************
42 void CDisplayAdvancedDlg::DoDataExchange(CDataExchange
* pDX
)
44 CDialog::DoDataExchange(pDX
);
45 //{{AFX_DATA_MAP(CDisplayAdvancedDlg)
46 DDX_Check(pDX
, IDC_DISABLE_AGP_VERTICES
, DisableAGPVertices
);
47 DDX_Check(pDX
, IDC_DISABLE_TEXTURE_SHADERS
, DisableTextureShaders
);
48 DDX_Check(pDX
, IDC_DISABLE_VERTEX_PROGRAM
, DisableVertexProgram
);
49 DDX_Check(pDX
, IDC_FORCE_DXTC
, DisableDXTC
);
53 // ***************************************************************************
55 BEGIN_MESSAGE_MAP(CDisplayAdvancedDlg
, CDialog
)
56 //{{AFX_MSG_MAP(CDisplayAdvancedDlg)
57 ON_BN_CLICKED(IDC_DISABLE_AGP_VERTICES
, OnDisableAgpVertices
)
58 ON_BN_CLICKED(IDC_DISABLE_TEXTURE_SHADERS
, OnDisableTextureShaders
)
59 ON_BN_CLICKED(IDC_DISABLE_VERTEX_PROGRAM
, OnDisableVertexProgram
)
60 ON_BN_CLICKED(IDC_FORCE_DXTC
, OnForceDxtc
)
64 // ***************************************************************************
65 // CDisplayAdvancedDlg message handlers
66 // ***************************************************************************
68 void CDisplayAdvancedDlg::OnDisableAgpVertices()
73 // ***************************************************************************
75 void CDisplayAdvancedDlg::OnDisableTextureShaders()
80 // ***************************************************************************
82 void CDisplayAdvancedDlg::OnDisableVertexProgram()
87 // ***************************************************************************
89 void CDisplayAdvancedDlg::OnForceDxtc()
94 // ***************************************************************************