1 // Emacs style mode select -*- C++ -*-
2 //-----------------------------------------------------------------------------
6 // Copyright (C) 1993-1996 by id Software, Inc.
8 // This program is free software; you can redistribute it and/or
9 // modify it under the terms of the GNU General Public License
10 // as published by the Free Software Foundation; either version 2
11 // of the License, or (at your option) any later version.
13 // This program is distributed in the hope that it will be useful,
14 // but WITHOUT ANY WARRANTY; without even the implied warranty of
15 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 // GNU General Public License for more details.
19 // Revision 1.1 2006/03/28 15:44:01 dave
20 // Patch #2969 - Doom! Currently only working on the H300.
24 // Put all global tate variables here.
26 //-----------------------------------------------------------------------------
29 #pragma implementation "doomstat.h"
34 // Game Mode - identify IWAD as shareware, retail etc.
35 GameMode_t gamemode IDATA_ATTR
= indetermined
;
36 GameMission_t gamemission IDATA_ATTR
= doom
;
39 Language_t language
= english
;
41 // Set if homebrew PWAD stuff has been added.
44 //-----------------------------------------------------------------------------
46 // CPhipps - compatibility vars
47 complevel_t compatibility_level
=prboom_3_compatibility
, default_compatibility_level
=prboom_3_compatibility
;
49 int comp
[COMP_TOTAL
] IBSS_ATTR
, default_comp
[COMP_TOTAL
]; // killough 10/98
51 // v1.1-like pitched sounds
52 int pitched_sounds
=0; // killough
54 int default_translucency
; // config file says // phares
55 boolean general_translucency IBSS_ATTR
; // true if translucency is ok // phares
57 int demo_insurance
, default_demo_insurance
; // killough 1/16/98
59 int allow_pushers IDATA_ATTR
= 1; // MT_PUSH Things // phares 3/10/98
60 int default_allow_pushers
; // killough 3/1/98: make local to each game
62 int variable_friction IDATA_ATTR
= 1; // ice & mud // phares 3/10/98
63 int default_variable_friction
; // killough 3/1/98: make local to each game
65 int weapon_recoil IBSS_ATTR
; // weapon recoil // phares
66 int default_weapon_recoil
; // killough 3/1/98: make local to each game
68 int player_bobbing IBSS_ATTR
; // whether player bobs or not // phares 2/25/98
69 int default_player_bobbing
; // killough 3/1/98: make local to each game
71 int monsters_remember IBSS_ATTR
; // killough 3/1/98
72 int default_monsters_remember
;
74 int monster_infighting IDATA_ATTR
=1; // killough 7/19/98: monster<=>monster attacks
75 int default_monster_infighting
=1;
77 int monster_friction IDATA_ATTR
=1; // killough 10/98: monsters affected by friction
78 int default_monster_friction
=1;
81 int dogs
, default_dogs
; // killough 7/19/98: Marine's best friend :)
82 int dog_jumping
, default_dog_jumping
; // killough 10/98
85 // killough 8/8/98: distance friends tend to move towards players
86 int distfriend
= 128, default_distfriend
= 128;
88 // killough 9/8/98: whether monsters are allowed to strafe or retreat
89 int monster_backing IBSS_ATTR
, default_monster_backing
;
91 // killough 9/9/98: whether monsters are able to avoid hazards (e.g. crushers)
92 int monster_avoid_hazards IBSS_ATTR
, default_monster_avoid_hazards
;
94 // killough 9/9/98: whether monsters help friends
95 int help_friends IBSS_ATTR
, default_help_friends
;
97 int flashing_hom
; // killough 10/98
99 int doom_weapon_toggles
; // killough 10/98
101 int monkeys IBSS_ATTR
, default_monkeys
;
103 boolean enable_sound
=1;