MiniDoom

src/doomdef.ml

Defines engine-wide version, game-mode, skill, state, input, and fixed-point constants shared across subsystems.

Package
(global)
Reachable
Yes

Declarations

am_cell

am_cell

Exposes `ammotype_t.am_cell` through the legacy `am_cell` alias.

View source

am_clip

am_clip

Exposes `ammotype_t.am_clip` through the legacy `am_clip` alias.

View source

am_misl

am_misl

Exposes `ammotype_t.am_misl` through the legacy `am_misl` alias.

View source

am_noammo

am_noammo

Exposes `ammotype_t.am_noammo` through the legacy `am_noammo` alias.

View source

am_shell

am_shell

Exposes `ammotype_t.am_shell` through the legacy `am_shell` alias.

View source

ammotype_t enum

BASE_WIDTH

const BASE_WIDTH = 320

Defines base width for the doomdef subsystem.

View source

card_t enum

commercial

commercial

Exposes `GameMode_t.commercial` through the legacy `commercial` alias.

View source

GameMission_t enum

GameMode_t enum

gamestate_t enum

GS_DEMOSCREEN

GS_DEMOSCREEN

Exposes `gamestate_t.GS_DEMOSCREEN` through the legacy `GS_DEMOSCREEN` alias.

View source

GS_FINALE

GS_FINALE

Exposes `gamestate_t.GS_FINALE` through the legacy `GS_FINALE` alias.

View source

GS_INTERMISSION

GS_INTERMISSION

Exposes `gamestate_t.GS_INTERMISSION` through the legacy `GS_INTERMISSION` alias.

View source

GS_LEVEL

GS_LEVEL

Exposes `gamestate_t.GS_LEVEL` through the legacy `GS_LEVEL` alias.

View source

indetermined

indetermined

Exposes `GameMode_t.indetermined` through the legacy `indetermined` alias.

View source

INFRATICS

INFRATICS

Tracks the mutable infratics value used by the doomdef subsystem.

View source

INV_ASPECT_RATIO

const INV_ASPECT_RATIO = 0.625

Defines inv aspect ratio for the doomdef subsystem.

View source

INVISTICS

INVISTICS

Tracks the mutable invistics value used by the doomdef subsystem.

View source

INVULNTICS

INVULNTICS

Tracks the mutable invulntics value used by the doomdef subsystem.

View source

IRONTICS

IRONTICS

Tracks the mutable irontics value used by the doomdef subsystem.

View source

it_bluecard

it_bluecard

Exposes `card_t.it_bluecard` through the legacy `it_bluecard` alias.

View source

it_blueskull

it_blueskull

Exposes `card_t.it_blueskull` through the legacy `it_blueskull` alias.

View source

it_redcard

it_redcard

Exposes `card_t.it_redcard` through the legacy `it_redcard` alias.

View source

it_redskull

it_redskull

Exposes `card_t.it_redskull` through the legacy `it_redskull` alias.

View source

it_yellowcard

it_yellowcard

Exposes `card_t.it_yellowcard` through the legacy `it_yellowcard` alias.

View source

it_yellowskull

it_yellowskull

Exposes `card_t.it_yellowskull` through the legacy `it_yellowskull` alias.

View source

KEY_BACKSPACE

const KEY_BACKSPACE = 127

Defines the input key code for key backspace.

View source

KEY_CONSOLE

const KEY_CONSOLE = 256

Private UI key codes live above the legacy 8-bit gameplay-key table. Defines the input key code for key console.

View source

KEY_DOWNARROW

const KEY_DOWNARROW = 175

Defines the input key code for key downarrow.

View source

KEY_ENTER

const KEY_ENTER = 13

Defines the input key code for key enter.

View source

KEY_EQUALS

const KEY_EQUALS = 61

Defines the input key code for key equals.

View source

KEY_ESCAPE

const KEY_ESCAPE = 27

Defines the input key code for key escape.

View source

KEY_F1

const KEY_F1 = 128 + 59

Defines the input key code for key f1.

View source

KEY_F10

const KEY_F10 = 128 + 68

Defines the input key code for key f10.

View source

KEY_F11

const KEY_F11 = 128 + 87

Defines the input key code for key f11.

View source

KEY_F12

const KEY_F12 = 128 + 88

Defines the input key code for key f12.

View source

KEY_F2

const KEY_F2 = 128 + 60

Defines the input key code for key f2.

View source

KEY_F3

const KEY_F3 = 128 + 61

Defines the input key code for key f3.

View source

KEY_F4

const KEY_F4 = 128 + 62

Defines the input key code for key f4.

View source

KEY_F5

const KEY_F5 = 128 + 63

Defines the input key code for key f5.

View source

KEY_F6

const KEY_F6 = 128 + 64

Defines the input key code for key f6.

View source

KEY_F7

const KEY_F7 = 128 + 65

Defines the input key code for key f7.

View source

KEY_F8

const KEY_F8 = 128 + 66

Defines the input key code for key f8.

View source

KEY_F9

const KEY_F9 = 128 + 67

Defines the input key code for key f9.

View source

KEY_LALT

const KEY_LALT = KEY_RALT

Defines the input key code for key lalt.

View source

KEY_LEFTARROW

const KEY_LEFTARROW = 172

Defines the input key code for key leftarrow.

View source

KEY_MINUS

const KEY_MINUS = 45

Defines the minimum key minus accepted by the doomdef subsystem.

View source

KEY_PAGEDOWN

const KEY_PAGEDOWN = 258

Defines the input key code for key pagedown.

View source

KEY_PAGEUP

const KEY_PAGEUP = 257

Defines the input key code for key pageup.

View source

KEY_PAUSE

const KEY_PAUSE = 255

Defines the input key code for key pause.

View source

KEY_RALT

const KEY_RALT = 128 + 56

Defines the input key code for key ralt.

View source

KEY_RCTRL

const KEY_RCTRL = 128 + 29

Defines the input key code for key rctrl.

View source

KEY_RIGHTARROW

const KEY_RIGHTARROW = 174

Defines the input key code for key rightarrow.

View source

KEY_RSHIFT

const KEY_RSHIFT = 128 + 54

Defines the input key code for key rshift.

View source

KEY_TAB

const KEY_TAB = 9

Defines the input key code for key tab.

View source

KEY_UPARROW

const KEY_UPARROW = 173

Defines the input key code for key uparrow.

View source

Language_t enum

MAXPLAYERS

const MAXPLAYERS = 4

Defines the maximum maxplayers accepted by the doomdef subsystem.

View source

MTF_AMBUSH

const MTF_AMBUSH = 8

Defines mtf ambush for the doomdef subsystem.

View source

MTF_EASY

const MTF_EASY = 1

Defines mtf easy for the doomdef subsystem.

View source

MTF_HARD

const MTF_HARD = 4

Defines mtf hard for the doomdef subsystem.

View source

MTF_NORMAL

const MTF_NORMAL = 2

Defines mtf normal for the doomdef subsystem.

View source

NUMAMMO

NUMAMMO

Tracks the mutable numammo value used by the doomdef subsystem.

View source

NUMCARDS

NUMCARDS

Tracks the mutable numcards value used by the doomdef subsystem.

View source

NUMPOWERS

NUMPOWERS

Tracks the mutable numpowers value used by the doomdef subsystem.

View source

NUMWEAPONS

NUMWEAPONS

Tracks the mutable numweapons value used by the doomdef subsystem.

View source

powerduration_t enum

powertype_t enum

pw_allmap

pw_allmap

Exposes `powertype_t.pw_allmap` through the legacy `pw_allmap` alias.

View source

pw_infrared

pw_infrared

Exposes `powertype_t.pw_infrared` through the legacy `pw_infrared` alias.

View source

pw_invisibility

pw_invisibility

Exposes `powertype_t.pw_invisibility` through the legacy `pw_invisibility` alias.

View source

pw_invulnerability

pw_invulnerability

Exposes `powertype_t.pw_invulnerability` through the legacy `pw_invulnerability` alias.

View source

pw_ironfeet

pw_ironfeet

Exposes `powertype_t.pw_ironfeet` through the legacy `pw_ironfeet` alias.

View source

pw_strength

pw_strength

Exposes `powertype_t.pw_strength` through the legacy `pw_strength` alias.

View source

RANGECHECK

const RANGECHECK = true

Defines rangecheck for the doomdef subsystem.

View source

registered

registered

Exposes `GameMode_t.registered` through the legacy `registered` alias.

View source

retail

retail

Exposes `GameMode_t.retail` through the legacy `retail` alias.

View source

SCREEN_MUL

const SCREEN_MUL = 1

Defines screen mul for the doomdef subsystem.

View source

SCREENHEIGHT

const SCREENHEIGHT = 200

Defines screenheight for the doomdef subsystem.

View source

SCREENWIDTH

const SCREENWIDTH = 320

Defines screenwidth for the doomdef subsystem.

View source

shareware

shareware

Exposes `GameMode_t.shareware` through the legacy `shareware` alias.

View source

sk_baby

sk_baby

Exposes `skill_t.sk_baby` through the legacy `sk_baby` alias.

View source

sk_easy

sk_easy

Exposes `skill_t.sk_easy` through the legacy `sk_easy` alias.

View source

sk_hard

sk_hard

Exposes `skill_t.sk_hard` through the legacy `sk_hard` alias.

View source

sk_medium

sk_medium

Exposes `skill_t.sk_medium` through the legacy `sk_medium` alias.

View source

sk_nightmare

sk_nightmare

Exposes `skill_t.sk_nightmare` through the legacy `sk_nightmare` alias.

View source

skill_t enum

SNDSERV

const SNDSERV = 1

Defines sndserv for the doomdef subsystem.

View source

TICRATE

const TICRATE = 35

Defines ticrate for the doomdef subsystem.

View source

VERSION

const VERSION = 110

Defines version for the doomdef subsystem.

View source

weapontype_t enum

wp_bfg

wp_bfg

Exposes `weapontype_t.wp_bfg` through the legacy `wp_bfg` alias.

View source

wp_chaingun

wp_chaingun

Exposes `weapontype_t.wp_chaingun` through the legacy `wp_chaingun` alias.

View source

wp_chainsaw

wp_chainsaw

Exposes `weapontype_t.wp_chainsaw` through the legacy `wp_chainsaw` alias.

View source

wp_fist

wp_fist

Exposes `weapontype_t.wp_fist` through the legacy `wp_fist` alias.

View source

wp_missile

wp_missile

Exposes `weapontype_t.wp_missile` through the legacy `wp_missile` alias.

View source

wp_nochange

wp_nochange

Exposes `weapontype_t.wp_nochange` through the legacy `wp_nochange` alias.

View source

wp_pistol

wp_pistol

Exposes `weapontype_t.wp_pistol` through the legacy `wp_pistol` alias.

View source

wp_plasma

wp_plasma

Exposes `weapontype_t.wp_plasma` through the legacy `wp_plasma` alias.

View source

wp_shotgun

wp_shotgun

Exposes `weapontype_t.wp_shotgun` through the legacy `wp_shotgun` alias.

View source

wp_supershotgun

wp_supershotgun

Exposes `weapontype_t.wp_supershotgun` through the legacy `wp_supershotgun` alias.

View source