MiniDoom

src/info.ml

Defines static gameplay tables for states, things, and weapon metadata.

Package
(global)
Reachable
Yes

Imports

Declarations

Info_StateAt

function Info_StateAt(s)

Returns the canonical state object for a valid index and safely falls back to the null state for invalid input.

ParameterTypeDefaultDescription
sdynamic—S value supplied to `Info_StateAt`.

View source

Info_StateIndex

function Info_StateIndex(s)

Resolves a state object back to its canonical index, returning the null state when the value is absent or unknown.

ParameterTypeDefaultDescription
sdynamic—S value supplied to `Info_StateIndex`.

View source

mobjinfo

mobjinfo

Stores the mobjinfo collection used by the info subsystem.

View source

mobjinfo_t struct

mobjtype_t enum

spritenum_t enum

sprnames

sprnames

Stores the sprnames collection used by the info subsystem.

View source

state_t struct

statenum_t enum

states

states

Stores the states collection used by the info subsystem.

View source