Debian Codegraph @

code/global/BasicDefaults.cpp

raw
1 /*
2 Copyright (C) 2009-2013 wxLauncher Team
3
4 This program is free software; you can redistribute it and/or
5 modify it under the terms of the GNU General Public License
6 as published by the Free Software Foundation; either version 2
7 of the License, or (at your option) any later version.
8
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 General Public License for more details.
13
14 You should have received a copy of the GNU General Public License
15 along with this program; if not, write to the Free Software
16 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17 */
18
19 #include "BasicDefaults.h"
20
21 // internal constants
22 const unsigned int JOYMAN_INVALID_JOYSTICK = 99999;
23
24 // defaults for basic settings
25 const long DEFAULT_VIDEO_RESOLUTION_WIDTH = 1024;
26 const long DEFAULT_VIDEO_RESOLUTION_HEIGHT = 768;
27 const long DEFAULT_VIDEO_BIT_DEPTH = 32;
28 const wxString DEFAULT_VIDEO_TEXTURE_FILTER = _T("Trilinear");
29 const long DEFAULT_VIDEO_ANISOTROPIC = 0;
30 const long DEFAULT_VIDEO_ANTI_ALIAS = 0;
31
32 const wxString DEFAULT_AUDIO_OPENAL_DEVICE = _T("no sound");
33 const wxString DEFAULT_AUDIO_OPENAL_PLAYBACK_DEVICE = wxEmptyString;
34 const wxString DEFAULT_AUDIO_OPENAL_CAPTURE_DEVICE = wxEmptyString;
35 const bool DEFAULT_AUDIO_OPENAL_EFX = false;
36 const long DEFAULT_AUDIO_OPENAL_SAMPLE_RATE = 0;
37
38 const long DEFAULT_SPEECH_VOICE = 0;
39 const long DEFAULT_SPEECH_VOLUME = 100;
40 const bool DEFAULT_SPEECH_IN_TECHROOM = false;
41 const bool DEFAULT_SPEECH_IN_BRIEFINGS = false;
42 const bool DEFAULT_SPEECH_IN_GAME = false;
43 const bool DEFAULT_SPEECH_IN_MULTI = false;
44
45 const long DEFAULT_JOYSTICK_ID = JOYMAN_INVALID_JOYSTICK;
46 const bool DEFAULT_JOYSTICK_FORCE_FEEDBACK = false;
47 const bool DEFAULT_JOYSTICK_DIRECTIONAL = false;
48
49 const wxString DEFAULT_NETWORK_TYPE = _T("None");
50 const wxString DEFAULT_NETWORK_SPEED = _T("None");
51 const long DEFAULT_NETWORK_PORT = 0;
52 const wxString DEFAULT_NETWORK_IP = wxEmptyString;