MiniQuake

src/miniquake/edict.ml

Package
miniquake.edict
Reachable
Yes

Imports

Declarations

allocate

function allocate(edicts, currentTime)

Implements the `allocate` operation for `miniquake.edict` (allocate).

ParameterTypeDefaultDescription
edictsdynamic—The edicts input consumed by `allocate`.
currentTimedynamic—Time value used by the operation.

View source

baseline

function baseline(item)

Implements the `baseline` operation for `miniquake.edict` (baseline).

ParameterTypeDefaultDescription
itemdynamic—The item input consumed by `baseline`.

View source

buildBaselines

function buildBaselines(edicts)

Create and initialize baselines.

ParameterTypeDefaultDescription
edictsdynamic—The edicts input consumed by `buildBaselines`.

View source

copyPairs

function copyPairs(entity)

Transfer data for copy pairs.

ParameterTypeDefaultDescription
entitydynamic—Entity affected by the operation.

View source

create

function create(number)

Implements the `create` operation for `miniquake.edict` (create).

ParameterTypeDefaultDescription
numberdynamic—The number input consumed by `create`.

View source

emptyBaseline

function emptyBaseline()

Implements the `emptyBaseline` operation for `miniquake.edict` (empty baseline).

View source

findClass

function findClass(edicts, className)

Return class.

ParameterTypeDefaultDescription
edictsdynamic—The edicts input consumed by `findClass`.
classNamedynamic—Name that identifies the requested value or resource.

View source

findFirstClass

function findFirstClass(edicts, className)

Return first class.

ParameterTypeDefaultDescription
edictsdynamic—The edicts input consumed by `findFirstClass`.
classNamedynamic—Name that identifies the requested value or resource.

View source

free

function free(item, currentTime)

Implements the `free` operation for `miniquake.edict` (free).

ParameterTypeDefaultDescription
itemdynamic—The item input consumed by `free`.
currentTimedynamic—Time value used by the operation.

View source

fromEntity

function fromEntity(number, entity)

Implements the `fromEntity` operation for `miniquake.edict` (from entity).

ParameterTypeDefaultDescription
numberdynamic—The number input consumed by `fromEntity`.
entitydynamic—Entity affected by the operation.

View source

getPair

function getPair(edict, key)

Return pair.

ParameterTypeDefaultDescription
edictdynamic—QuakeC edict affected by the operation.
keydynamic—Key used to identify the requested entry.

View source

loadMapEntities

function loadMapEntities(map)

Read and validate map entities.

ParameterTypeDefaultDescription
mapdynamic—The map input consumed by `loadMapEntities`.

View source

numberValue

function numberValue(text, fallback)

Return number value derived from the active module state.

ParameterTypeDefaultDescription
textdynamic—Text to parse or process.
fallbackdynamic—Value to use when the requested input is unavailable or invalid.

View source

setPair

function setPair(edict, key, newValue)

Update module state for pair.

ParameterTypeDefaultDescription
edictdynamic—QuakeC edict affected by the operation.
keydynamic—Key used to identify the requested entry.
newValuedynamic—The new value input consumed by `setPair`.

View source

spawnPoint

function spawnPoint(edicts, deathmatch)

Allocate and initialize point.

ParameterTypeDefaultDescription
edictsdynamic—The edicts input consumed by `spawnPoint`.
deathmatchdynamic—The deathmatch input consumed by `spawnPoint`.

View source

value

function value(entity, key)

Return value derived from the active module state.

ParameterTypeDefaultDescription
entitydynamic—Entity affected by the operation.
keydynamic—Key used to identify the requested entry.

View source