# am_cell
am_cellExposes `ammotype_t.am_cell` through the legacy `am_cell` alias.
src/doomdef.mlDefines engine-wide version, game-mode, skill, state, input, and fixed-point constants shared across subsystems.
am_cellExposes `ammotype_t.am_cell` through the legacy `am_cell` alias.
am_clipExposes `ammotype_t.am_clip` through the legacy `am_clip` alias.
am_mislExposes `ammotype_t.am_misl` through the legacy `am_misl` alias.
am_noammoExposes `ammotype_t.am_noammo` through the legacy `am_noammo` alias.
am_shellExposes `ammotype_t.am_shell` through the legacy `am_shell` alias.
ammotype_t enum
const BASE_WIDTH = 320Defines base width for the doomdef subsystem.
card_t enum
commercialExposes `GameMode_t.commercial` through the legacy `commercial` alias.
GameMission_t enum
GameMode_t enum
gamestate_t enum
GS_DEMOSCREENExposes `gamestate_t.GS_DEMOSCREEN` through the legacy `GS_DEMOSCREEN` alias.
GS_FINALEExposes `gamestate_t.GS_FINALE` through the legacy `GS_FINALE` alias.
GS_INTERMISSIONExposes `gamestate_t.GS_INTERMISSION` through the legacy `GS_INTERMISSION` alias.
GS_LEVELExposes `gamestate_t.GS_LEVEL` through the legacy `GS_LEVEL` alias.
indeterminedExposes `GameMode_t.indetermined` through the legacy `indetermined` alias.
INFRATICSTracks the mutable infratics value used by the doomdef subsystem.
const INV_ASPECT_RATIO = 0.625Defines inv aspect ratio for the doomdef subsystem.
INVISTICSTracks the mutable invistics value used by the doomdef subsystem.
INVULNTICSTracks the mutable invulntics value used by the doomdef subsystem.
IRONTICSTracks the mutable irontics value used by the doomdef subsystem.
it_bluecardExposes `card_t.it_bluecard` through the legacy `it_bluecard` alias.
it_blueskullExposes `card_t.it_blueskull` through the legacy `it_blueskull` alias.
it_redcardExposes `card_t.it_redcard` through the legacy `it_redcard` alias.
it_redskullExposes `card_t.it_redskull` through the legacy `it_redskull` alias.
it_yellowcardExposes `card_t.it_yellowcard` through the legacy `it_yellowcard` alias.
it_yellowskullExposes `card_t.it_yellowskull` through the legacy `it_yellowskull` alias.
const KEY_BACKSPACE = 127Defines the input key code for key backspace.
const KEY_CONSOLE = 256Private UI key codes live above the legacy 8-bit gameplay-key table. Defines the input key code for key console.
const KEY_DOWNARROW = 175Defines the input key code for key downarrow.
const KEY_ENTER = 13Defines the input key code for key enter.
const KEY_EQUALS = 61Defines the input key code for key equals.
const KEY_ESCAPE = 27Defines the input key code for key escape.
const KEY_F1 = 128 + 59Defines the input key code for key f1.
const KEY_F10 = 128 + 68Defines the input key code for key f10.
const KEY_F11 = 128 + 87Defines the input key code for key f11.
const KEY_F12 = 128 + 88Defines the input key code for key f12.
const KEY_F2 = 128 + 60Defines the input key code for key f2.
const KEY_F3 = 128 + 61Defines the input key code for key f3.
const KEY_F4 = 128 + 62Defines the input key code for key f4.
const KEY_F5 = 128 + 63Defines the input key code for key f5.
const KEY_F6 = 128 + 64Defines the input key code for key f6.
const KEY_F7 = 128 + 65Defines the input key code for key f7.
const KEY_F8 = 128 + 66Defines the input key code for key f8.
const KEY_F9 = 128 + 67Defines the input key code for key f9.
const KEY_LALT = KEY_RALTDefines the input key code for key lalt.
const KEY_LEFTARROW = 172Defines the input key code for key leftarrow.
const KEY_MINUS = 45Defines the minimum key minus accepted by the doomdef subsystem.
const KEY_PAGEDOWN = 258Defines the input key code for key pagedown.
const KEY_PAGEUP = 257Defines the input key code for key pageup.
const KEY_PAUSE = 255Defines the input key code for key pause.
const KEY_RALT = 128 + 56Defines the input key code for key ralt.
const KEY_RCTRL = 128 + 29Defines the input key code for key rctrl.
const KEY_RIGHTARROW = 174Defines the input key code for key rightarrow.
const KEY_RSHIFT = 128 + 54Defines the input key code for key rshift.
const KEY_TAB = 9Defines the input key code for key tab.
const KEY_UPARROW = 173Defines the input key code for key uparrow.
Language_t enum
const MAXPLAYERS = 4Defines the maximum maxplayers accepted by the doomdef subsystem.
const MTF_AMBUSH = 8Defines mtf ambush for the doomdef subsystem.
const MTF_EASY = 1Defines mtf easy for the doomdef subsystem.
const MTF_HARD = 4Defines mtf hard for the doomdef subsystem.
const MTF_NORMAL = 2Defines mtf normal for the doomdef subsystem.
NUMAMMOTracks the mutable numammo value used by the doomdef subsystem.
NUMCARDSTracks the mutable numcards value used by the doomdef subsystem.
NUMPOWERSTracks the mutable numpowers value used by the doomdef subsystem.
NUMWEAPONSTracks the mutable numweapons value used by the doomdef subsystem.
powerduration_t enum
powertype_t enum
pw_allmapExposes `powertype_t.pw_allmap` through the legacy `pw_allmap` alias.
pw_infraredExposes `powertype_t.pw_infrared` through the legacy `pw_infrared` alias.
pw_invisibilityExposes `powertype_t.pw_invisibility` through the legacy `pw_invisibility` alias.
pw_invulnerabilityExposes `powertype_t.pw_invulnerability` through the legacy `pw_invulnerability` alias.
pw_ironfeetExposes `powertype_t.pw_ironfeet` through the legacy `pw_ironfeet` alias.
pw_strengthExposes `powertype_t.pw_strength` through the legacy `pw_strength` alias.
const RANGECHECK = trueDefines rangecheck for the doomdef subsystem.
registeredExposes `GameMode_t.registered` through the legacy `registered` alias.
retailExposes `GameMode_t.retail` through the legacy `retail` alias.
const SCREEN_MUL = 1Defines screen mul for the doomdef subsystem.
const SCREENHEIGHT = 200Defines screenheight for the doomdef subsystem.
const SCREENWIDTH = 320Defines screenwidth for the doomdef subsystem.
sharewareExposes `GameMode_t.shareware` through the legacy `shareware` alias.
sk_babyExposes `skill_t.sk_baby` through the legacy `sk_baby` alias.
sk_easyExposes `skill_t.sk_easy` through the legacy `sk_easy` alias.
sk_hardExposes `skill_t.sk_hard` through the legacy `sk_hard` alias.
sk_mediumExposes `skill_t.sk_medium` through the legacy `sk_medium` alias.
sk_nightmareExposes `skill_t.sk_nightmare` through the legacy `sk_nightmare` alias.
skill_t enum
const SNDSERV = 1Defines sndserv for the doomdef subsystem.
const TICRATE = 35Defines ticrate for the doomdef subsystem.
const VERSION = 110Defines version for the doomdef subsystem.
weapontype_t enum
wp_bfgExposes `weapontype_t.wp_bfg` through the legacy `wp_bfg` alias.
wp_chaingunExposes `weapontype_t.wp_chaingun` through the legacy `wp_chaingun` alias.
wp_chainsawExposes `weapontype_t.wp_chainsaw` through the legacy `wp_chainsaw` alias.
wp_fistExposes `weapontype_t.wp_fist` through the legacy `wp_fist` alias.
wp_missileExposes `weapontype_t.wp_missile` through the legacy `wp_missile` alias.
wp_nochangeExposes `weapontype_t.wp_nochange` through the legacy `wp_nochange` alias.
wp_pistolExposes `weapontype_t.wp_pistol` through the legacy `wp_pistol` alias.
wp_plasmaExposes `weapontype_t.wp_plasma` through the legacy `wp_plasma` alias.
wp_shotgunExposes `weapontype_t.wp_shotgun` through the legacy `wp_shotgun` alias.
wp_supershotgunExposes `weapontype_t.wp_supershotgun` through the legacy `wp_supershotgun` alias.