diff options
Diffstat (limited to 'apps/plugins/doom/doomstat.c')
-rw-r--r-- | apps/plugins/doom/doomstat.c | 104 |
1 files changed, 104 insertions, 0 deletions
diff --git a/apps/plugins/doom/doomstat.c b/apps/plugins/doom/doomstat.c new file mode 100644 index 0000000000..75cc209919 --- /dev/null +++ b/apps/plugins/doom/doomstat.c | |||
@@ -0,0 +1,104 @@ | |||
1 | // Emacs style mode select -*- C++ -*- | ||
2 | //----------------------------------------------------------------------------- | ||
3 | // | ||
4 | // $Id$ | ||
5 | // | ||
6 | // Copyright (C) 1993-1996 by id Software, Inc. | ||
7 | // | ||
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. | ||
12 | // | ||
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. | ||
17 | // | ||
18 | // $Log$ | ||
19 | // Revision 1.1 2006/03/28 15:44:01 dave | ||
20 | // Patch #2969 - Doom! Currently only working on the H300. | ||
21 | // | ||
22 | // | ||
23 | // DESCRIPTION: | ||
24 | // Put all global tate variables here. | ||
25 | // | ||
26 | //----------------------------------------------------------------------------- | ||
27 | |||
28 | #ifdef __GNUG__ | ||
29 | #pragma implementation "doomstat.h" | ||
30 | #endif | ||
31 | #include "doomstat.h" | ||
32 | |||
33 | |||
34 | // Game Mode - identify IWAD as shareware, retail etc. | ||
35 | GameMode_t gamemode IDATA_ATTR= indetermined; | ||
36 | GameMission_t gamemission IDATA_ATTR = doom; | ||
37 | |||
38 | // Language. | ||
39 | Language_t language = english; | ||
40 | |||
41 | // Set if homebrew PWAD stuff has been added. | ||
42 | boolean modifiedgame; | ||
43 | |||
44 | //----------------------------------------------------------------------------- | ||
45 | |||
46 | // CPhipps - compatibility vars | ||
47 | complevel_t compatibility_level=prboom_3_compatibility, default_compatibility_level=prboom_3_compatibility; | ||
48 | |||
49 | int comp[COMP_TOTAL] IBSS_ATTR, default_comp[COMP_TOTAL]; // killough 10/98 | ||
50 | |||
51 | // v1.1-like pitched sounds | ||
52 | int pitched_sounds=0; // killough | ||
53 | |||
54 | int default_translucency; // config file says // phares | ||
55 | boolean general_translucency IBSS_ATTR; // true if translucency is ok // phares | ||
56 | |||
57 | int demo_insurance, default_demo_insurance; // killough 1/16/98 | ||
58 | |||
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 | ||
61 | |||
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 | ||
64 | |||
65 | int weapon_recoil IBSS_ATTR; // weapon recoil // phares | ||
66 | int default_weapon_recoil; // killough 3/1/98: make local to each game | ||
67 | |||
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 | ||
70 | |||
71 | int monsters_remember IBSS_ATTR; // killough 3/1/98 | ||
72 | int default_monsters_remember; | ||
73 | |||
74 | int monster_infighting IDATA_ATTR=1; // killough 7/19/98: monster<=>monster attacks | ||
75 | int default_monster_infighting=1; | ||
76 | |||
77 | int monster_friction IDATA_ATTR=1; // killough 10/98: monsters affected by friction | ||
78 | int default_monster_friction=1; | ||
79 | |||
80 | #ifdef DOGS | ||
81 | int dogs, default_dogs; // killough 7/19/98: Marine's best friend :) | ||
82 | int dog_jumping, default_dog_jumping; // killough 10/98 | ||
83 | #endif | ||
84 | |||
85 | // killough 8/8/98: distance friends tend to move towards players | ||
86 | int distfriend = 128, default_distfriend = 128; | ||
87 | |||
88 | // killough 9/8/98: whether monsters are allowed to strafe or retreat | ||
89 | int monster_backing IBSS_ATTR, default_monster_backing; | ||
90 | |||
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; | ||
93 | |||
94 | // killough 9/9/98: whether monsters help friends | ||
95 | int help_friends IBSS_ATTR, default_help_friends; | ||
96 | |||
97 | int flashing_hom; // killough 10/98 | ||
98 | |||
99 | int doom_weapon_toggles; // killough 10/98 | ||
100 | |||
101 | int monkeys IBSS_ATTR, default_monkeys; | ||
102 | |||
103 | boolean nosfxparm=0; | ||
104 | boolean rockblock=1; | ||