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 	IDC_SERVER_NAME = 1,
24 	IDC_PUBLISH,
25 	IDC_USEPNP,
26 	IDC_PUBLISHIP,
27 	IDC_BUTTON_SETTINGS,
28 	IDC_PUBLISHAUTO
29 };
30 
31 static wxComboBox *IDC_SERVER_MOD_CTRL = 0;
32 static wxTextCtrl *IDC_SERVER_NAME_CTRL = 0;
33 static wxTextCtrl *IDC_SERVER_PORT_CTRL = 0;
34 static wxTextCtrl *IDC_SERVERMANAGEMENT_PORT_CTRL = 0;
35 static wxCheckBox *IDC_PUBLISH_CTRL = 0;
36 static wxCheckBox *IDC_USEUPNP_CTRL = 0;
37 static wxCheckBox *IDC_ALLOWSAME_CTRL = 0;
38 static wxCheckBox *IDC_ALLOWSAMEID_CTRL = 0;
39 static wxCheckBox *IDC_LOGTOFILE_CTRL = 0;
40 static wxTextCtrl *IDC_PUBLISHIP_CTRL = 0;
41 static wxButton *IDOK_PUBLISHAUTO_CTRL = 0;
42 static wxButton *IDOK_CTRL = 0;
43 static wxButton *IDC_BUTTON_SETTINGS_CTRL = 0;
44 static wxButton *IDCANCEL_CTRL = 0;
45 static wxStaticText *IDC_PUBLISHIP_CTRL_TEXT = 0;
46