# absoluteBuiltin
function absoluteBuiltin(machine)Implements the `absoluteBuiltin` operation for `miniquake.quakec.builtins` (absolute builtin).
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `absoluteBuiltin`. |
src/miniquake/quakec/builtins.mlminiquake/byteio.ml as bio → src/miniquake/byteio.mlminiquake/cmd.ml as cmd → src/miniquake/cmd.mlminiquake/constants.ml as c → src/miniquake/constants.mlminiquake/cvar.ml as cvar → src/miniquake/cvar.mlminiquake/filesystem.ml as filesystem → src/miniquake/filesystem.mlminiquake/format/sprite.ml as sprite → src/miniquake/format/sprite.mlminiquake/mathlib.ml as math → src/miniquake/mathlib.mlminiquake/message.ml as msg → src/miniquake/message.mlminiquake/native.ml as native → src/miniquake/native.mlminiquake/protocol_events.ml as protocolEvents → src/miniquake/protocol_events.mlminiquake/protocol_transients.ml as transients → src/miniquake/protocol_transients.mlminiquake/quakec/edict.ml as qcedict → src/miniquake/quakec/edict.mlminiquake/quakec/opcodes.ml as op → src/miniquake/quakec/opcodes.mlminiquake/quakec/vm.ml as qvm → src/miniquake/quakec/vm.mlminiquake/server_collision.ml as collision → src/miniquake/server_collision.mlminiquake/server_move.ml as serverMove → src/miniquake/server_move.mlminiquake/types.ml as t → src/miniquake/types.mlminiquake/world_bsp.ml as world → src/miniquake/world_bsp.mlfunction absoluteBuiltin(machine)Implements the `absoluteBuiltin` operation for `miniquake.quakec.builtins` (absolute builtin).
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `absoluteBuiltin`. |
activeContextTracks the module-level active context state owned by `miniquake.quakec.builtins`.
function activeEdictCount(machine)Report whether active edict count holds for the active state.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `activeEdictCount`. |
function activeEdictLimit(machine)Report whether active edict limit holds for the active state.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `activeEdictLimit`. |
function aimBuiltin(machine)Implements the `aimBuiltin` operation for `miniquake.quakec.builtins` (aim builtin).
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `aimBuiltin`. |
function allocateEdict(machine)Allocate and initialize edict.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `allocateEdict`. |
function ambientSoundBuiltin(machine)Implements the `ambientSoundBuiltin` operation for `miniquake.quakec.builtins` (ambient sound builtin).
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `ambientSoundBuiltin`. |
function appendConsole(text)Add state for append console.
| Parameter | Type | Default | Description |
|---|---|---|---|
text | dynamic | — | Text to parse or process. |
function badPrecacheString(name)Implements the `badPrecacheString` operation for `miniquake.quakec.builtins` (bad precache string).
| Parameter | Type | Default | Description |
|---|---|---|---|
name | dynamic | — | Stable name that identifies the requested object or option. |
function bind(contextValue)Implements the `bind` operation for `miniquake.quakec.builtins` (bind).
| Parameter | Type | Default | Description |
|---|---|---|---|
contextValue | dynamic | — | The context value input consumed by `bind`. |
function breakBuiltin(machine)Implements the `breakBuiltin` operation for `miniquake.quakec.builtins` (break builtin).
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `breakBuiltin`. |
function broadcastPrintBuiltin(machine)Implements the `broadcastPrintBuiltin` operation for `miniquake.quakec.builtins` (broadcast print builtin).
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `broadcastPrintBuiltin`. |
brushBoundsNamesTracks the module-level brush bounds names state owned by `miniquake.quakec.builtins`.
brushBoundsValuesTracks the module-level brush bounds values state owned by `miniquake.quakec.builtins`.
function brushModelBounds(data, modelName)External brush entities (ammo/health boxes, explosive barrels, etc.) are complete BSP29 files. WinQuake's Mod_ForName loads their first dmodel and PF_setmodel copies its expanded mins/maxs into the edict. Parsing only the model lump here keeps the server independent of renderer-owned model data and avoids loading all render/lightmap lumps during QuakeC spawning.
| Parameter | Type | Default | Description |
|---|---|---|---|
data | dynamic | — | Input data consumed by the operation. |
modelName | dynamic | — | Name that identifies the requested value or resource. |
const BUILTIN_COUNT = 79Defines the builtin count value used by `miniquake.quakec.builtins`.
function builtinContractFingerprint()Implements the `builtinContractFingerprint` operation for `miniquake.quakec.builtins` (builtin contract fingerprint).
function builtinNames()Return builtin names derived from the active module state.
function cachedBrushModelBounds(ctx, modelName)Implements the `cachedBrushModelBounds` operation for `miniquake.quakec.builtins` (cached brush model bounds).
| Parameter | Type | Default | Description |
|---|---|---|---|
ctx | dynamic | — | The ctx input consumed by `cachedBrushModelBounds`. |
modelName | dynamic | — | Name that identifies the requested value or resource. |
function ceilBuiltin(machine)Implements the `ceilBuiltin` operation for `miniquake.quakec.builtins` (ceil builtin).
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `ceilBuiltin`. |
function ceilNumber(value)Return ceil number derived from the active module state.
| Parameter | Type | Default | Description |
|---|---|---|---|
value | dynamic | — | Value consumed by `ceilNumber`. |
function centerPrintBuiltin(machine)Implements the `centerPrintBuiltin` operation for `miniquake.quakec.builtins` (center print builtin).
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `centerPrintBuiltin`. |
function changeLevelBuiltin(machine)Update subsystem configuration for change level builtin.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `changeLevelBuiltin`. |
function changeYawBuiltin(machine)Update subsystem configuration for change yaw builtin.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `changeYawBuiltin`. |
function checkBottomBuiltin(machine)Validate bottom builtin and report any incompatibility.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `checkBottomBuiltin`. |
function checkClientBuiltin(machine)Validate client builtin and report any incompatibility.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `checkClientBuiltin`. |
function clientMessageBuffer(entityIndex)Implements the `clientMessageBuffer` operation for `miniquake.quakec.builtins` (client message buffer).
| Parameter | Type | Default | Description |
|---|---|---|---|
entityIndex | dynamic | — | Zero-based index of the requested entry. |
function clientPrintBuiltin(machine)Implements the `clientPrintBuiltin` operation for `miniquake.quakec.builtins` (client print builtin).
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `clientPrintBuiltin`. |
function context()Implements the `context` operation for `miniquake.quakec.builtins` (context).
function coreDumpBuiltin(machine)Implements the `coreDumpBuiltin` operation for `miniquake.quakec.builtins` (core dump builtin).
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `coreDumpBuiltin`. |
function cvarBuiltin(machine)Implements the `cvarBuiltin` operation for `miniquake.quakec.builtins` (cvar builtin).
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `cvarBuiltin`. |
function cvarSetBuiltin(machine)Implements the `cvarSetBuiltin` operation for `miniquake.quakec.builtins` (cvar set builtin).
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `cvarSetBuiltin`. |
function debugPrintBuiltin(machine)Implements the `debugPrintBuiltin` operation for `miniquake.quakec.builtins` (debug print builtin).
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `debugPrintBuiltin`. |
function definitionOffset(definitions, name)Return definition offset derived from the active module state.
| Parameter | Type | Default | Description |
|---|---|---|---|
definitions | dynamic | — | The definitions input consumed by `definitionOffset`. |
name | dynamic | — | Stable name that identifies the requested object or option. |
function destinationBuffer(machine, destination)Implements the `destinationBuffer` operation for `miniquake.quakec.builtins` (destination buffer).
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `destinationBuffer`. |
destination | dynamic | — | Destination value or collection to update. |
function dropToFloorBuiltin(machine)Release state for drop to floor builtin.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `dropToFloorBuiltin`. |
function ensureGlobal(machine, offset)Ensure sufficient storage or state for global.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `ensureGlobal`. |
offset | dynamic | — | Zero-based offset of the requested data. |
function entityFloat(machine, entityIndex, name)Implements the `entityFloat` operation for `miniquake.quakec.builtins` (entity float).
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `entityFloat`. |
entityIndex | dynamic | — | Zero-based index of the requested entry. |
name | dynamic | — | Stable name that identifies the requested object or option. |
function entityPrintBuiltin(machine)Implements the `entityPrintBuiltin` operation for `miniquake.quakec.builtins` (entity print builtin).
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `entityPrintBuiltin`. |
function entityString(machine, entityIndex, name)Implements the `entityString` operation for `miniquake.quakec.builtins` (entity string).
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `entityString`. |
entityIndex | dynamic | — | Zero-based index of the requested entry. |
name | dynamic | — | Stable name that identifies the requested object or option. |
function entityVector(machine, entityIndex, name)Implements the `entityVector` operation for `miniquake.quakec.builtins` (entity vector).
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `entityVector`. |
entityIndex | dynamic | — | Zero-based index of the requested entry. |
name | dynamic | — | Stable name that identifies the requested object or option. |
function entityWord(machine, entityIndex, name)Implements the `entityWord` operation for `miniquake.quakec.builtins` (entity word).
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `entityWord`. |
entityIndex | dynamic | — | Zero-based index of the requested entry. |
name | dynamic | — | Stable name that identifies the requested object or option. |
function errorBuiltin(machine)Report builtin and return the corresponding failure status.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `errorBuiltin`. |
function fieldOffset(machine, name)Implements the `fieldOffset` operation for `miniquake.quakec.builtins` (field offset).
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `fieldOffset`. |
name | dynamic | — | Stable name that identifies the requested object or option. |
function findBuiltin(machine)Return builtin.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `findBuiltin`. |
function findRadiusBuiltin(machine)Return radius builtin.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `findRadiusBuiltin`. |
function fixedOneDecimal(value)Implements the `fixedOneDecimal` operation for `miniquake.quakec.builtins` (fixed one decimal).
| Parameter | Type | Default | Description |
|---|---|---|---|
value | dynamic | — | Value consumed by `fixedOneDecimal`. |
function fixme(machine)Implements the `fixme` operation for `miniquake.quakec.builtins` (fixme).
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `fixme`. |
function fixmeSlots()Implements the `fixmeSlots` operation for `miniquake.quakec.builtins` (fixme slots).
function floatToStringBuiltin(machine)Implements the `floatToStringBuiltin` operation for `miniquake.quakec.builtins` (float to string builtin).
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `floatToStringBuiltin`. |
function floatValue(machine, offset)Return float value derived from the active module state.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `floatValue`. |
offset | dynamic | — | Zero-based offset of the requested data. |
function floorBuiltin(machine)Implements the `floorBuiltin` operation for `miniquake.quakec.builtins` (floor builtin).
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `floorBuiltin`. |
function floorNumber(value)Return floor number derived from the active module state.
| Parameter | Type | Default | Description |
|---|---|---|---|
value | dynamic | — | Value consumed by `floorNumber`. |
const FNV_OFFSET = 2166136261Defines the fnv offset value used by `miniquake.quakec.builtins`.
const FNV_PRIME = 16777619Defines the fnv prime value used by `miniquake.quakec.builtins`.
function globalOffset(machine, name)Return global offset derived from the active module state.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `globalOffset`. |
name | dynamic | — | Stable name that identifies the requested object or option. |
function globalVector(machine, name)Return global vector derived from the active module state.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `globalVector`. |
name | dynamic | — | Stable name that identifies the requested object or option. |
function globalWord(machine, name)Implements the `globalWord` operation for `miniquake.quakec.builtins` (global word).
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `globalWord`. |
name | dynamic | — | Stable name that identifies the requested object or option. |
function install(machine, contextValue)Implements the `install` operation for `miniquake.quakec.builtins` (install).
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `install`. |
contextValue | dynamic | — | The context value input consumed by `install`. |
function internString(machine, text)Implements the `internString` operation for `miniquake.quakec.builtins` (intern string).
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `internString`. |
text | dynamic | — | Text to parse or process. |
function lightStyleBuiltin(machine)Implements the `lightStyleBuiltin` operation for `miniquake.quakec.builtins` (light style builtin).
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `lightStyleBuiltin`. |
function localCommandBuiltin(machine)Implements the `localCommandBuiltin` operation for `miniquake.quakec.builtins` (local command builtin).
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `localCommandBuiltin`. |
function makeStaticBuiltin(machine)Create and initialize static builtin.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `makeStaticBuiltin`. |
function makeVectors(machine)Create and initialize vectors.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `makeVectors`. |
function modelBounds(machine, modelName)Implements the `modelBounds` operation for `miniquake.quakec.builtins` (model bounds).
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `modelBounds`. |
modelName | dynamic | — | Name that identifies the requested value or resource. |
function moveToGoalBuiltin(machine)Transfer data for move to goal builtin.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `moveToGoalBuiltin`. |
function newCheckClient(machine, current)Create and initialize check client.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `newCheckClient`. |
current | dynamic | — | The current input consumed by `newCheckClient`. |
function nextEntityBuiltin(machine)Return next entity builtin for the active module state.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `nextEntityBuiltin`. |
function normalizeBuiltin(machine)Convert builtin into its canonical representation.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `normalizeBuiltin`. |
function objectErrorBuiltin(machine)Implements the `objectErrorBuiltin` operation for `miniquake.quakec.builtins` (object error builtin).
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `objectErrorBuiltin`. |
inline function parameterOffset(index)Return parameter offset derived from the active module state.
| Parameter | Type | Default | Description |
|---|---|---|---|
index | dynamic | — | Zero-based index of the requested entry. |
function parmFloat(machine, index)Implements the `parmFloat` operation for `miniquake.quakec.builtins` (parm float).
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `parmFloat`. |
index | dynamic | — | Zero-based index of the requested entry. |
function parmString(machine, index)Implements the `parmString` operation for `miniquake.quakec.builtins` (parm string).
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `parmString`. |
index | dynamic | — | Zero-based index of the requested entry. |
function parmVector(machine, index)Return parm vector derived from the active module state.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `parmVector`. |
index | dynamic | — | Zero-based index of the requested entry. |
function parmWord(machine, index)Implements the `parmWord` operation for `miniquake.quakec.builtins` (parm word).
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `parmWord`. |
index | dynamic | — | Zero-based index of the requested entry. |
function particleBuiltin(machine)Implements the `particleBuiltin` operation for `miniquake.quakec.builtins` (particle builtin).
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `particleBuiltin`. |
function PF_aim(machine)Mirror Quake's PF_aim routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `PF_aim`. |
function PF_ambientsound(machine)Mirror Quake's PF_ambientsound routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `PF_ambientsound`. |
function PF_bprint(machine)Mirror Quake's PF_bprint routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `PF_bprint`. |
function PF_break(machine)Mirror Quake's PF_break routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `PF_break`. |
function PF_ceil(machine)Mirror Quake's PF_ceil routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `PF_ceil`. |
function PF_centerprint(machine)Mirror Quake's PF_centerprint routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `PF_centerprint`. |
function PF_changelevel(machine)Mirror Quake's PF_changelevel routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `PF_changelevel`. |
function PF_changepitch(machine)Mirror Quake's PF_changepitch routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `PF_changepitch`. |
function PF_changeyaw(machine)Mirror Quake's PF_changeyaw routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `PF_changeyaw`. |
function PF_checkbottom(machine)Mirror Quake's PF_checkbottom routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `PF_checkbottom`. |
function PF_checkclient(machine)Mirror Quake's PF_checkclient routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `PF_checkclient`. |
function PF_checkpos(machine)Mirror Quake's PF_checkpos routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `PF_checkpos`. |
function PF_coredump(machine)Mirror Quake's PF_coredump routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `PF_coredump`. |
function PF_cos(machine)Mirror Quake's PF_cos routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `PF_cos`. |
function PF_cvar(machine)Mirror Quake's PF_cvar routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `PF_cvar`. |
function PF_cvar_set(machine)Mirror Quake's PF_cvar_set routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `PF_cvar_set`. |
function PF_dprint(machine)Mirror Quake's PF_dprint routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `PF_dprint`. |
function PF_droptofloor(machine)Mirror Quake's PF_droptofloor routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `PF_droptofloor`. |
function PF_eprint(machine)Mirror Quake's PF_eprint routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `PF_eprint`. |
function PF_error(machine)Mirror Quake's PF_error routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `PF_error`. |
function PF_etos(machine)Mirror Quake's PF_etos routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `PF_etos`. |
function PF_fabs(machine)Mirror Quake's PF_fabs routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `PF_fabs`. |
function PF_Find(machine)Mirror Quake's PF_Find routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `PF_Find`. |
function PF_findradius(machine)Mirror Quake's PF_findradius routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `PF_findradius`. |
function PF_Fixme(machine)Mirror Quake's PF_Fixme routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `PF_Fixme`. |
function PF_floor(machine)Mirror Quake's PF_floor routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `PF_floor`. |
function PF_ftos(machine)Mirror Quake's PF_ftos routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `PF_ftos`. |
function PF_lightstyle(machine)Mirror Quake's PF_lightstyle routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `PF_lightstyle`. |
function PF_localcmd(machine)Mirror Quake's PF_localcmd routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `PF_localcmd`. |
function PF_makestatic(machine)Mirror Quake's PF_makestatic routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `PF_makestatic`. |
function PF_makevectors(machine)Mirror Quake's PF_makevectors routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `PF_makevectors`. |
function PF_newcheckclient(machine, check)Mirror Quake's PF_newcheckclient routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `PF_newcheckclient`. |
check | dynamic | — | The check input consumed by `PF_newcheckclient`. |
function PF_nextent(machine)Mirror Quake's PF_nextent routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `PF_nextent`. |
function PF_normalize(machine)Mirror Quake's PF_normalize routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `PF_normalize`. |
function PF_objerror(machine)Mirror Quake's PF_objerror routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `PF_objerror`. |
function PF_particle(machine)Mirror Quake's PF_particle routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `PF_particle`. |
function PF_pointcontents(machine)Mirror Quake's PF_pointcontents routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `PF_pointcontents`. |
function PF_precache_file(machine)Mirror Quake's PF_precache_file routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `PF_precache_file`. |
function PF_precache_model(machine)Mirror Quake's PF_precache_model routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `PF_precache_model`. |
function PF_precache_sound(machine)Mirror Quake's PF_precache_sound routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `PF_precache_sound`. |
function PF_random(machine)Mirror Quake's PF_random routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `PF_random`. |
function PF_Remove(machine)Mirror Quake's PF_Remove routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `PF_Remove`. |
function PF_rint(machine)Mirror Quake's PF_rint routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `PF_rint`. |
function PF_setmodel(machine)Mirror Quake's PF_setmodel routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `PF_setmodel`. |
function PF_setorigin(machine)Mirror Quake's PF_setorigin routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `PF_setorigin`. |
function PF_setsize(machine)Mirror Quake's PF_setsize routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `PF_setsize`. |
function PF_setspawnparms(machine)Mirror Quake's PF_setspawnparms routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `PF_setspawnparms`. |
function PF_sin(machine)Mirror Quake's PF_sin routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `PF_sin`. |
function PF_sound(machine)Mirror Quake's PF_sound routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `PF_sound`. |
function PF_Spawn(machine)Mirror Quake's PF_Spawn routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `PF_Spawn`. |
function PF_sprint(machine)Mirror Quake's PF_sprint routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `PF_sprint`. |
function PF_sqrt(machine)Mirror Quake's PF_sqrt routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `PF_sqrt`. |
function PF_stuffcmd(machine)Mirror Quake's PF_stuffcmd routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `PF_stuffcmd`. |
function PF_traceline(machine)Mirror Quake's PF_traceline routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `PF_traceline`. |
function PF_traceoff(machine)Mirror Quake's PF_traceoff routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `PF_traceoff`. |
function PF_traceon(machine)Mirror Quake's PF_traceon routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `PF_traceon`. |
function PF_TraceToss(machine)Mirror Quake's PF_TraceToss routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `PF_TraceToss`. |
function PF_VarString(machine, first)MiniQuake pr_cmds.c entry points. These names intentionally mirror the C source so every target function has a concrete, searchable MiniLang pendant.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `PF_VarString`. |
first | dynamic | — | The first input consumed by `PF_VarString`. |
function PF_vectoangles(machine)Mirror Quake's PF_vectoangles routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `PF_vectoangles`. |
function PF_vectoyaw(machine)Mirror Quake's PF_vectoyaw routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `PF_vectoyaw`. |
function PF_vlen(machine)Mirror Quake's PF_vlen routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `PF_vlen`. |
function PF_vtos(machine)Mirror Quake's PF_vtos routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `PF_vtos`. |
function PF_walkmove(machine)Mirror Quake's PF_walkmove routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `PF_walkmove`. |
function PF_WaterMove(machine)Mirror Quake's PF_WaterMove routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `PF_WaterMove`. |
function PF_WriteAngle(machine)Mirror Quake's PF_WriteAngle routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `PF_WriteAngle`. |
function PF_WriteByte(machine)Mirror Quake's PF_WriteByte routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `PF_WriteByte`. |
function PF_WriteChar(machine)Mirror Quake's PF_WriteChar routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `PF_WriteChar`. |
function PF_WriteCoord(machine)Mirror Quake's PF_WriteCoord routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `PF_WriteCoord`. |
function PF_WriteEntity(machine)Mirror Quake's PF_WriteEntity routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `PF_WriteEntity`. |
function PF_WriteLong(machine)Mirror Quake's PF_WriteLong routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `PF_WriteLong`. |
function PF_WriteShort(machine)Mirror Quake's PF_WriteShort routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `PF_WriteShort`. |
function PF_WriteString(machine)Mirror Quake's PF_WriteString routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `PF_WriteString`. |
function pointContentsBuiltin(machine)Implements the `pointContentsBuiltin` operation for `miniquake.quakec.builtins` (point contents builtin).
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `pointContentsBuiltin`. |
function PR_CheckEmptyString(value)Mirror Quake's PR_CheckEmptyString routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
value | dynamic | — | Value consumed by `PR_CheckEmptyString`. |
function precacheFileBuiltin(machine)Preload and register the file builtin asset.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `precacheFileBuiltin`. |
function precacheIndex(values, name)Preload and register the index asset.
| Parameter | Type | Default | Description |
|---|---|---|---|
values | dynamic | — | The values input consumed by `precacheIndex`. |
name | dynamic | — | Stable name that identifies the requested object or option. |
function precacheModelBuiltin(machine)Preload and register the model builtin asset.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `precacheModelBuiltin`. |
function precacheSoundBuiltin(machine)Preload and register the sound builtin asset.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `precacheSoundBuiltin`. |
function randomBuiltin(machine)Implements the `randomBuiltin` operation for `miniquake.quakec.builtins` (random builtin).
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `randomBuiltin`. |
function releaseEdict(machine, entityIndex)Release or remove state for edict.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `releaseEdict`. |
entityIndex | dynamic | — | Zero-based index of the requested entry. |
function removeBuiltin(machine)Release state for remove builtin.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `removeBuiltin`. |
function returnFloat(machine, value)Implements the `returnFloat` operation for `miniquake.quakec.builtins` (return float).
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `returnFloat`. |
value | dynamic | — | Value consumed by `returnFloat`. |
function returnString(machine, text)Implements the `returnString` operation for `miniquake.quakec.builtins` (return string).
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `returnString`. |
text | dynamic | — | Text to parse or process. |
function returnTemporaryString(machine, text)Implements the `returnTemporaryString` operation for `miniquake.quakec.builtins` (return temporary string).
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `returnTemporaryString`. |
text | dynamic | — | Text to parse or process. |
function returnVector(machine, value)Return return vector derived from the active module state.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `returnVector`. |
value | dynamic | — | Value consumed by `returnVector`. |
function returnWord(machine, value)Implements the `returnWord` operation for `miniquake.quakec.builtins` (return word).
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `returnWord`. |
value | dynamic | — | Value consumed by `returnWord`. |
function roundBuiltin(machine)Implements the `roundBuiltin` operation for `miniquake.quakec.builtins` (round builtin).
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `roundBuiltin`. |
function roundHalfEvenPositive(value)Implements the `roundHalfEvenPositive` operation for `miniquake.quakec.builtins` (round half even positive).
| Parameter | Type | Default | Description |
|---|---|---|---|
value | dynamic | — | Value consumed by `roundHalfEvenPositive`. |
function setEntityFloat(machine, entityIndex, name, value)Sets entity float for `miniquake.quakec.builtins`.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `setEntityFloat`. |
entityIndex | dynamic | — | Zero-based index of the requested entry. |
name | dynamic | — | Stable name that identifies the requested object or option. |
value | dynamic | — | Value consumed by `setEntityFloat`. |
function setEntityVector(machine, entityIndex, name, value)Sets entity vector for `miniquake.quakec.builtins`.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `setEntityVector`. |
entityIndex | dynamic | — | Zero-based index of the requested entry. |
name | dynamic | — | Stable name that identifies the requested object or option. |
value | dynamic | — | Value consumed by `setEntityVector`. |
function setEntityWord(machine, entityIndex, name, value)Update module state for entity word.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `setEntityWord`. |
entityIndex | dynamic | — | Zero-based index of the requested entry. |
name | dynamic | — | Stable name that identifies the requested object or option. |
value | dynamic | — | Value consumed by `setEntityWord`. |
function setFloat(machine, offset, value)Update module state for float.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `setFloat`. |
offset | dynamic | — | Zero-based offset of the requested data. |
value | dynamic | — | Value consumed by `setFloat`. |
function setGlobalFloat(machine, name, value)Update module state for global float.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `setGlobalFloat`. |
name | dynamic | — | Stable name that identifies the requested object or option. |
value | dynamic | — | Value consumed by `setGlobalFloat`. |
function setGlobalVector(machine, name, value)Update module state for global vector.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `setGlobalVector`. |
name | dynamic | — | Stable name that identifies the requested object or option. |
value | dynamic | — | Value consumed by `setGlobalVector`. |
function setGlobalWord(machine, name, value)Update module state for global word.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `setGlobalWord`. |
name | dynamic | — | Stable name that identifies the requested object or option. |
value | dynamic | — | Value consumed by `setGlobalWord`. |
function SetMinMaxSize(machine, entityIndex, mins, maxs, rotate)Update module state for min max size.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `SetMinMaxSize`. |
entityIndex | dynamic | — | Zero-based index of the requested entry. |
mins | dynamic | — | The mins input consumed by `SetMinMaxSize`. |
maxs | dynamic | — | The maxs input consumed by `SetMinMaxSize`. |
rotate | dynamic | — | The rotate input consumed by `SetMinMaxSize`. |
function setMinMaxSize(machine, entityIndex, mins, maxs, rotate)Update module state for min max size.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `setMinMaxSize`. |
entityIndex | dynamic | — | Zero-based index of the requested entry. |
mins | dynamic | — | The mins input consumed by `setMinMaxSize`. |
maxs | dynamic | — | The maxs input consumed by `setMinMaxSize`. |
rotate | dynamic | — | The rotate input consumed by `setMinMaxSize`. |
function setModel(machine)Update module state for model.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `setModel`. |
function setOrigin(machine)Update module state for origin.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `setOrigin`. |
function setSize(machine)Update module state for size.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `setSize`. |
function setSpawnParmsBuiltin(machine)Update module state for spawn parms builtin.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `setSpawnParmsBuiltin`. |
function setTraceGlobals(machine, trace)Update module state for trace globals.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `setTraceGlobals`. |
trace | dynamic | — | The trace input consumed by `setTraceGlobals`. |
function setVectorValue(machine, offset, value)Update module state for vector value.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `setVectorValue`. |
offset | dynamic | — | Zero-based offset of the requested data. |
value | dynamic | — | Value consumed by `setVectorValue`. |
function setWord(machine, offset, value)Update module state for word.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `setWord`. |
offset | dynamic | — | Zero-based offset of the requested data. |
value | dynamic | — | Value consumed by `setWord`. |
function soundBuiltin(machine)Implements the `soundBuiltin` operation for `miniquake.quakec.builtins` (sound builtin).
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `soundBuiltin`. |
function spawnBuiltin(machine)Allocate and initialize builtin.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `spawnBuiltin`. |
function stringAt(machine, handle)Implements the `stringAt` operation for `miniquake.quakec.builtins` (string at).
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `stringAt`. |
handle | dynamic | — | The handle input consumed by `stringAt`. |
function stuffCommandBuiltin(machine)Implements the `stuffCommandBuiltin` operation for `miniquake.quakec.builtins` (stuff command builtin).
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `stuffCommandBuiltin`. |
function traceEntityMove(machine, entityIndex, start, finish)Trace entity move through the collision world.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `traceEntityMove`. |
entityIndex | dynamic | — | Zero-based index of the requested entry. |
start | dynamic | — | The start input consumed by `traceEntityMove`. |
finish | dynamic | — | The finish input consumed by `traceEntityMove`. |
function traceLineBuiltin(machine)Trace line builtin through the collision world.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `traceLineBuiltin`. |
function traceOffBuiltin(machine)Trace off builtin through the collision world.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `traceOffBuiltin`. |
function traceOnBuiltin(machine)Trace on builtin through the collision world.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `traceOnBuiltin`. |
function updateBounds(machine, entityIndex)Update module state for bounds.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `updateBounds`. |
entityIndex | dynamic | — | Zero-based index of the requested entry. |
function varString(machine, first)Implements the `varString` operation for `miniquake.quakec.builtins` (var string).
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `varString`. |
first | dynamic | — | The first input consumed by `varString`. |
function vectorAnglesBuiltin(machine)Implements the `vectorAnglesBuiltin` operation for `miniquake.quakec.builtins` (vector angles builtin).
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `vectorAnglesBuiltin`. |
function vectorLengthBuiltin(machine)Implements the `vectorLengthBuiltin` operation for `miniquake.quakec.builtins` (vector length builtin).
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `vectorLengthBuiltin`. |
function vectorToStringBuiltin(machine)Implements the `vectorToStringBuiltin` operation for `miniquake.quakec.builtins` (vector to string builtin).
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `vectorToStringBuiltin`. |
function vectorValue(machine, offset)Return vector value derived from the active module state.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `vectorValue`. |
offset | dynamic | — | Zero-based offset of the requested data. |
function vectorYawBuiltin(machine)Implements the `vectorYawBuiltin` operation for `miniquake.quakec.builtins` (vector yaw builtin).
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `vectorYawBuiltin`. |
function walkMoveBuiltin(machine)Implements the `walkMoveBuiltin` operation for `miniquake.quakec.builtins` (walk move builtin).
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `walkMoveBuiltin`. |
function word(machine, offset)Implements the `word` operation for `miniquake.quakec.builtins` (word).
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `word`. |
offset | dynamic | — | Zero-based offset of the requested data. |
function writeAngleBuiltin(machine)Encode and write angle builtin.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `writeAngleBuiltin`. |
function writeByteBuiltin(machine)Encode and write byte builtin.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `writeByteBuiltin`. |
function writeCharBuiltin(machine)Encode and write char builtin.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `writeCharBuiltin`. |
function writeCoordBuiltin(machine)Encode and write coord builtin.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `writeCoordBuiltin`. |
function WriteDest(machine)Encode and write dest.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `WriteDest`. |
function writeEntityBuiltin(machine)Encode and write entity builtin.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `writeEntityBuiltin`. |
function writeLongBuiltin(machine)Encode and write long builtin.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `writeLongBuiltin`. |
function writeShortBuiltin(machine)Encode and write short builtin.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `writeShortBuiltin`. |
function writeStaticBaseline(buffer, machine, entityIndex)Encode and write static baseline.
| Parameter | Type | Default | Description |
|---|---|---|---|
buffer | dynamic | — | The buffer input consumed by `writeStaticBaseline`. |
machine | dynamic | — | The machine input consumed by `writeStaticBaseline`. |
entityIndex | dynamic | — | Zero-based index of the requested entry. |
function writeStringBuiltin(machine)Encode and write string builtin.
| Parameter | Type | Default | Description |
|---|---|---|---|
machine | dynamic | — | The machine input consumed by `writeStringBuiltin`. |