MiniDoom

src/d_player.ml

Defines player runtime state, cheats, intermission statistics, and constructors for correctly initialized player records.

Package
(global)
Reachable
Yes

Imports

Declarations

_DP_BoolArray

function _DP_BoolArray(n, v)

Allocates a fixed-length boolean array initialized from a strictly boolean input.

ParameterTypeDefaultDescription
ndynamic—Number of values to process.
vdynamic—Value consumed by the operation.

View source

_DP_IntArray

function _DP_IntArray(n, v)

Allocates a fixed-length integer array initialized to the supplied value.

ParameterTypeDefaultDescription
ndynamic—Number of values to process.
vdynamic—Value consumed by the operation.

View source

cheat_t enum

Player_MakeDefault

function Player_MakeDefault()

Constructs a player record with correctly sized inventory, weapon, power, frag, and psprite arrays and canonical spawn defaults.

View source

player_t struct

playerstate_t enum

wbplayerstruct_t struct

wbstartstruct_t struct