XenevaOS
Loading...
Searching...
No Matches
Macros | Enumerations
doomdef.h File Reference
#include <stdio.h>
#include <string.h>
#include "doomtype.h"
#include "i_timer.h"
#include "d_mode.h"
Include dependency graph for doomdef.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define DOOM_VERSION   109
 
#define DOOM_191_VERSION   111
 
#define RANGECHECK
 
#define MAXPLAYERS   4
 
#define MTF_EASY   1
 
#define MTF_NORMAL   2
 
#define MTF_HARD   4
 
#define MTF_AMBUSH   8
 

Enumerations

enum  gamestate_t { GS_LEVEL , GS_INTERMISSION , GS_FINALE , GS_DEMOSCREEN }
 
enum  gameaction_t {
  ga_nothing , ga_loadlevel , ga_newgame , ga_loadgame ,
  ga_savegame , ga_playdemo , ga_completed , ga_victory ,
  ga_worlddone , ga_screenshot
}
 
enum  card_t {
  it_bluecard , it_yellowcard , it_redcard , it_blueskull ,
  it_yellowskull , it_redskull , NUMCARDS
}
 
enum  weapontype_t {
  wp_fist , wp_pistol , wp_shotgun , wp_chaingun ,
  wp_missile , wp_plasma , wp_bfg , wp_chainsaw ,
  wp_supershotgun , NUMWEAPONS , wp_nochange
}
 
enum  ammotype_t {
  am_clip , am_shell , am_cell , am_misl ,
  NUMAMMO , am_noammo
}
 
enum  powertype_t {
  pw_invulnerability , pw_strength , pw_invisibility , pw_ironfeet ,
  pw_allmap , pw_infrared , NUMPOWERS
}
 
enum  powerduration_t { INVULNTICS = (30*TICRATE) , INVISTICS = (60*TICRATE) , INFRATICS = (120*TICRATE) , IRONTICS = (60*TICRATE) }
 

Macro Definition Documentation

◆ DOOM_191_VERSION

#define DOOM_191_VERSION   111

◆ DOOM_VERSION

#define DOOM_VERSION   109

◆ MAXPLAYERS

#define MAXPLAYERS   4

◆ MTF_AMBUSH

#define MTF_AMBUSH   8

◆ MTF_EASY

#define MTF_EASY   1

◆ MTF_HARD

#define MTF_HARD   4

◆ MTF_NORMAL

#define MTF_NORMAL   2

◆ RANGECHECK

#define RANGECHECK

Enumeration Type Documentation

◆ ammotype_t

enum ammotype_t
Enumerator
am_clip 
am_shell 
am_cell 
am_misl 
NUMAMMO 
am_noammo 

◆ card_t

enum card_t
Enumerator
it_bluecard 
it_yellowcard 
it_redcard 
it_blueskull 
it_yellowskull 
it_redskull 
NUMCARDS 

◆ gameaction_t

Enumerator
ga_nothing 
ga_loadlevel 
ga_newgame 
ga_loadgame 
ga_savegame 
ga_playdemo 
ga_completed 
ga_victory 
ga_worlddone 
ga_screenshot 

◆ gamestate_t

Enumerator
GS_LEVEL 
GS_INTERMISSION 
GS_FINALE 
GS_DEMOSCREEN 

◆ powerduration_t

Enumerator
INVULNTICS 
INVISTICS 
INFRATICS 
IRONTICS 

◆ powertype_t

Enumerator
pw_invulnerability 
pw_strength 
pw_invisibility 
pw_ironfeet 
pw_allmap 
pw_infrared 
NUMPOWERS 

◆ weapontype_t

Enumerator
wp_fist 
wp_pistol 
wp_shotgun 
wp_chaingun 
wp_missile 
wp_plasma 
wp_bfg 
wp_chainsaw 
wp_supershotgun 
NUMWEAPONS 
wp_nochange