MiniQuake2

src/miniquake2/client/runtime/handoff.ml

Provides miniquake2 client runtime handoff facilities for this project.

Package
miniquake2.client.runtime.handoff
Reachable
Yes

Imports

Declarations

appendBounded

function appendBounded(values, value)

Append bounded.

ParameterTypeDefaultDescription
valuesdynamic—values value consumed by this operation.
valuedynamic—Value consumed or transformed by the operation.

View source

appendEvents

function appendEvents(first, second)

Append two small transient event collections. Persistent render state is read directly from the latest immutable client snapshot; only one-shot UI and audio events need ordered aggregation when several packets arrive in a single product pump.

ParameterTypeDefaultDescription
firstdynamic—first value consumed by this operation.
seconddynamic—second value consumed by this operation.

View source

commit

function commit(runtime, now)

Commit state.

ParameterTypeDefaultDescription
runtimedynamic—runtime value consumed by this operation.
nowdynamic—now value consumed by this operation.

View source

copyBeams

function copyBeams(values)

Copy beams data.

ParameterTypeDefaultDescription
valuesdynamic—values value consumed by this operation.

View source

copyCenters

function copyCenters(values)

Copy centers data.

ParameterTypeDefaultDescription
valuesdynamic—values value consumed by this operation.

View source

copyExplosions

function copyExplosions(values)

Copy explosions data.

ParameterTypeDefaultDescription
valuesdynamic—values value consumed by this operation.

View source

copyInventories

function copyInventories(values)

Copy inventories data.

ParameterTypeDefaultDescription
valuesdynamic—values value consumed by this operation.

View source

copyLasers

function copyLasers(values)

Copy lasers data.

ParameterTypeDefaultDescription
valuesdynamic—values value consumed by this operation.

View source

copyLayouts

function copyLayouts(values)

Copy layouts data.

ParameterTypeDefaultDescription
valuesdynamic—values value consumed by this operation.

View source

copyLights

function copyLights(values)

Copy lights data.

ParameterTypeDefaultDescription
valuesdynamic—values value consumed by this operation.

View source

copyParticles

function copyParticles(values, count)

Copy particles data.

ParameterTypeDefaultDescription
valuesdynamic—values value consumed by this operation.
countdynamic—Number of items or units to process.

View source

copyPrints

function copyPrints(values)

Copy prints data.

ParameterTypeDefaultDescription
valuesdynamic—values value consumed by this operation.

View source

copySnapshot

function copySnapshot(value)

Copy snapshot data.

ParameterTypeDefaultDescription
valuedynamic—Value consumed or transformed by the operation.

View source

copySounds

function copySounds(values)

Copy sounds data.

ParameterTypeDefaultDescription
valuesdynamic—values value consumed by this operation.

View source

copySustains

function copySustains(values)

Copy sustains data.

ParameterTypeDefaultDescription
valuesdynamic—values value consumed by this operation.

View source

copyValues

function copyValues(values)

Copy values data.

ParameterTypeDefaultDescription
valuesdynamic—values value consumed by this operation.

View source

copyVec

function copyVec(value)

Copy vec data.

ParameterTypeDefaultDescription
valuedynamic—Value consumed or transformed by the operation.

View source

MAX_FRAME_HANDOFFS

const MAX_FRAME_HANDOFFS = 8

Defines the max frame handoffs constant used by the miniquake2 client runtime handoff module.

View source

pending

function pending(runtime)

Report whether pending.

ParameterTypeDefaultDescription
runtimedynamic—runtime value consumed by this operation.

View source

take

function take(runtime)

Consume state.

ParameterTypeDefaultDescription
runtimedynamic—runtime value consumed by this operation.

View source

takeLatest

function takeLatest(runtime)

Consume latest.

ParameterTypeDefaultDescription
runtimedynamic—runtime value consumed by this operation.

View source