MiniQuake2

src/miniquake2/game/types.ml

Provides miniquake2 game types facilities for this project.

Package
miniquake2.game.types
Reachable
Yes

Imports

Declarations

cvar

function cvar(name, value, flags)

Return the cvar value.

ParameterTypeDefaultDescription
namedynamic—Name of the affected item.
valuedynamic—Value consumed or transformed by the operation.
flagsdynamic—Bit flags controlling the operation.

View source

miniquake2.game.types.Cvar struct

miniquake2.game.types.Edict struct

miniquake2.game.types.EntityState struct

miniquake2.game.types.GameClient struct

miniquake2.game.types.GameExport struct

miniquake2.game.types.GameImport struct

miniquake2.game.types.Link struct

miniquake2.game.types.PlayerState struct

miniquake2.game.types.Pmove struct

stabilizeEdict

function stabilizeEdict(gtypesEdictValue)

Return the stabilize edict value.

ParameterTypeDefaultDescription
gtypesEdictValuedynamic—gtypesEdictValue value consumed by this operation.

View source

stabilizeEntityState

function stabilizeEntityState(gtypesStateValue)

Return the stabilize entity state.

ParameterTypeDefaultDescription
gtypesStateValuedynamic—gtypesStateValue value consumed by this operation.

View source

zeroEdict

function zeroEdict(number)

Return the zero edict value.

ParameterTypeDefaultDescription
numberdynamic—number value consumed by this operation.

View source

zeroEntityState

function zeroEntityState(number)

Return the zero entity state.

ParameterTypeDefaultDescription
numberdynamic—number value consumed by this operation.

View source

zeroGameClient

function zeroGameClient()

Return the zero game client value.

View source

zeroPlayerState

function zeroPlayerState()

Return the zero player state.

View source

zeroPmove

function zeroPmove(traceCallback, pointContentsCallback)

Return the zero pmove value.

ParameterTypeDefaultDescription
traceCallbackdynamic—traceCallback value consumed by this operation.
pointContentsCallbackdynamic—pointContentsCallback value consumed by this operation.

View source

zeroPmoveState

function zeroPmoveState()

Return the zero pmove state.

View source

zeroUserCmd

function zeroUserCmd()

Return the zero user cmd value.

View source