doom

a minimalistic implementation of doom
git clone git://ssnf.xyz/doom
Log | Files | Refs

doomstat.h (2780B)


      1 #ifndef __D_STATE__
      2 #define __D_STATE__
      3 
      4 #include "doomdata.h"
      5 #include "d_net.h"
      6 #include "d_player.h"
      7 
      8 #define MAX_DM_STARTS  10
      9 
     10 extern FILE*           debugfile;
     11 extern doomcom_t*      doomcom;
     12 extern doomdata_t*     netbuffer;	
     13 extern boolean         nomonsters;	
     14 extern boolean         respawnparm;	
     15 extern boolean         fastparm;	
     16 extern boolean         devparm;	
     17 extern boolean         modifiedgame;
     18 extern boolean         autostart;
     19 extern boolean         respawnmonsters;
     20 extern boolean         netgame;
     21 extern boolean         deathmatch;	
     22 extern boolean         statusbaractive;
     23 extern boolean         automapactive;	
     24 extern boolean         menuactive;	
     25 extern boolean         paused;         
     26 extern boolean         viewactive;
     27 extern boolean         nodrawers;
     28 extern boolean         noblit;
     29 extern boolean         usergame;
     30 extern boolean         demoplayback;
     31 extern boolean         demorecording;
     32 extern boolean         singledemo;	
     33 extern boolean         playeringame[MAXPLAYERS];
     34 extern boolean         precache;
     35 extern boolean         singletics;	
     36 extern int             startepisode;
     37 extern int             startmap;
     38 extern int             gameepisode;
     39 extern int             gamemap;
     40 extern int             snd_SfxVolume;      
     41 extern int             snd_MusicVolume;    
     42 extern int             snd_MusicDevice;
     43 extern int             snd_SfxDevice;
     44 extern int             snd_DesiredMusicDevice;
     45 extern int             snd_DesiredSfxDevice;
     46 extern int             viewwindowx;
     47 extern int             viewwindowy;
     48 extern int             viewheight;
     49 extern int             viewwidth;
     50 extern int             scaledviewwidth;
     51 extern int             viewangleoffset;
     52 extern int             consoleplayer;	
     53 extern int             displayplayer;
     54 extern int             totalkills;
     55 extern int             totalitems;
     56 extern int             totalsecret;
     57 extern int             levelstarttic;	
     58 extern int             leveltime;	
     59 extern int             gametic;
     60 extern int             maxammo[NUMAMMO];
     61 extern int             mouseSensitivity;
     62 extern int             bodyqueslot;
     63 extern int             skyflatnum;
     64 extern int             rndindex;
     65 extern int             maketic;
     66 extern int             nettics[MAXNETNODES];
     67 extern int             ticdup;
     68 extern mapthing_t*     deathmatch_p;
     69 extern mapthing_t      deathmatchstarts[MAX_DM_STARTS];
     70 extern mapthing_t      playerstarts[MAXPLAYERS];
     71 extern skill_t         startskill;
     72 extern skill_t         gameskill;
     73 extern ticcmd_t        localcmds[BACKUPTICS];
     74 extern ticcmd_t        netcmds[MAXPLAYERS][BACKUPTICS];
     75 extern gamestate_t     gamestate;
     76 extern gamestate_t     wipegamestate;
     77 extern player_t        players[MAXPLAYERS];
     78 extern wbstartstruct_t wminfo;	
     79 extern char            basedefault[1024];
     80 
     81 #endif