Files
src/miniquake/host.ml
- Package
miniquake.host- Reachable
- Yes
Imports
Declarations
# _Host_Frame
function _Host_Frame(session, elapsedSeconds)
Apply the Quake-compatible host frame behavior.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `_Host_Frame`. |
elapsedSeconds | dynamic | — | The elapsed seconds input consumed by `_Host_Frame`. |
View source
# _Host_ServerFrame
function _Host_ServerFrame(session)
Apply the Quake-compatible host server frame behavior.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `_Host_ServerFrame`. |
View source
# activeServerClients
function activeServerClients(session)
Report whether active server clients holds for the active state.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `activeServerClients`. |
View source
# appendVisibleStaticEntities
function appendVisibleStaticEntities(session, dynamicEntities)
Append only static entities linked into leaves visible from the current world PVS. CL_RelinkEntities intentionally contains dynamic entities only; this is the production counterpart of GLQuake's R_StoreEfrags calls made while traversing visible world leaves.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `appendVisibleStaticEntities`. |
dynamicEntities | dynamic | — | The dynamic entities input consumed by `appendVisibleStaticEntities`. |
View source
# beginDemoRecording
function beginDemoRecording(session, arguments)
Initialize state for begin demo recording.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `beginDemoRecording`. |
arguments | dynamic | — | Command-line arguments to inspect or execute. |
View source
# captureUiResolutionScene
function captureUiResolutionScene(session, outputPrefix, expectedWidth, expectedHeight)
Implements the `captureUiResolutionScene` operation for `miniquake.host` (capture ui resolution scene).
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `captureUiResolutionScene`. |
outputPrefix | dynamic | — | The output prefix input consumed by `captureUiResolutionScene`. |
expectedWidth | dynamic | — | The expected width input consumed by `captureUiResolutionScene`. |
expectedHeight | dynamic | — | The expected height input consumed by `captureUiResolutionScene`. |
View source
# changeLevel
function changeLevel(session, mapName)
Update subsystem configuration for change level.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `changeLevel`. |
mapName | dynamic | — | Name of the map to load or inspect. |
View source
# clearInactivePresentationWorld
function clearInactivePresentationWorld(session)
Clear the non-authoritative world retained solely for demo or remote presentation. A live local server owns these fields and must keep them across renderer rebuilds; an inactive server must not let an old demo BSP suppress preparation of the next remote server's world.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `clearInactivePresentationWorld`. |
View source
# commandNeverExists
function commandNeverExists(name)
Report whether command never exists holds for the active state.
| Parameter | Type | Default | Description |
|---|
name | dynamic | — | Stable name that identifies the requested object or option. |
View source
# configureNetworkQueries
function configureNetworkQueries(session)
Update subsystem configuration for configure network queries.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `configureNetworkQueries`. |
View source
# connectRemoteHost
function connectRemoteHost(session, hostName)
Establish remote host using the active network transport.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `connectRemoteHost`. |
hostName | dynamic | — | Name that identifies the requested value or resource. |
View source
# connectRemoteHostInterop
function connectRemoteHostInterop(session, hostName, timeoutMilliseconds, resendMilliseconds)
Establish remote host interop using the active network transport.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `connectRemoteHostInterop`. |
hostName | dynamic | — | Name that identifies the requested value or resource. |
timeoutMilliseconds | dynamic | — | The timeout milliseconds input consumed by `connectRemoteHostInterop`. |
resendMilliseconds | dynamic | — | The resend milliseconds input consumed by `connectRemoteHostInterop`. |
View source
# consumeClientEvents
function consumeClientEvents(session)
Consume pending state for consume client events.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `consumeClientEvents`. |
View source
# consumeConsoleSideEffects
function consumeConsoleSideEffects(session)
console.c performs these two effects synchronously from Con_Print/Con_Printf. MiniLang records them on ConsoleState so the host can invoke the production audio and screen paths without creating a console<->host import cycle.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `consumeConsoleSideEffects`. |
View source
# consumeQuakeCControl
function consumeQuakeCControl(session)
Consume pending state for consume quake ccontrol.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `consumeQuakeCControl`. |
View source
# consumeRelinkParticleEffects
function consumeRelinkParticleEffects(session)
Consume pending state for consume relink particle effects.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `consumeRelinkParticleEffects`. |
View source
# create
function create(args)
Implements the `create` operation for `miniquake.host` (create).
| Parameter | Type | Default | Description |
|---|
args | dynamic | — | Command-line arguments supplied by the host process. |
View source
# createCvars
function createCvars(commandLine, registered)
Create and initialize cvars.
| Parameter | Type | Default | Description |
|---|
commandLine | dynamic | — | The command line input consumed by `createCvars`. |
registered | dynamic | — | The registered input consumed by `createCvars`. |
View source
# cvarCommand
function cvarCommand(session, arguments)
Implements the `cvarCommand` operation for `miniquake.host` (cvar command).
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `cvarCommand`. |
arguments | dynamic | — | Command-line arguments to inspect or execute. |
View source
# destroyScene
function destroyScene(session)
Release resources owned by scene.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `destroyScene`. |
View source
# deterministicInputRequested
function deterministicInputRequested(session)
Implements the `deterministicInputRequested` operation for `miniquake.host` (deterministic input requested).
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `deterministicInputRequested`. |
View source
# discardTextInput
function discardTextInput()
Release or consume state for discard text input.
View source
# executeCommand
function executeCommand(session, text)
Execute command.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `executeCommand`. |
text | dynamic | — | Text to parse or process. |
View source
# executeCommandBuffer
function executeCommandBuffer(session, maximumCommands)
Execute command buffer.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `executeCommandBuffer`. |
maximumCommands | dynamic | — | The maximum commands input consumed by `executeCommandBuffer`. |
View source
# failedMapTransition
function failedMapTransition(session, result)
Implements the `failedMapTransition` operation for `miniquake.host` (failed map transition).
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `failedMapTransition`. |
result | dynamic | — | Result value to report or translate into a status code. |
View source
# filterTime
function filterTime(timing, newRealtime, maxFps, forcedFrameRate, timedemo)
Implements the `filterTime` operation for `miniquake.host` (filter time).
| Parameter | Type | Default | Description |
|---|
timing | dynamic | — | The timing input consumed by `filterTime`. |
newRealtime | dynamic | — | Time value used by the operation. |
maxFps | dynamic | — | The max fps input consumed by `filterTime`. |
forcedFrameRate | dynamic | — | The forced frame rate input consumed by `filterTime`. |
timedemo | dynamic | — | The timedemo input consumed by `filterTime`. |
View source
# findAlias
function findAlias(system, name)
Return alias.
| Parameter | Type | Default | Description |
|---|
system | dynamic | — | The system input consumed by `findAlias`. |
name | dynamic | — | Stable name that identifies the requested object or option. |
View source
# FindViewthing
function FindViewthing(session)
Return viewthing.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `FindViewthing`. |
View source
# finishDemoPlayback
function finishDemoPlayback(session)
Finalize state for finish demo playback.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `finishDemoPlayback`. |
View source
# finishLoadingPresentation
function finishLoadingPresentation(session)
Present one non-simulating loading frame after the new renderer and all level assets exist. This moves the driver's one-time first SwapBuffers cost out of the first ordinary Host_Frame while retaining four stock-order warmup updates under the loading plaque.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `finishLoadingPresentation`. |
View source
# finishLocalMapConnection
function finishLocalMapConnection(session, preserveClients)
Finalize state for finish local map connection.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `finishLocalMapConnection`. |
preserveClients | dynamic | — | The preserve clients input consumed by `finishLocalMapConnection`. |
View source
# firstRemoteServerClient
function firstRemoteServerClient(session)
Return first remote server client for the active module state.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `firstRemoteServerClient`. |
View source
# flushServerCvarChanges
function flushServerCvarChanges(session)
Implements the `flushServerCvarChanges` operation for `miniquake.host` (flush server cvar changes).
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `flushServerCvarChanges`. |
View source
# frame
function frame(session, elapsedSeconds)
Implements the `frame` operation for `miniquake.host` (frame).
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `frame`. |
elapsedSeconds | dynamic | — | The elapsed seconds input consumed by `frame`. |
View source
# gameplayMouseEnabled
function gameplayMouseEnabled(session)
Report whether gameplay mouse enabled holds for the active state.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `gameplayMouseEnabled`. |
View source
# handleExactMenuAction
function handleExactMenuAction(session, result)
Handle exact menu action and update the associated state.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `handleExactMenuAction`. |
result | dynamic | — | Result value to report or translate into a status code. |
View source
# handleKeyResult
function handleKeyResult(session, result)
Handle key result and update the associated state.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `handleKeyResult`. |
result | dynamic | — | Result value to report or translate into a status code. |
View source
# handleMenuKey
function handleMenuKey(session, key)
Handle menu key and update the associated state.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `handleMenuKey`. |
key | dynamic | — | Key used to identify the requested entry. |
View source
# Host_Begin_f
function Host_Begin_f()
Apply the Quake-compatible host begin f behavior.
View source
# Host_Changelevel2_f
function Host_Changelevel2_f(session, arguments)
Apply the Quake-compatible host changelevel2 f behavior.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `Host_Changelevel2_f`. |
arguments | dynamic | — | Command-line arguments to inspect or execute. |
View source
# Host_Changelevel_f
function Host_Changelevel_f(session, arguments)
Apply the Quake-compatible host changelevel f behavior.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `Host_Changelevel_f`. |
arguments | dynamic | — | Command-line arguments to inspect or execute. |
View source
# Host_CheatHelpLines
function Host_CheatHelpLines()
Return the console help shown for MiniQuake's supported cheat commands.
View source
# Host_Cheats_f
function Host_Cheats_f(session)
Print the complete cheat reference from either accepted help alias.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `Host_Cheats_f`. |
View source
# Host_ClearMemory
function Host_ClearMemory(session)
Apply the Quake-compatible host clear memory behavior.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `Host_ClearMemory`. |
View source
# Host_ClientCommands
function Host_ClientCommands(clientValue, text)
Apply the Quake-compatible host client commands behavior.
| Parameter | Type | Default | Description |
|---|
clientValue | dynamic | — | The client value input consumed by `Host_ClientCommands`. |
text | dynamic | — | Text to parse or process. |
View source
# Host_Color_f
function Host_Color_f(session, arguments)
Apply the Quake-compatible host color f behavior.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `Host_Color_f`. |
arguments | dynamic | — | Command-line arguments to inspect or execute. |
View source
# Host_Connect_f
function Host_Connect_f(session, arguments)
Apply the Quake-compatible host connect f behavior.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `Host_Connect_f`. |
arguments | dynamic | — | Command-line arguments to inspect or execute. |
View source
# Host_Demos_f
function Host_Demos_f(session)
Apply the Quake-compatible host demos f behavior.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `Host_Demos_f`. |
View source
# Host_Disconnect_f
function Host_Disconnect_f(session)
Apply the Quake-compatible host disconnect f behavior.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `Host_Disconnect_f`. |
View source
# Host_DispatchCommand
function Host_DispatchCommand(session, text, arguments)
Apply the Quake-compatible host dispatch command behavior.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `Host_DispatchCommand`. |
text | dynamic | — | Text to parse or process. |
arguments | dynamic | — | Command-line arguments to inspect or execute. |
View source
# Host_Edict_f
function Host_Edict_f(session, arguments)
Apply the Quake-compatible host edict f behavior.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `Host_Edict_f`. |
arguments | dynamic | — | Command-line arguments to inspect or execute. |
View source
# Host_EdictCount_f
function Host_EdictCount_f(session)
Apply the Quake-compatible host edict count f behavior.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `Host_EdictCount_f`. |
View source
# Host_Edicts_f
function Host_Edicts_f(session)
Apply the Quake-compatible host edicts f behavior.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `Host_Edicts_f`. |
View source
# Host_EndGame
function Host_EndGame(session, message)
Apply the Quake-compatible host end game behavior.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `Host_EndGame`. |
message | dynamic | — | Diagnostic message that explains a failure or event. |
View source
# Host_Error
function Host_Error(session, message)
Apply the Quake-compatible host error behavior.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `Host_Error`. |
message | dynamic | — | Diagnostic message that explains a failure or event. |
View source
# Host_FilterTime
function Host_FilterTime(session, elapsedSeconds)
Apply the Quake-compatible host filter time behavior.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `Host_FilterTime`. |
elapsedSeconds | dynamic | — | The elapsed seconds input consumed by `Host_FilterTime`. |
View source
# Host_FindMaxClients
function Host_FindMaxClients(arguments)
Apply the Quake-compatible host find max clients behavior.
| Parameter | Type | Default | Description |
|---|
arguments | dynamic | — | Command-line arguments to inspect or execute. |
View source
# Host_FlushCache_f
function Host_FlushCache_f(session)
Apply the Quake-compatible host flush cache f behavior.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `Host_FlushCache_f`. |
View source
# Host_FlushPendingClientMessages
function Host_FlushPendingClientMessages(session, timeoutSeconds)
Apply the Quake-compatible host flush pending client messages behavior.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `Host_FlushPendingClientMessages`. |
timeoutSeconds | dynamic | — | The timeout seconds input consumed by `Host_FlushPendingClientMessages`. |
View source
# Host_Fly_f
function Host_Fly_f(session)
Apply the Quake-compatible host fly f behavior.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `Host_Fly_f`. |
View source
# Host_ForwardToServer
function Host_ForwardToServer(session, text)
Apply the Quake-compatible host forward to server behavior.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `Host_ForwardToServer`. |
text | dynamic | — | Text to parse or process. |
View source
# Host_Frame
function Host_Frame(session, elapsedSeconds)
Apply the Quake-compatible host frame behavior.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `Host_Frame`. |
elapsedSeconds | dynamic | — | The elapsed seconds input consumed by `Host_Frame`. |
View source
# Host_GetConsoleCommands
function Host_GetConsoleCommands(session, inputLines)
Apply the Quake-compatible host get console commands behavior.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `Host_GetConsoleCommands`. |
inputLines | dynamic | — | The input lines input consumed by `Host_GetConsoleCommands`. |
View source
# Host_Give_f
function Host_Give_f(session, arguments)
Apply the Quake-compatible host give f behavior.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `Host_Give_f`. |
arguments | dynamic | — | Command-line arguments to inspect or execute. |
View source
# Host_God_f
function Host_God_f(session)
Apply the Quake-compatible host god f behavior.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `Host_God_f`. |
View source
# Host_Init
function Host_Init(session)
Apply the Quake-compatible host init behavior.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `Host_Init`. |
View source
# Host_InitCommands
function Host_InitCommands()
Apply the Quake-compatible host init commands behavior.
View source
# Host_InitLocal
function Host_InitLocal(session)
Apply the Quake-compatible host init local behavior.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `Host_InitLocal`. |
View source
# Host_InitVCR
function Host_InitVCR(session)
Apply the Quake-compatible host init vcr behavior.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `Host_InitVCR`. |
View source
# Host_Invisible_f
function Host_Invisible_f(session)
Forward the MiniQuake AI-invisibility cheat to the authoritative server.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `Host_Invisible_f`. |
View source
# Host_Kick_f
function Host_Kick_f(session, arguments)
Apply the Quake-compatible host kick f behavior.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `Host_Kick_f`. |
arguments | dynamic | — | Command-line arguments to inspect or execute. |
View source
# Host_Kill_f
function Host_Kill_f(session)
Apply the Quake-compatible host kill f behavior.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `Host_Kill_f`. |
View source
# Host_Loadgame_f
function Host_Loadgame_f(session, arguments)
Apply the Quake-compatible host loadgame f behavior.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `Host_Loadgame_f`. |
arguments | dynamic | — | Command-line arguments to inspect or execute. |
View source
# Host_Map_f
function Host_Map_f(session, arguments)
Apply the Quake-compatible host map f behavior.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `Host_Map_f`. |
arguments | dynamic | — | Command-line arguments to inspect or execute. |
View source
# Host_Mod_Print
function Host_Mod_Print(session)
Apply the Quake-compatible host mod print behavior.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `Host_Mod_Print`. |
View source
# Host_Name_f
function Host_Name_f(session, arguments)
Apply the Quake-compatible host name f behavior.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `Host_Name_f`. |
arguments | dynamic | — | Command-line arguments to inspect or execute. |
View source
# Host_Noclip_f
function Host_Noclip_f(session)
Apply the Quake-compatible host noclip f behavior.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `Host_Noclip_f`. |
View source
# Host_Notarget_f
function Host_Notarget_f(session)
Apply the Quake-compatible host notarget f behavior.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `Host_Notarget_f`. |
View source
# Host_Pause_f
function Host_Pause_f(session)
Apply the Quake-compatible host pause f behavior.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `Host_Pause_f`. |
View source
# Host_Ping_f
function Host_Ping_f(session)
Apply the Quake-compatible host ping f behavior.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `Host_Ping_f`. |
View source
# Host_Please_f
function Host_Please_f(session, arguments)
Apply the Quake-compatible host please f behavior.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `Host_Please_f`. |
arguments | dynamic | — | Command-line arguments to inspect or execute. |
View source
# Host_PreSpawn_f
function Host_PreSpawn_f()
Apply the Quake-compatible host pre spawn f behavior.
View source
# Host_Profile_f
function Host_Profile_f(session)
Apply the Quake-compatible host profile f behavior.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `Host_Profile_f`. |
View source
# Host_Quit_f
function Host_Quit_f(session)
Apply the Quake-compatible host quit f behavior.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `Host_Quit_f`. |
View source
# Host_Reconnect_f
function Host_Reconnect_f(session)
Apply the Quake-compatible host reconnect f behavior.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `Host_Reconnect_f`. |
View source
# Host_Restart_f
function Host_Restart_f(session)
Apply the Quake-compatible host restart f behavior.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `Host_Restart_f`. |
View source
# Host_Savegame_f
function Host_Savegame_f(session, arguments)
Apply the Quake-compatible host savegame f behavior.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `Host_Savegame_f`. |
arguments | dynamic | — | Command-line arguments to inspect or execute. |
View source
# Host_Say
function Host_Say(session, arguments, teamOnly)
Apply the Quake-compatible host say behavior.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `Host_Say`. |
arguments | dynamic | — | Command-line arguments to inspect or execute. |
teamOnly | dynamic | — | The team only input consumed by `Host_Say`. |
View source
# Host_Say_f
function Host_Say_f(session, arguments)
Apply the Quake-compatible host say f behavior.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `Host_Say_f`. |
arguments | dynamic | — | Command-line arguments to inspect or execute. |
View source
# Host_Say_Team_f
function Host_Say_Team_f(session, arguments)
Apply the Quake-compatible host say team f behavior.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `Host_Say_Team_f`. |
arguments | dynamic | — | Command-line arguments to inspect or execute. |
View source
# Host_ServerFrame
function Host_ServerFrame(session)
Apply the Quake-compatible host server frame behavior.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `Host_ServerFrame`. |
View source
# Host_Shutdown
function Host_Shutdown(session)
Apply the Quake-compatible host shutdown behavior.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `Host_Shutdown`. |
View source
# Host_ShutdownServer
function Host_ShutdownServer(session, crash)
Apply the Quake-compatible host shutdown server behavior.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `Host_ShutdownServer`. |
crash | dynamic | — | The crash input consumed by `Host_ShutdownServer`. |
View source
# Host_Spawn_f
function Host_Spawn_f()
Apply the Quake-compatible host spawn f behavior.
View source
# Host_Startdemos_f
function Host_Startdemos_f(session, arguments)
Apply the Quake-compatible host startdemos f behavior.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `Host_Startdemos_f`. |
arguments | dynamic | — | Command-line arguments to inspect or execute. |
View source
# Host_Status_f
function Host_Status_f(session)
Apply the Quake-compatible host status f behavior.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `Host_Status_f`. |
View source
# Host_Stopdemo_f
function Host_Stopdemo_f(session)
Apply the Quake-compatible host stopdemo f behavior.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `Host_Stopdemo_f`. |
View source
# Host_Tell_f
function Host_Tell_f(session, arguments)
Apply the Quake-compatible host tell f behavior.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `Host_Tell_f`. |
arguments | dynamic | — | Command-line arguments to inspect or execute. |
View source
# Host_Version_f
function Host_Version_f()
Apply the Quake-compatible host version f behavior.
View source
# Host_Viewframe_f
function Host_Viewframe_f(session, arguments)
Apply the Quake-compatible host viewframe f behavior.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `Host_Viewframe_f`. |
arguments | dynamic | — | Command-line arguments to inspect or execute. |
View source
# Host_Viewmodel_f
function Host_Viewmodel_f(session, arguments)
Apply the Quake-compatible host viewmodel f behavior.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `Host_Viewmodel_f`. |
arguments | dynamic | — | Command-line arguments to inspect or execute. |
View source
# Host_Viewnext_f
function Host_Viewnext_f(session)
Apply the Quake-compatible host viewnext f behavior.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `Host_Viewnext_f`. |
View source
# Host_Viewprev_f
function Host_Viewprev_f(session)
Apply the Quake-compatible host viewprev f behavior.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `Host_Viewprev_f`. |
View source
# Host_WriteConfiguration
function Host_WriteConfiguration(session)
Apply the Quake-compatible host write configuration behavior.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `Host_WriteConfiguration`. |
View source
# initialize
function initialize(session)
Initializes ialize for `miniquake.host`.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `initialize`. |
View source
# interopBool
function interopBool(value)
Implements the `interopBool` operation for `miniquake.host` (interop bool).
| Parameter | Type | Default | Description |
|---|
value | dynamic | — | Value consumed by `interopBool`. |
View source
# interopWriteReady
function interopWriteReady(outputPrefix, port, mapName)
Implements the `interopWriteReady` operation for `miniquake.host` (interop write ready).
| Parameter | Type | Default | Description |
|---|
outputPrefix | dynamic | — | The output prefix input consumed by `interopWriteReady`. |
port | dynamic | — | The port input consumed by `interopWriteReady`. |
mapName | dynamic | — | Name of the map to load or inspect. |
View source
# interopWriteSummary
function interopWriteSummary(outputPrefix, mode, success, frames, address, port, mapName, connected, spawned, signon, clientName, viewEntity, modelCount, soundCount, activeClients, errorText)
Return interop write summary derived from the active module state.
| Parameter | Type | Default | Description |
|---|
outputPrefix | dynamic | — | The output prefix input consumed by `interopWriteSummary`. |
mode | dynamic | — | The mode input consumed by `interopWriteSummary`. |
success | dynamic | — | The success input consumed by `interopWriteSummary`. |
frames | dynamic | — | The frames input consumed by `interopWriteSummary`. |
address | dynamic | — | Network address of the peer. |
port | dynamic | — | The port input consumed by `interopWriteSummary`. |
mapName | dynamic | — | Name of the map to load or inspect. |
connected | dynamic | — | The connected input consumed by `interopWriteSummary`. |
spawned | dynamic | — | The spawned input consumed by `interopWriteSummary`. |
signon | dynamic | — | The signon input consumed by `interopWriteSummary`. |
clientName | dynamic | — | Name that identifies the requested value or resource. |
viewEntity | dynamic | — | The view entity input consumed by `interopWriteSummary`. |
modelCount | dynamic | — | Number of entries or units to process. |
soundCount | dynamic | — | Number of entries or units to process. |
activeClients | dynamic | — | The active clients input consumed by `interopWriteSummary`. |
errorText | dynamic | — | The error text input consumed by `interopWriteSummary`. |
View source
# loadGame
function loadGame(session, requestedName)
Read and validate game.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `loadGame`. |
requestedName | dynamic | — | Name that identifies the requested value or resource. |
View source
# migrateModernInputConfiguration
function migrateModernInputConfiguration(session)
Upgrade legacy retail/default.cfg controls once, after every startup script has run. This repairs existing installations without overriding bindings that the player customizes after the migrated configuration is saved.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `migrateModernInputConfiguration`. |
View source
# networkCommandAddress
function networkCommandAddress(arguments)
Implements the `networkCommandAddress` operation for `miniquake.host` (network command address).
| Parameter | Type | Default | Description |
|---|
arguments | dynamic | — | Command-line arguments to inspect or execute. |
View source
# nextDemo
function nextDemo(session)
Return next demo for the active module state.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `nextDemo`. |
View source
# opt001aMapParse
function opt001aMapParse(baseDirectory, gameDirectory, mapName, outputPrefix)
Implements the `opt001aMapParse` operation for `miniquake.host` (opt001a map parse).
| Parameter | Type | Default | Description |
|---|
baseDirectory | dynamic | — | Root directory containing the Quake installation. |
gameDirectory | dynamic | — | Selected Quake game-data directory. |
mapName | dynamic | — | Name of the map to load or inspect. |
outputPrefix | dynamic | — | The output prefix input consumed by `opt001aMapParse`. |
View source
# opt001aNonHandleStable
function opt001aNonHandleStable(before, after)
Implements the `opt001aNonHandleStable` operation for `miniquake.host` (opt001a non handle stable).
| Parameter | Type | Default | Description |
|---|
before | dynamic | — | The before input consumed by `opt001aNonHandleStable`. |
after | dynamic | — | The after input consumed by `opt001aNonHandleStable`. |
View source
# opt001aResourceJson
function opt001aResourceJson(values)
Implements the `opt001aResourceJson` operation for `miniquake.host` (opt001a resource json).
| Parameter | Type | Default | Description |
|---|
values | dynamic | — | The values input consumed by `opt001aResourceJson`. |
View source
# opt001aResourceRow
function opt001aResourceRow(sampleName, frameIndex, values)
Implements the `opt001aResourceRow` operation for `miniquake.host` (opt001a resource row).
| Parameter | Type | Default | Description |
|---|
sampleName | dynamic | — | Name that identifies the requested value or resource. |
frameIndex | dynamic | — | Zero-based index of the requested entry. |
values | dynamic | — | The values input consumed by `opt001aResourceRow`. |
View source
# opt001aRunFrames
function opt001aRunFrames(session, frameCount, phase)
Implements the `opt001aRunFrames` operation for `miniquake.host` (opt001a run frames).
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `opt001aRunFrames`. |
frameCount | dynamic | — | Number of entries or units to process. |
phase | dynamic | — | The phase input consumed by `opt001aRunFrames`. |
View source
# opt001aSessionArguments
function opt001aSessionArguments(baseDirectory, gameDirectory, mapName, mode, port, width, height)
Implements the `opt001aSessionArguments` operation for `miniquake.host` (opt001a session arguments).
| Parameter | Type | Default | Description |
|---|
baseDirectory | dynamic | — | Root directory containing the Quake installation. |
gameDirectory | dynamic | — | Selected Quake game-data directory. |
mapName | dynamic | — | Name of the map to load or inspect. |
mode | dynamic | — | The mode input consumed by `opt001aSessionArguments`. |
port | dynamic | — | The port input consumed by `opt001aSessionArguments`. |
width | dynamic | — | Requested width in pixels or data units. |
height | dynamic | — | Requested height in pixels or data units. |
View source
# opt001bChangeLevelTrigger
function opt001bChangeLevelTrigger(session, destination)
Implements the `opt001bChangeLevelTrigger` operation for `miniquake.host` (opt001b change level trigger).
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `opt001bChangeLevelTrigger`. |
destination | dynamic | — | Destination value or collection to update. |
View source
# originalInteropClientNetworkProvenance
function originalInteropClientNetworkProvenance(session, controlAddress)
Implements the `originalInteropClientNetworkProvenance` operation for `miniquake.host` (original interop client network provenance).
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `originalInteropClientNetworkProvenance`. |
controlAddress | dynamic | — | The control address input consumed by `originalInteropClientNetworkProvenance`. |
View source
# playDemo
function playDemo(session, requestedName, timed)
Play demo through the active media subsystem.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `playDemo`. |
requestedName | dynamic | — | Name that identifies the requested value or resource. |
timed | dynamic | — | The timed input consumed by `playDemo`. |
View source
# playerFlagEnabled
function playerFlagEnabled(session, flag)
Report whether player flag enabled holds for the active state.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `playerFlagEnabled`. |
flag | dynamic | — | The flag input consumed by `playerFlagEnabled`. |
View source
# playLocalSound
function playLocalSound(session, name)
Play local sound through the active media subsystem.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `playLocalSound`. |
name | dynamic | — | Stable name that identifies the requested object or option. |
View source
# precachePlayableLevel
function precachePlayableLevel(session, developerValue)
Complete every deterministic client-side first-use cache before gameplay is exposed. This corresponds to the original CL_InitTEnts/S_BeginPrecaching and renderer cache work, with the modern OGG/audio queue included as well.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `precachePlayableLevel`. |
developerValue | dynamic | — | The developer value input consumed by `precachePlayableLevel`. |
View source
# prepareDemoScene
function prepareDemoScene(session)
Implements the `prepareDemoScene` operation for `miniquake.host` (prepare demo scene).
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `prepareDemoScene`. |
View source
# PrintFrameName
function PrintFrameName(model, frame)
Format and emit frame name.
| Parameter | Type | Default | Description |
|---|
model | dynamic | — | Model resource processed by the operation. |
frame | dynamic | — | The frame input consumed by `PrintFrameName`. |
View source
# printResourceDelta
function printResourceDelta(label, before, after, high)
Format and emit resource delta.
| Parameter | Type | Default | Description |
|---|
label | dynamic | — | The label input consumed by `printResourceDelta`. |
before | dynamic | — | The before input consumed by `printResourceDelta`. |
after | dynamic | — | The after input consumed by `printResourceDelta`. |
high | dynamic | — | The high input consumed by `printResourceDelta`. |
View source
# printResourceSoak
function printResourceSoak(mode, target, frameCount, before, after, high, cycles, demoMessages, stable)
Format and emit resource soak.
| Parameter | Type | Default | Description |
|---|
mode | dynamic | — | The mode input consumed by `printResourceSoak`. |
target | dynamic | — | The target input consumed by `printResourceSoak`. |
frameCount | dynamic | — | Number of entries or units to process. |
before | dynamic | — | The before input consumed by `printResourceSoak`. |
after | dynamic | — | The after input consumed by `printResourceSoak`. |
high | dynamic | — | The high input consumed by `printResourceSoak`. |
cycles | dynamic | — | The cycles input consumed by `printResourceSoak`. |
demoMessages | dynamic | — | The demo messages input consumed by `printResourceSoak`. |
stable | dynamic | — | The stable input consumed by `printResourceSoak`. |
View source
# processConsoleInput
function processConsoleInput(session)
Execute console input.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `processConsoleInput`. |
View source
# protocolQueueSnapshot
function protocolQueueSnapshot(session)
Implements the `protocolQueueSnapshot` operation for `miniquake.host` (protocol queue snapshot).
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `protocolQueueSnapshot`. |
View source
# pumpClient
function pumpClient(session)
Advance client by one processing step.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `pumpClient`. |
View source
# pumpNewConnections
function pumpNewConnections(session)
Advance new connections by one processing step.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `pumpNewConnections`. |
View source
# queueStartupCommands
function queueStartupCommands(session)
Add state for queue startup commands.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `queueStartupCommands`. |
View source
# rebuildRendererResources
function rebuildRendererResources(session)
Implements the `rebuildRendererResources` operation for `miniquake.host` (rebuild renderer resources).
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `rebuildRendererResources`. |
View source
# refreshSaveSlots
function refreshSaveSlots(session)
Implements the `refreshSaveSlots` operation for `miniquake.host` (refresh save slots).
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `refreshSaveSlots`. |
View source
# registerCvar
function registerCvar(registry, name, value, archive, serverFlag)
Update subsystem configuration for register cvar.
| Parameter | Type | Default | Description |
|---|
registry | dynamic | — | The registry input consumed by `registerCvar`. |
name | dynamic | — | Stable name that identifies the requested object or option. |
value | dynamic | — | Value consumed by `registerCvar`. |
archive | dynamic | — | The archive input consumed by `registerCvar`. |
serverFlag | dynamic | — | The server flag input consumed by `registerCvar`. |
View source
# resourceHighWater
function resourceHighWater(high, value)
Implements the `resourceHighWater` operation for `miniquake.host` (resource high water).
| Parameter | Type | Default | Description |
|---|
high | dynamic | — | The high input consumed by `resourceHighWater`. |
value | dynamic | — | Value consumed by `resourceHighWater`. |
View source
# resourceSnapshot
function resourceSnapshot(session)
Implements the `resourceSnapshot` operation for `miniquake.host` (resource snapshot).
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `resourceSnapshot`. |
View source
# resourceStable
function resourceStable(before, after)
Implements the `resourceStable` operation for `miniquake.host` (resource stable).
| Parameter | Type | Default | Description |
|---|
before | dynamic | — | The before input consumed by `resourceStable`. |
after | dynamic | — | The after input consumed by `resourceStable`. |
View source
# restartLevel
function restartLevel(session, mapName)
Implements the `restartLevel` operation for `miniquake.host` (restart level).
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `restartLevel`. |
mapName | dynamic | — | Name of the map to load or inspect. |
View source
# restartRenderer
function restartRenderer(session, backend)
Implements the `restartRenderer` operation for `miniquake.host` (restart renderer).
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `restartRenderer`. |
backend | dynamic | — | The backend input consumed by `restartRenderer`. |
View source
# restartSoakDemo
function restartSoakDemo(session, demoName)
Implements the `restartSoakDemo` operation for `miniquake.host` (restart soak demo).
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `restartSoakDemo`. |
demoName | dynamic | — | Name that identifies the requested value or resource. |
View source
# run
function run(args)
Implements the `run` operation for `miniquake.host` (run).
| Parameter | Type | Default | Description |
|---|
args | dynamic | — | Command-line arguments supplied by the host process. |
View source
# runDemoModeSoak
function runDemoModeSoak(args, demoName, frameCount)
Execute demo mode soak.
| Parameter | Type | Default | Description |
|---|
args | dynamic | — | Command-line arguments supplied by the host process. |
demoName | dynamic | — | Name that identifies the requested value or resource. |
frameCount | dynamic | — | Number of entries or units to process. |
View source
# runEndscreenEvidence
function runEndscreenEvidence(baseDirectory, gameDirectory, width, height, outputPrefix)
Execute endscreen evidence.
| Parameter | Type | Default | Description |
|---|
baseDirectory | dynamic | — | Root directory containing the Quake installation. |
gameDirectory | dynamic | — | Selected Quake game-data directory. |
width | dynamic | — | Requested width in pixels or data units. |
height | dynamic | — | Requested height in pixels or data units. |
outputPrefix | dynamic | — | The output prefix input consumed by `runEndscreenEvidence`. |
View source
# runHeadlessFrames
function runHeadlessFrames(args, frameCount)
Execute headless frames.
| Parameter | Type | Default | Description |
|---|
args | dynamic | — | Command-line arguments supplied by the host process. |
frameCount | dynamic | — | Number of entries or units to process. |
View source
# runLongSoak
function runLongSoak(baseDirectory, gameDirectory, mode, target, frameCount, port)
Execute long soak.
| Parameter | Type | Default | Description |
|---|
baseDirectory | dynamic | — | Root directory containing the Quake installation. |
gameDirectory | dynamic | — | Selected Quake game-data directory. |
mode | dynamic | — | The mode input consumed by `runLongSoak`. |
target | dynamic | — | The target input consumed by `runLongSoak`. |
frameCount | dynamic | — | Number of entries or units to process. |
port | dynamic | — | The port input consumed by `runLongSoak`. |
View source
# runMeasuredFrames
function runMeasuredFrames(session, frameCount)
Execute measured frames.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `runMeasuredFrames`. |
frameCount | dynamic | — | Number of entries or units to process. |
View source
# runOpt001AFrameBaseline
function runOpt001AFrameBaseline(baseDirectory, gameDirectory, mapName, mode, warmupFrames, measureFrames, outputPrefix, rendererName, width, height)
Execute opt001 aframe baseline.
| Parameter | Type | Default | Description |
|---|
baseDirectory | dynamic | — | Root directory containing the Quake installation. |
gameDirectory | dynamic | — | Selected Quake game-data directory. |
mapName | dynamic | — | Name of the map to load or inspect. |
mode | dynamic | — | The mode input consumed by `runOpt001AFrameBaseline`. |
warmupFrames | dynamic | — | The warmup frames input consumed by `runOpt001AFrameBaseline`. |
measureFrames | dynamic | — | The measure frames input consumed by `runOpt001AFrameBaseline`. |
outputPrefix | dynamic | — | The output prefix input consumed by `runOpt001AFrameBaseline`. |
rendererName | dynamic | — | Name that identifies the requested value or resource. |
width | dynamic | — | Requested width in pixels or data units. |
height | dynamic | — | Requested height in pixels or data units. |
View source
# runOpt001AHandlePlateau
function runOpt001AHandlePlateau(baseDirectory, gameDirectory, mapName, warmupFrames, windowFrames, windowCount, port, outputPrefix, rendererName)
Execute opt001 ahandle plateau.
| Parameter | Type | Default | Description |
|---|
baseDirectory | dynamic | — | Root directory containing the Quake installation. |
gameDirectory | dynamic | — | Selected Quake game-data directory. |
mapName | dynamic | — | Name of the map to load or inspect. |
warmupFrames | dynamic | — | The warmup frames input consumed by `runOpt001AHandlePlateau`. |
windowFrames | dynamic | — | The window frames input consumed by `runOpt001AHandlePlateau`. |
windowCount | dynamic | — | Number of entries or units to process. |
port | dynamic | — | The port input consumed by `runOpt001AHandlePlateau`. |
outputPrefix | dynamic | — | The output prefix input consumed by `runOpt001AHandlePlateau`. |
rendererName | dynamic | — | Name that identifies the requested value or resource. |
View source
# runOpt001BQuakeCExit
function runOpt001BQuakeCExit(session, destination, maximumFrames)
Execute opt001 bquake cexit.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `runOpt001BQuakeCExit`. |
destination | dynamic | — | Destination value or collection to update. |
maximumFrames | dynamic | — | The maximum frames input consumed by `runOpt001BQuakeCExit`. |
View source
# runOpt001BTransition
function runOpt001BTransition(baseDirectory, gameDirectory, frameCount, outputPrefix, rendererName)
Execute opt001 btransition.
| Parameter | Type | Default | Description |
|---|
baseDirectory | dynamic | — | Root directory containing the Quake installation. |
gameDirectory | dynamic | — | Selected Quake game-data directory. |
frameCount | dynamic | — | Number of entries or units to process. |
outputPrefix | dynamic | — | The output prefix input consumed by `runOpt001BTransition`. |
rendererName | dynamic | — | Name that identifies the requested value or resource. |
View source
# runOriginalInteropClient
function runOriginalInteropClient(args, maximumFrames, outputPrefix, controlAddress, controlPort)
Execute original interop client.
| Parameter | Type | Default | Description |
|---|
args | dynamic | — | Command-line arguments supplied by the host process. |
maximumFrames | dynamic | — | The maximum frames input consumed by `runOriginalInteropClient`. |
outputPrefix | dynamic | — | The output prefix input consumed by `runOriginalInteropClient`. |
controlAddress | dynamic | — | The control address input consumed by `runOriginalInteropClient`. |
controlPort | dynamic | — | The control port input consumed by `runOriginalInteropClient`. |
View source
# runOriginalInteropServer
function runOriginalInteropServer(args, maximumFrames, outputPrefix)
Execute original interop server.
| Parameter | Type | Default | Description |
|---|
args | dynamic | — | Command-line arguments supplied by the host process. |
maximumFrames | dynamic | — | The maximum frames input consumed by `runOriginalInteropServer`. |
outputPrefix | dynamic | — | The output prefix input consumed by `runOriginalInteropServer`. |
View source
# runRendererSwitchSmoke
function runRendererSwitchSmoke(baseDirectory, gameDirectory, mapName, frameCount, outputPrefix)
Execute renderer switch smoke.
| Parameter | Type | Default | Description |
|---|
baseDirectory | dynamic | — | Root directory containing the Quake installation. |
gameDirectory | dynamic | — | Selected Quake game-data directory. |
mapName | dynamic | — | Name of the map to load or inspect. |
frameCount | dynamic | — | Number of entries or units to process. |
outputPrefix | dynamic | — | The output prefix input consumed by `runRendererSwitchSmoke`. |
View source
# runRenderEvidence
function runRenderEvidence(args, frameCount, outputPrefix)
Execute render evidence.
| Parameter | Type | Default | Description |
|---|
args | dynamic | — | Command-line arguments supplied by the host process. |
frameCount | dynamic | — | Number of entries or units to process. |
outputPrefix | dynamic | — | The output prefix input consumed by `runRenderEvidence`. |
View source
# runServerModeSoak
function runServerModeSoak(args, mode, target, frameCount)
Execute server mode soak.
| Parameter | Type | Default | Description |
|---|
args | dynamic | — | Command-line arguments supplied by the host process. |
mode | dynamic | — | The mode input consumed by `runServerModeSoak`. |
target | dynamic | — | The target input consumed by `runServerModeSoak`. |
frameCount | dynamic | — | Number of entries or units to process. |
View source
# runSoak
function runSoak(args, frameCount)
Execute soak.
| Parameter | Type | Default | Description |
|---|
args | dynamic | — | Command-line arguments supplied by the host process. |
frameCount | dynamic | — | Number of entries or units to process. |
View source
# runUiResolutionMatrix
function runUiResolutionMatrix(baseDirectory, gameDirectory, outputPrefix)
Execute ui resolution matrix.
| Parameter | Type | Default | Description |
|---|
baseDirectory | dynamic | — | Root directory containing the Quake installation. |
gameDirectory | dynamic | — | Selected Quake game-data directory. |
outputPrefix | dynamic | — | The output prefix input consumed by `runUiResolutionMatrix`. |
View source
# saveGame
function saveGame(session, requestedName)
Encode and write game.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `saveGame`. |
requestedName | dynamic | — | Name that identifies the requested value or resource. |
View source
# sendClientIntentions
function sendClientIntentions(session)
Send client intentions through the active connection.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `sendClientIntentions`. |
View source
# setConsoleActive
function setConsoleActive(session, active)
Update module state for console active.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `setConsoleActive`. |
active | dynamic | — | The active input consumed by `setConsoleActive`. |
View source
# setPlayerFlag
function setPlayerFlag(session, flag, enabled)
Update module state for player flag.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `setPlayerFlag`. |
flag | dynamic | — | The flag input consumed by `setPlayerFlag`. |
enabled | dynamic | — | Whether the optional behavior is enabled. |
View source
# shouldRenderWindowFrame
inline function shouldRenderWindowFrame(windowCreated, minimized, width, height)
Report whether the current Win32 client area can accept a complete render frame. Minimizing a window makes GetClientRect transiently return 0x0; the original WinQuake loop skips that frame instead of feeding invalid dimensions into the screen and status-bar layout code.
| Parameter | Type | Default | Description |
|---|
windowCreated | dynamic | — | The window created input consumed by `shouldRenderWindowFrame`. |
minimized | dynamic | — | The minimized input consumed by `shouldRenderWindowFrame`. |
width | dynamic | — | Requested width in pixels or data units. |
height | dynamic | — | Requested height in pixels or data units. |
View source
# shutdown
function shutdown(session)
Implements the `shutdown` operation for `miniquake.host` (shutdown).
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `shutdown`. |
View source
# soak
function soak(session, frameCount, frameTime)
Implements the `soak` operation for `miniquake.host` (soak).
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `soak`. |
frameCount | dynamic | — | Number of entries or units to process. |
frameTime | dynamic | — | Time value used by the operation. |
View source
# soakFrameError
function soakFrameError(session, phase, frameIndex, frameError)
Implements the `soakFrameError` operation for `miniquake.host` (soak frame error).
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `soakFrameError`. |
phase | dynamic | — | The phase input consumed by `soakFrameError`. |
frameIndex | dynamic | — | Zero-based index of the requested entry. |
frameError | dynamic | — | The frame error input consumed by `soakFrameError`. |
View source
# startMap
function startMap(session, mapName)
Initialize state for start map.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `startMap`. |
mapName | dynamic | — | Name of the map to load or inspect. |
View source
# stepDemoPlayback
function stepDemoPlayback(session)
Advance demo playback by one processing step.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `stepDemoPlayback`. |
View source
# stopAttractMode
function stopAttractMode(session)
Stop attract playback before a user-selected game action. This also removes a next-demo command queued at the end of the preceding host frame.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `stopAttractMode`. |
View source
# stopDemoRecording
function stopDemoRecording(session)
Finalize state for stop demo recording.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `stopDemoRecording`. |
View source
# SV_BroadcastPrintf
function SV_BroadcastPrintf(session, text)
Apply the Quake-compatible sv broadcast printf behavior.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `SV_BroadcastPrintf`. |
text | dynamic | — | Text to parse or process. |
View source
# SV_ClientPrintf
function SV_ClientPrintf(clientValue, text)
Apply the Quake-compatible sv client printf behavior.
| Parameter | Type | Default | Description |
|---|
clientValue | dynamic | — | The client value input consumed by `SV_ClientPrintf`. |
text | dynamic | — | Text to parse or process. |
View source
# SV_DropClient
function SV_DropClient(session, clientValue, crash)
Apply the Quake-compatible sv drop client behavior.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `SV_DropClient`. |
clientValue | dynamic | — | The client value input consumed by `SV_DropClient`. |
crash | dynamic | — | The crash input consumed by `SV_DropClient`. |
View source
# synchronizeClientRelinkModels
function synchronizeClientRelinkModels(session)
Update module state for client relink models.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `synchronizeClientRelinkModels`. |
View source
# titleFpsInitialized
titleFpsInitialized
Tracks the module-level title fps initialized state owned by `miniquake.host`.
View source
# titleFpsLastFrame
titleFpsLastFrame
Tracks the module-level title fps last frame state owned by `miniquake.host`.
View source
# titleFpsLastRealtime
titleFpsLastRealtime
Tracks the module-level title fps last realtime state owned by `miniquake.host`.
View source
# titleFpsLastValue
titleFpsLastValue
Tracks the module-level title fps last value state owned by `miniquake.host`.
View source
# transitionMap
function transitionMap(session, mapName, preserveClients, saveChangeParms, deferLocalConnection)
Implements the `transitionMap` operation for `miniquake.host` (transition map).
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `transitionMap`. |
mapName | dynamic | — | Name of the map to load or inspect. |
preserveClients | dynamic | — | The preserve clients input consumed by `transitionMap`. |
saveChangeParms | dynamic | — | The save change parms input consumed by `transitionMap`. |
deferLocalConnection | dynamic | — | The defer local connection input consumed by `transitionMap`. |
View source
# udpEndpointCount
function udpEndpointCount(session)
Return udp endpoint count derived from the active module state.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `udpEndpointCount`. |
View source
# updateMouseCapture
function updateMouseCapture(session)
Update module state for mouse capture.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `updateMouseCapture`. |
View source
# updateTitle
function updateTitle(session)
Update module state for title.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `updateTitle`. |
View source
# viewthingModel
function viewthingModel(session, item)
Implements the `viewthingModel` operation for `miniquake.host` (viewthing model).
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `viewthingModel`. |
item | dynamic | — | The item input consumed by `viewthingModel`. |
View source
# warmUiResolutionScene
function warmUiResolutionScene(session)
Implements the `warmUiResolutionScene` operation for `miniquake.host` (warm ui resolution scene).
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `warmUiResolutionScene`. |
View source
# writeConfiguration
function writeConfiguration(session)
Encode and write configuration.
| Parameter | Type | Default | Description |
|---|
session | dynamic | — | The session input consumed by `writeConfiguration`. |
View source