gzdoom/code/Doomstat.c

49 lines
1.2 KiB
C
Raw Normal View History

1998-04-07 00:00:00 +00:00
// Emacs style mode select -*- C++ -*-
//-----------------------------------------------------------------------------
//
// $Id:$
//
// Copyright (C) 1993-1996 by id Software, Inc.
//
// This source is available for distribution and/or modification
// only under the terms of the DOOM Source Code License as
// published by id Software. All rights reserved.
//
// The source is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// FITNESS FOR A PARTICULAR PURPOSE. See the DOOM Source Code License
// for more details.
//
// $Log:$
//
// DESCRIPTION:
// Put all global state variables here.
//
//-----------------------------------------------------------------------------
#include "doomstat.h"
1998-04-07 00:00:00 +00:00
#include "c_cvars.h"
1998-04-07 00:00:00 +00:00
// Game Mode - identify IWAD as shareware, retail etc.
1998-07-14 00:00:00 +00:00
GameMode_t gamemode = indetermined;
GameMission_t gamemission = doom;
1998-04-07 00:00:00 +00:00
// Language.
1998-07-14 00:00:00 +00:00
Language_t language = english;
1998-04-07 00:00:00 +00:00
// Set if homebrew PWAD stuff has been added.
1998-07-14 00:00:00 +00:00
BOOL modifiedgame;
1998-04-07 00:00:00 +00:00
1998-04-07 00:00:00 +00:00
// Show developer messages if true.
1998-07-14 00:00:00 +00:00
cvar_t *developer;
// True if an old demo is being played back.
BOOL olddemo;
// [RH] Deathmatch flags
cvar_t *dmflagsvar;
int dmflags; // Copy of dmflagsvar->value, but as an integer.