2020-06-11 07:22:16 +00:00
|
|
|
//-------------------------------------------------------------------------
|
|
|
|
/*
|
|
|
|
Copyright (C) 2010 EDuke32 developers and contributors
|
|
|
|
|
|
|
|
This file is part of EDuke32.
|
|
|
|
|
|
|
|
EDuke32 is free software; you can redistribute it and/or
|
|
|
|
modify it under the terms of the GNU General Public License version 2
|
|
|
|
as published by the Free Software Foundation.
|
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
|
|
|
|
See the GNU General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
along with this program; if not, write to the Free Software
|
|
|
|
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
|
|
*/
|
|
|
|
//-------------------------------------------------------------------------
|
|
|
|
#include "ns.h" // Must come before everything else!
|
|
|
|
|
|
|
|
#define global_c_
|
|
|
|
#include "global.h"
|
2020-06-21 20:18:12 +00:00
|
|
|
#include "duke3d.h"
|
2020-06-11 07:22:16 +00:00
|
|
|
|
|
|
|
BEGIN_DUKE_NS
|
|
|
|
|
|
|
|
user_defs ud;
|
|
|
|
|
|
|
|
char g_gametypeNames[MAXGAMETYPES][33]
|
|
|
|
= { "DukeMatch (Spawn)", "Cooperative Play", "DukeMatch (No Spawn)", "Team DM (Spawn)", "Team DM (No Spawn)" };
|
|
|
|
|
|
|
|
|
|
|
|
float g_gameUpdateAvgTime = -1.f;
|
|
|
|
|
2020-05-13 10:18:36 +00:00
|
|
|
int32_t respawnactortime = 768;
|
2020-07-06 06:55:56 +00:00
|
|
|
int32_t bouncemineblastradius = 2500;
|
2020-05-13 10:18:36 +00:00
|
|
|
int32_t respawnitemtime = 768;
|
2020-06-11 07:22:16 +00:00
|
|
|
|
|
|
|
int32_t g_morterRadius = 2500;
|
2020-05-13 10:18:36 +00:00
|
|
|
int32_t numfreezebounces = 3;
|
2020-06-11 07:22:16 +00:00
|
|
|
int32_t g_gametypeCnt = 5;
|
|
|
|
int32_t g_volumeCnt = 3;
|
|
|
|
int32_t g_pipebombRadius = 2500;
|
2020-05-13 10:18:36 +00:00
|
|
|
int32_t dukefriction = 0xCFD0;
|
|
|
|
int32_t rpgblastradius = 1780;
|
2020-06-11 07:22:16 +00:00
|
|
|
int32_t g_scriptSize = 1048576;
|
|
|
|
int32_t g_seenineRadius = 2048;
|
|
|
|
int32_t g_shrinkerRadius = 650;
|
|
|
|
int32_t g_spriteGravity = 176;
|
|
|
|
int32_t g_timerTicsPerSecond = TICRATE;
|
|
|
|
int32_t g_tripbombRadius = 3880;
|
|
|
|
|
2020-07-14 19:42:46 +00:00
|
|
|
uint16_t frags[MAXPLAYERS][MAXPLAYERS];
|
2020-07-15 11:10:18 +00:00
|
|
|
input_t sync[MAXPLAYERS];
|
2020-07-14 19:42:46 +00:00
|
|
|
|
2020-05-21 10:20:44 +00:00
|
|
|
int16_t weaponsandammosprites[15];
|
2020-06-11 07:22:16 +00:00
|
|
|
|
2020-06-30 15:30:48 +00:00
|
|
|
TileInfo tileinfo[MAXTILES]; // This is not from EDuke32.
|
|
|
|
|
2020-07-14 19:42:46 +00:00
|
|
|
|
2020-06-11 07:22:16 +00:00
|
|
|
END_DUKE_NS
|