MiniQuake2

src/miniquake2/game/world/types.ml

Provides miniquake2 game world types facilities for this project.

Package
miniquake2.game.world.types
Reachable
Yes

Imports

Declarations

createEntity

function createEntity(number, className)

Create entity.

ParameterTypeDefaultDescription
numberdynamic—number value consumed by this operation.
classNamedynamic—className value consumed by this operation.

View source

miniquake2.game.world.types.MoveInfo struct

stabilizeMoveInfo

function stabilizeMoveInfo(moveInfo)

Move stabilize info.

ParameterTypeDefaultDescription
moveInfodynamic—moveInfo value consumed by this operation.

View source

vec3FromValue

function vec3FromValue(value, label)

Spawn/parser-era components still expose three-element arrays in a few adapters. World simulation owns qcommon Vec3 records exclusively; convert once at the producer boundary instead of teaching vector math two shapes.

ParameterTypeDefaultDescription
valuedynamic—Value consumed or transformed by the operation.
labeldynamic—label value consumed by this operation.

View source

miniquake2.game.world.types.WorldCallbacks struct

miniquake2.game.world.types.WorldEntity struct

miniquake2.game.world.types.WorldState struct

miniquake2.game.world.types.WorldTrace struct

zeroMoveInfo

function zeroMoveInfo()

Move zero info.

View source