1 //-------------------------------------------------------------------------
2 /*
3 Copyright (C) 1997, 2005 - 3D Realms Entertainment
4 
5 This file is part of Shadow Warrior version 1.2
6 
7 Shadow Warrior is free software; you can redistribute it and/or
8 modify it under the terms of the GNU General Public License
9 as published by the Free Software Foundation; either version 2
10 of the License, or (at your option) any later version.
11 
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 
16 See the GNU General Public License for more details.
17 
18 You should have received a copy of the GNU General Public License
19 along with this program; if not, write to the Free Software
20 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
21 
22 Original Source: 1997 - Frank Maddin and Jim Norwood
23 Prepared for public release: 03/28/2005 - Charlie Wiederhold, 3D Realms
24 */
25 //-------------------------------------------------------------------------
26 #include "mytypes.h"
27 #include "gamedefs.h"
28 // Only ad to the end. These currently have to be in this order because of the
29 // way they are initilized.
30 
31 typedef struct
32 {
33 int MouseSpeed;
34 int MusicVolume;
35 int SoundVolume;
36 CHAR BorderNum;
37 CHAR Brightness;
38 CHAR BorderTile;
39 BOOL MouseAimingType;
40 BOOL MouseLook;
41 BOOL MouseInvert;
42 BOOL Bobbing;
43 BOOL Tilting;
44 BOOL Shadows;
45 BOOL AutoRun;
46 BOOL Crosshair;
47 BOOL AutoAim;
48 BOOL Messages;
49 BOOL FxOn;
50 BOOL MusicOn;
51 BOOL Talking;
52 BOOL Ambient;
53 BOOL FlipStereo;
54 // Net Options from Menus
55 BYTE NetGameType;   // 0=DeathMatch [spawn], 1=Cooperative 2=DeathMatch [no spawn]
56 BYTE NetLevel;      // 1-28
57 BYTE NetMonsters;   // Cycle skill levels
58 BOOL NetHurtTeammate;  // Allow friendly kills
59 BOOL NetSpawnMarkers;    // Respawn markers on/off
60 BOOL NetTeamPlay;   // Team play
61 BYTE NetKillLimit;  // Number of frags at which game ends
62 BYTE NetTimeLimit;  // Limit time of game
63 BYTE NetColor;      // Chosen color for player
64 BYTE ParentalLock;  // Parental Lock on/off
65 char Password[20];  // Parental Lock password
66 BOOL NetNuke;
67 BOOL Voxels;
68 BOOL Stats;
69 BOOL MouseAimingOn; // whether it was on or off - NOT the type of mouse aiming
70 BOOL PlayCD;
71 char OggTrackName[MAXOGGTRACKLENGTH];
72 int PanelScale;
73 }GAME_SET, *GAME_SETp;
74 
75 extern const GAME_SET gs_defaults;
76 extern GAME_SET gs;
77 
78