Subversion Repositories eduke32

Rev

Rev 3337 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
5 Plagman 1
//-------------------------------------------------------------------------
2
/*
1652 terminx 3
Copyright (C) 2010 EDuke32 developers and contributors
5 Plagman 4
 
1652 terminx 5
This file is part of EDuke32.
5 Plagman 6
 
7
EDuke32 is free software; you can redistribute it and/or
8
modify it under the terms of the GNU General Public License version 2
9
as published by the Free Software Foundation.
10
 
11
This program is distributed in the hope that it will be useful,
12
but WITHOUT ANY WARRANTY; without even the implied warranty of
13
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14
 
15
See the GNU General Public License for more details.
16
 
17
You should have received a copy of the GNU General Public License
18
along with this program; if not, write to the Free Software
19
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
20
*/
21
//-------------------------------------------------------------------------
1652 terminx 22
 
1677 terminx 23
#define __global_c__
24
#include "global.h"
5 Plagman 25
#include "duke3d.h"
26
 
3118 hendricks2 27
user_defs ud;
28
 
3337 hendricks2 29
const char *
3116 hendricks2 30
    #include "rev.h"
5 Plagman 31
 
3337 hendricks2 32
const char *s_buildDate = "20120522";
5 Plagman 33
 
3337 hendricks2 34
// JBF: g_spriteGravity modified to default to Atomic ed. default when using 1.3d CONs
35
int32_t g_spriteGravity=176;
193 terminx 36
 
3337 hendricks2 37
int16_t g_spriteDeleteQueueSize = 64;
5 Plagman 38
 
3337 hendricks2 39
char EpisodeNames[MAXVOLUMES][33] = { "L.A. Meltdown", "Lunar Apocalypse", "Shrapnel City" };
40
char SkillNames[MAXSKILLS][33] = { "Piece Of Cake", "Let's Rock", "Come Get Some", "Damn I'm Good" };
5 Plagman 41
 
3337 hendricks2 42
char GametypeNames[MAXGAMETYPES][33] = { "DukeMatch (Spawn)", "Cooperative Play", "DukeMatch (No Spawn)", "Team DM (Spawn)", "Team DM (No Spawn)" };
1440 terminx 43
 
3337 hendricks2 44
int32_t GametypeFlags[MAXGAMETYPES] =
45
{
46
    /*4+*/8+16+1024+2048+16384,
47
    1+2+32+64+128+256+512+4096+8192+32768,
48
    2+/*4+*/8+16+16384,
49
    /*4+*/8+16+1024+2048+16384+65536+131072,
50
    2+/*4+*/8+16+16384+65536+131072
51
};
52
char g_numGametypes = 5;
5 Plagman 53
 
3337 hendricks2 54
char g_numVolumes = 3;
5 Plagman 55
 
3337 hendricks2 56
int32_t g_timerTicsPerSecond = TICRATE;
5 Plagman 57
 
3337 hendricks2 58
int32_t g_actorRespawnTime = 768;
59
int32_t g_itemRespawnTime = 768;
3803 terminx 60
int32_t g_rpgBlastRadius = 1780;
61
int32_t g_pipebombBlastRadius = 2500;
62
int32_t g_shrinkerBlastRadius = 650;
63
int32_t g_tripbombBlastRadius = 3880;
64
int32_t g_morterBlastRadius = 2500;
65
int32_t g_bouncemineBlastRadius = 2500;
66
int32_t g_seenineBlastRadius = 2048;
5 Plagman 67
 
3337 hendricks2 68
int32_t g_scriptSize = 1048576;
5 Plagman 69
 
3337 hendricks2 70
int16_t BlimpSpawnSprites[15] =
71
{
72
    RPGSPRITE__STATIC,
73
    CHAINGUNSPRITE__STATIC,
74
    DEVISTATORAMMO__STATIC,
75
    RPGAMMO__STATIC,
76
    RPGAMMO__STATIC,
77
    JETPACK__STATIC,
78
    SHIELD__STATIC,
79
    FIRSTAID__STATIC,
80
    STEROIDS__STATIC,
81
    RPGAMMO__STATIC,
82
    RPGAMMO__STATIC,
83
    RPGSPRITE__STATIC,
84
    RPGAMMO__STATIC,
85
    FREEZESPRITE__STATIC,
86
    FREEZEAMMO__STATIC
87
};
5 Plagman 88
 
3803 terminx 89
int32_t g_playerFriction = 0xCFD0;
567 terminx 90
 
3337 hendricks2 91
int32_t g_numFreezeBounces = 3;
5 Plagman 92
 
3337 hendricks2 93
int32_t g_lastSaveSlot = -1;
5 Plagman 94
 
3337 hendricks2 95
char CheatKeys[2] = { sc_D, sc_N };
5 Plagman 96
 
3337 hendricks2 97
char setupfilename[BMAX_PATH] = SETUPFILENAME;