123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286 |
- #ifndef __D_STATE__
- #define __D_STATE__
- #include "doomdata.h"
- #include "d_net.h"
- #include "d_player.h"
- #ifdef __GNUG__
- #pragma interface
- #endif
- extern qboolean nomonsters;
- extern qboolean respawnparm;
- extern qboolean fastparm;
- extern qboolean devparm;
- extern GameMode_t gamemode;
- extern int gamemission;
- extern qboolean modifiedgame;
- extern Language_t language;
- extern skill_t startskill;
- extern int startepisode;
- extern int startmap;
- extern qboolean autostart;
- extern skill_t gameskill;
- extern int gameepisode;
- extern int gamemap;
- extern qboolean respawnmonsters;
- extern qboolean netgame;
- extern qboolean deathmatch;
-
- extern int snd_MusicDevice;
- extern int snd_SfxDevice;
- extern int snd_DesiredMusicDevice;
- extern int snd_DesiredSfxDevice;
- extern qboolean statusbaractive;
- extern qboolean automapactive;
- extern qboolean menuactive;
- extern qboolean paused;
- extern qboolean viewactive;
- extern qboolean nodrawers;
- extern qboolean noblit;
- extern int viewwindowx;
- extern int viewwindowy;
- extern int viewheight;
- extern int viewwidth;
- extern int scaledviewwidth;
- extern int viewangleoffset;
- extern int consoleplayer;
- extern int displayplayer;
- extern int totalkills;
- extern int totalitems;
- extern int totalsecret;
- extern int levelstarttic;
- extern int leveltime;
- extern qboolean usergame;
- extern qboolean demoplayback;
- extern qboolean singledemo;
- extern gamestate_t gamestate;
- extern int gametic;
- extern player_t players[MAXPLAYERS];
- extern qboolean playeringame[MAXPLAYERS];
- #define MAX_DM_STARTS 10
- extern mapthing_t deathmatchstarts[MAX_DM_STARTS];
- extern mapthing_t* deathmatch_p;
- extern mapthing_t playerstarts[MAXPLAYERS];
- extern wbstartstruct_t wminfo;
- const extern int maxammo[NUMAMMO];
- extern char basedefault[1024];
- extern FILE* debugfile;
- extern qboolean precache;
- extern gamestate_t wipegamestate;
- extern int mouseSensitivity;
- extern qboolean singletics;
- extern int bodyqueslot;
- extern int skyflatnum;
- extern doomcom_t doomcom;
- extern doomdata_t* netbuffer;
- extern ticcmd_t localcmds[BACKUPTICS];
- extern int rndindex;
- extern int maketic;
- extern int nettics[MAXNETNODES];
- extern ticcmd_t netcmds[MAXPLAYERS][BACKUPTICS];
- extern int ticdup;
- #endif
|