2006-04-13 20:47:06 +00:00
|
|
|
//-------------------------------------------------------------------------
|
|
|
|
/*
|
2010-05-25 10:56:00 +00:00
|
|
|
Copyright (C) 2010 EDuke32 developers and contributors
|
2006-04-13 20:47:06 +00:00
|
|
|
|
2010-05-25 10:56:00 +00:00
|
|
|
This file is part of EDuke32.
|
2006-04-13 20:47:06 +00:00
|
|
|
|
|
|
|
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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
|
|
*/
|
|
|
|
//-------------------------------------------------------------------------
|
2010-05-25 10:56:00 +00:00
|
|
|
|
2010-08-02 08:13:51 +00:00
|
|
|
#define __global_c__
|
|
|
|
#include "global.h"
|
2006-04-13 20:47:06 +00:00
|
|
|
#include "duke3d.h"
|
2010-08-02 08:13:51 +00:00
|
|
|
|
2012-11-05 03:48:03 +00:00
|
|
|
user_defs ud;
|
|
|
|
|
2012-12-29 10:58:38 +00:00
|
|
|
const char *
|
2012-11-05 02:49:08 +00:00
|
|
|
#include "rev.h"
|
2006-04-13 20:47:06 +00:00
|
|
|
|
2012-12-29 10:58:38 +00:00
|
|
|
const char *s_buildDate = "20120522";
|
2009-06-24 08:20:10 +00:00
|
|
|
|
2012-12-29 10:58:38 +00:00
|
|
|
// JBF: g_spriteGravity modified to default to Atomic ed. default when using 1.3d CONs
|
|
|
|
int32_t g_spriteGravity=176;
|
2006-04-13 20:47:06 +00:00
|
|
|
|
2012-12-29 10:58:38 +00:00
|
|
|
int16_t g_spriteDeleteQueueSize = 64;
|
2006-04-13 20:47:06 +00:00
|
|
|
|
2012-12-29 10:58:38 +00:00
|
|
|
char EpisodeNames[MAXVOLUMES][33] = { "L.A. Meltdown", "Lunar Apocalypse", "Shrapnel City" };
|
|
|
|
char SkillNames[MAXSKILLS][33] = { "Piece Of Cake", "Let's Rock", "Come Get Some", "Damn I'm Good" };
|
2006-04-13 20:47:06 +00:00
|
|
|
|
2012-12-29 10:58:38 +00:00
|
|
|
char GametypeNames[MAXGAMETYPES][33] = { "DukeMatch (Spawn)", "Cooperative Play", "DukeMatch (No Spawn)", "Team DM (Spawn)", "Team DM (No Spawn)" };
|
2006-04-13 20:47:06 +00:00
|
|
|
|
2012-12-29 10:58:38 +00:00
|
|
|
int32_t GametypeFlags[MAXGAMETYPES] =
|
|
|
|
{
|
|
|
|
/*4+*/8+16+1024+2048+16384,
|
|
|
|
1+2+32+64+128+256+512+4096+8192+32768,
|
|
|
|
2+/*4+*/8+16+16384,
|
|
|
|
/*4+*/8+16+1024+2048+16384+65536+131072,
|
|
|
|
2+/*4+*/8+16+16384+65536+131072
|
|
|
|
};
|
|
|
|
char g_numGametypes = 5;
|
2006-04-13 20:47:06 +00:00
|
|
|
|
2012-12-29 10:58:38 +00:00
|
|
|
char g_numVolumes = 3;
|
2006-04-13 20:47:06 +00:00
|
|
|
|
2012-12-29 10:58:38 +00:00
|
|
|
int32_t g_timerTicsPerSecond = TICRATE;
|
2006-04-13 20:47:06 +00:00
|
|
|
|
2012-12-29 10:58:38 +00:00
|
|
|
int32_t g_actorRespawnTime = 768;
|
|
|
|
int32_t g_itemRespawnTime = 768;
|
2006-04-13 20:47:06 +00:00
|
|
|
|
2012-12-29 10:58:38 +00:00
|
|
|
int32_t g_scriptSize = 1048576;
|
2012-11-05 02:49:08 +00:00
|
|
|
|
2012-12-29 10:58:38 +00:00
|
|
|
int16_t BlimpSpawnSprites[15] =
|
|
|
|
{
|
|
|
|
RPGSPRITE__STATIC,
|
|
|
|
CHAINGUNSPRITE__STATIC,
|
|
|
|
DEVISTATORAMMO__STATIC,
|
|
|
|
RPGAMMO__STATIC,
|
|
|
|
RPGAMMO__STATIC,
|
|
|
|
JETPACK__STATIC,
|
|
|
|
SHIELD__STATIC,
|
|
|
|
FIRSTAID__STATIC,
|
|
|
|
STEROIDS__STATIC,
|
|
|
|
RPGAMMO__STATIC,
|
|
|
|
RPGAMMO__STATIC,
|
|
|
|
RPGSPRITE__STATIC,
|
|
|
|
RPGAMMO__STATIC,
|
|
|
|
FREEZESPRITE__STATIC,
|
|
|
|
FREEZEAMMO__STATIC
|
|
|
|
};
|
|
|
|
|
|
|
|
int32_t g_playerFriction = 0xcc00;
|
|
|
|
|
|
|
|
int32_t g_numFreezeBounces = 3;
|
|
|
|
|
|
|
|
int32_t g_lastSaveSlot = -1;
|
|
|
|
|
|
|
|
char CheatKeys[2] = { sc_D, sc_N };
|
|
|
|
|
|
|
|
char setupfilename[BMAX_PATH] = SETUPFILENAME;
|