1 ////////////////////////////////////////////////////////////////////////////////
2 //    Scorched3D (c) 2000-2003
3 //
4 //    This file is part of Scorched3D.
5 //
6 //    Scorched3D is free software; you can redistribute it and/or modify
7 //    it under the terms of the GNU General Public License as published by
8 //    the Free Software Foundation; either version 2 of the License, or
9 //    (at your option) any later version.
10 //
11 //    Scorched3D is distributed in the hope that it will be useful,
12 //    but WITHOUT ANY WARRANTY; without even the implied warranty of
13 //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 //    GNU General Public License for more details.
15 //
16 //    You should have received a copy of the GNU General Public License
17 //    along with Scorched3D; if not, write to the Free Software
18 //    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
19 ////////////////////////////////////////////////////////////////////////////////
20 
21 enum
22 {
23 	ID_LOADDEFAULTS = 60,
24 	ID_LOADULTRA,
25 	ID_LOADFASTEST,
26 	ID_LOADSAFE,
27 	ID_LOADMEDIUM,
28 	ID_MORERES,
29 	ID_KEYDEFAULTS,
30 	ID_IMPORT,
31 	ID_EXPORT,
32 	ID_NOTEBOOK,
33 	ID_PANEL_IDENT,
34 	ID_KEY = 200
35 };
36 
37 static wxCheckBox *IDC_NOENVCOMBINE_CTRL = 0;
38 static wxCheckBox *IDC_NOOBJECTSHADOWS_CTRL = 0;
39 static wxCheckBox *IDC_NOSHADOWS_CTRL = 0;
40 static wxCheckBox *IDC_NOSHADERS_CTRL = 0;
41 static wxCheckBox *IDC_SIMPLEWATERSHADERS_CTRL = 0;
42 static wxCheckBox *IDC_NOCUBEMAP_CTRL = 0;
43 static wxCheckBox *IDC_NOSPHEREMAP_CTRL = 0;
44 static wxCheckBox *IDC_NOMIPMAPS_CTRL = 0;
45 static wxCheckBox *IDC_NOEXT_CTRL = 0;
46 static wxCheckBox *IDC_NOPARTICLEREFLECTIONS_CTRL = 0;
47 static wxCheckBox *IDC_NOOBJECTREFLECTIONS_CTRL = 0;
48 static wxCheckBox *IDC_NOSOUND_CTRL = 0;
49 static wxCheckBox *IDC_NOMUSIC_CTRL = 0;
50 static wxComboBox *IDC_SOUNDCHANNELS_CTRL = 0;
51 static wxCheckBox *IDC_NOWATER_CTRL = 0;
52 static wxCheckBox *IDC_NOWATERREF_CTRL = 0;
53 static wxCheckBox *IDC_NOSURROUND_CTRL = 0;
54 static wxCheckBox *IDC_NOVBO_CTRL = 0;
55 static wxCheckBox *IDC_NOPRECIPITATION_CTRL = 0;
56 static wxCheckBox *IDC_NOMULTITEX_CTRL = 0;
57 static wxCheckBox *IDC_INVERT_CTRL = 0;
58 static wxCheckBox *IDC_TIMER_CTRL = 0;
59 static wxCheckBox *IDC_NODETAILTEX_CTRL = 0;
60 static wxCheckBox *IDC_NOLANDSCAPESCORCH_CTRL = 0;
61 static wxCheckBox *IDC_NODEPTHSORT_CTRL = 0;
62 static wxCheckBox *IDC_NOBACKDROP_CTRL = 0;
63 static wxCheckBox *IDC_VALIDATESERVER_CTRL = 0;
64 static wxRadioButton *IDC_SMALLTEX_CTRL = 0;
65 static wxRadioButton *IDC_MEDIUMTEX_CTRL = 0;
66 static wxRadioButton *IDC_LARGETEX_CTRL = 0;
67 static wxRadioButton *IDC_LOWTANK_CTRL = 0;
68 static wxRadioButton *IDC_MEDIUMTANK_CTRL = 0;
69 static wxRadioButton *IDC_HIGHTANK_CTRL = 0;
70 static wxRadioButton *IDC_LOWEFFECTS_CTRL = 0;
71 static wxRadioButton *IDC_MEDIUMEFFECTS_CTRL = 0;
72 static wxRadioButton *IDC_HIGHEFFECTS_CTRL = 0;
73 static wxRadioButton *IDC_TINYDIALOGS_CTRL = 0;
74 static wxRadioButton *IDC_SMALLDIALOGS_CTRL = 0;
75 static wxRadioButton *IDC_MEDIUMDIALOGS_CTRL = 0;
76 static wxRadioButton *IDC_LARGEDIALOGS_CTRL = 0;
77 static wxCheckBox *IDC_NOSKINS_CTRL = 0;
78 static wxCheckBox *IDC_NODYNAMICLIGHT_CTRL = 0;
79 static wxCheckBox *IDC_FULLSCREEN_CTRL = 0;
80 static wxCheckBox *IDC_MORERES_CTRL = 0;
81 static wxCheckBox *IDC_LOGGING_CTRL = 0;
82 static wxComboBox *IDC_DISPLAY_CTRL = 0;
83 static wxComboBox *IDC_ANTIALIAS_CTRL = 0;
84 static wxCheckBox *IDC_FOCUSPAUSE_CTRL = 0;
85 static wxTextCtrl *IDC_FRAMELIMIT_CTRL = 0;
86 static wxCheckBox *IDC_SIDESCROLL_CTRL = 0;
87 static wxCheckBox *IDC_PLAYERCAMERA_CTRL = 0;
88 static wxSlider *IDC_SLIDER1_CTRL = 0;
89 static wxSlider *IDC_VOLUME_CTRL = 0;
90 static wxSlider *IDC_AMBIENTVOLUME_CTRL = 0;
91 static wxSlider *IDC_MUSICVOLUME_CTRL = 0;
92 static wxSlider *IDC_LANDLOD_CTRL = 0;
93 static wxCheckBox *IDC_SINGLESKYLAYER_CTRL = 0;
94 static wxCheckBox *IDC_NOSKYANI_CTRL = 0;
95 static wxCheckBox *IDC_NOWATERMOVEMENT_CTRL = 0;
96 static wxCheckBox *IDC_NOWATERWAVES_CTRL = 0;
97 static wxCheckBox *IDC_NOWATERLOD_CTRL = 0;
98 static wxCheckBox *IDC_INVERTMOUSE_CTRL = 0;
99 static wxCheckBox *IDC_SMOUSE_CTRL = 0;
100 static wxTextCtrl *IDC_USERNAME_CTRL = 0;
101 static wxTextCtrl *IDC_TANKMODEL_CTRL = 0;
102 static wxGrid *IDC_USERID_CTRL = 0;
103 static wxTextCtrl *IDC_HOSTDESC_CTRL = 0;
104 
105 static wxButton *IDC_LOADULTRA_CTRL = 0;
106 static wxButton *IDC_LOADDEFAULTS_CTRL = 0;
107 static wxButton *IDC_LOADKEYDEFAULTS_CTRL = 0;
108 static wxButton *IDC_LOADSAFE_CTRL = 0;
109 static wxButton *IDC_LOADFASTEST_CTRL = 0;
110 static wxButton *IDC_LOADMEDIUM_CTRL = 0;
111 
112 static wxButton *IDOK_CTRL = 0;
113 static wxButton *IDCANCEL_CTRL = 0;
114