A modern Music Player Daemon based on Rockbox open source high quality audio player
libadwaita audio rust zig deno mpris rockbox mpd
at master 104 lines 3.7 kB view raw
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. 35GameMode_t gamemode IDATA_ATTR= indetermined; 36GameMission_t gamemission IDATA_ATTR = doom; 37 38// Language. 39Language_t language = english; 40 41// Set if homebrew PWAD stuff has been added. 42boolean modifiedgame; 43 44//----------------------------------------------------------------------------- 45 46// CPhipps - compatibility vars 47complevel_t compatibility_level=prboom_3_compatibility, default_compatibility_level=prboom_3_compatibility; 48 49int comp[COMP_TOTAL] IBSS_ATTR, default_comp[COMP_TOTAL]; // killough 10/98 50 51// v1.1-like pitched sounds 52int pitched_sounds=0; // killough 53 54int default_translucency; // config file says // phares 55boolean general_translucency IBSS_ATTR; // true if translucency is ok // phares 56 57int demo_insurance, default_demo_insurance; // killough 1/16/98 58 59int allow_pushers IDATA_ATTR = 1; // MT_PUSH Things // phares 3/10/98 60int default_allow_pushers; // killough 3/1/98: make local to each game 61 62int variable_friction IDATA_ATTR = 1; // ice & mud // phares 3/10/98 63int default_variable_friction; // killough 3/1/98: make local to each game 64 65int weapon_recoil IBSS_ATTR; // weapon recoil // phares 66int default_weapon_recoil; // killough 3/1/98: make local to each game 67 68int player_bobbing IBSS_ATTR; // whether player bobs or not // phares 2/25/98 69int default_player_bobbing; // killough 3/1/98: make local to each game 70 71int monsters_remember IBSS_ATTR; // killough 3/1/98 72int default_monsters_remember; 73 74int monster_infighting IDATA_ATTR=1; // killough 7/19/98: monster<=>monster attacks 75int default_monster_infighting=1; 76 77int monster_friction IDATA_ATTR=1; // killough 10/98: monsters affected by friction 78int default_monster_friction=1; 79 80#ifdef DOGS 81int dogs, default_dogs; // killough 7/19/98: Marine's best friend :) 82int dog_jumping, default_dog_jumping; // killough 10/98 83#endif 84 85// killough 8/8/98: distance friends tend to move towards players 86int distfriend = 128, default_distfriend = 128; 87 88// killough 9/8/98: whether monsters are allowed to strafe or retreat 89int monster_backing IBSS_ATTR, default_monster_backing; 90 91// killough 9/9/98: whether monsters are able to avoid hazards (e.g. crushers) 92int monster_avoid_hazards IBSS_ATTR, default_monster_avoid_hazards; 93 94// killough 9/9/98: whether monsters help friends 95int help_friends IBSS_ATTR, default_help_friends; 96 97int flashing_hom; // killough 10/98 98 99int doom_weapon_toggles; // killough 10/98 100 101int monkeys IBSS_ATTR, default_monkeys; 102 103boolean enable_sound=1; 104boolean rockblock=1;