MiniQuake

src/main.ml

Package
(global)
Reachable
Yes

Imports

Declarations

boundedInteger

function boundedInteger(text, fallback, minimum, maximum)

Return a validated bounded integer value.

ParameterTypeDefaultDescription
textdynamic—Text to parse or process.
fallbackdynamic—Value to use when the requested input is unavailable or invalid.
minimumdynamic—Smallest accepted value.
maximumdynamic—Largest accepted value.

View source

fail

function fail(result)

Report the requested value and return the corresponding failure status.

ParameterTypeDefaultDescription
resultdynamic—Result value to report or translate into a status code.

View source

gameOption

function gameOption(arguments)

Implements the `gameOption` operation for `MiniQuake` (game option).

ParameterTypeDefaultDescription
argumentsdynamic—Command-line arguments to inspect or execute.

View source

hasNamedOption

function hasNamedOption(arguments, name)

Report whether named option.

ParameterTypeDefaultDescription
argumentsdynamic—Command-line arguments to inspect or execute.
namedynamic—Stable name that identifies the requested object or option.

View source

headlessArguments

function headlessArguments(baseDirectory, mapName, gameDirectory)

Implements the `headlessArguments` operation for `MiniQuake` (headless arguments).

ParameterTypeDefaultDescription
baseDirectorydynamic—Root directory containing the Quake installation.
mapNamedynamic—Name of the map to load or inspect.
gameDirectorydynamic—Selected Quake game-data directory.

View source

inspectBsp

function inspectBsp(filename)

Inspect bsp and emit its decoded metadata.

ParameterTypeDefaultDescription
filenamedynamic—Path of the file to process.

View source

inspectDemo

function inspectDemo(filename)

Inspect demo and emit its decoded metadata.

ParameterTypeDefaultDescription
filenamedynamic—Path of the file to process.

View source

inspectMdl

function inspectMdl(filename)

Inspect mdl and emit its decoded metadata.

ParameterTypeDefaultDescription
filenamedynamic—Path of the file to process.

View source

inspectMessage

function inspectMessage(filename)

Inspect message and emit its decoded metadata.

ParameterTypeDefaultDescription
filenamedynamic—Path of the file to process.

View source

inspectOgg

function inspectOgg(filename)

Inspect ogg and emit its decoded metadata.

ParameterTypeDefaultDescription
filenamedynamic—Path of the file to process.

View source

inspectPack

function inspectPack(filename)

Inspect pack and emit its decoded metadata.

ParameterTypeDefaultDescription
filenamedynamic—Path of the file to process.

View source

inspectProgs

function inspectProgs(filename)

Inspect progs and emit its decoded metadata.

ParameterTypeDefaultDescription
filenamedynamic—Path of the file to process.

View source

inspectSprite

function inspectSprite(filename)

Inspect sprite and emit its decoded metadata.

ParameterTypeDefaultDescription
filenamedynamic—Path of the file to process.

View source

inspectWad

function inspectWad(filename)

Inspect wad and emit its decoded metadata.

ParameterTypeDefaultDescription
filenamedynamic—Path of the file to process.

View source

inspectWav

function inspectWav(filename)

Inspect wav and emit its decoded metadata.

ParameterTypeDefaultDescription
filenamedynamic—Path of the file to process.

View source

integerNamedOption

function integerNamedOption(arguments, name, fallback, minimum, maximum)

Implements the `integerNamedOption` operation for `MiniQuake` (integer named option).

ParameterTypeDefaultDescription
argumentsdynamic—Command-line arguments to inspect or execute.
namedynamic—Stable name that identifies the requested object or option.
fallbackdynamic—Value to use when the requested input is unavailable or invalid.
minimumdynamic—Smallest accepted value.
maximumdynamic—Largest accepted value.

View source

main

function main(args)

Parse command-line arguments and run the selected operation.

ParameterTypeDefaultDescription
argsdynamic—Command-line arguments supplied by the host process.

View source

musicSmoke

function musicSmoke(baseDirectory, gameDirectory, trackText)

Implements the `musicSmoke` operation for `MiniQuake` (music smoke).

ParameterTypeDefaultDescription
baseDirectorydynamic—Root directory containing the Quake installation.
gameDirectorydynamic—Selected Quake game-data directory.
trackTextdynamic—Text containing the requested music-track number.

View source

namedOption

function namedOption(arguments, name, fallback)

Implements the `namedOption` operation for `MiniQuake` (named option).

ParameterTypeDefaultDescription
argumentsdynamic—Command-line arguments to inspect or execute.
namedynamic—Stable name that identifies the requested object or option.
fallbackdynamic—Value to use when the requested input is unavailable or invalid.

View source

optionalFrameCount

function optionalFrameCount(arguments, index, fallback, maximum)

Return optional frame count derived from the active module state.

ParameterTypeDefaultDescription
argumentsdynamic—Command-line arguments to inspect or execute.
indexdynamic—Zero-based index of the requested entry.
fallbackdynamic—Value to use when the requested input is unavailable or invalid.
maximumdynamic—Largest accepted value.

View source

printUsage

function printUsage()

Format and emit usage.

View source

renderSmoke

function renderSmoke(arguments)

Render smoke.

ParameterTypeDefaultDescription
argumentsdynamic—Command-line arguments to inspect or execute.

View source

runCompatibilityReportCommand

function runCompatibilityReportCommand(path)

Execute compatibility report command.

ParameterTypeDefaultDescription
pathdynamic—Filesystem path to process.

View source

runCompatibilitySnapshotCommand

function runCompatibilitySnapshotCommand(arguments)

Execute compatibility snapshot command.

ParameterTypeDefaultDescription
argumentsdynamic—Command-line arguments to inspect or execute.

View source

runCompatibilityTraceCommand

function runCompatibilityTraceCommand(arguments)

Execute compatibility trace command.

ParameterTypeDefaultDescription
argumentsdynamic—Command-line arguments to inspect or execute.

View source

runEndscreenEvidenceCommand

function runEndscreenEvidenceCommand(arguments)

Execute endscreen evidence command.

ParameterTypeDefaultDescription
argumentsdynamic—Command-line arguments to inspect or execute.

View source

runLongSoakCommand

function runLongSoakCommand(arguments)

Execute long soak command.

ParameterTypeDefaultDescription
argumentsdynamic—Command-line arguments to inspect or execute.

View source

runOpt001AFrameBaselineCommand

function runOpt001AFrameBaselineCommand(arguments)

Execute opt001 aframe baseline command.

ParameterTypeDefaultDescription
argumentsdynamic—Command-line arguments to inspect or execute.

View source

runOpt001AHandlePlateauCommand

function runOpt001AHandlePlateauCommand(arguments)

Execute opt001 ahandle plateau command.

ParameterTypeDefaultDescription
argumentsdynamic—Command-line arguments to inspect or execute.

View source

runOpt001AMapParseCommand

function runOpt001AMapParseCommand(arguments)

Execute opt001 amap parse command.

ParameterTypeDefaultDescription
argumentsdynamic—Command-line arguments to inspect or execute.

View source

runOpt001BTransitionCommand

function runOpt001BTransitionCommand(arguments)

Execute opt001 btransition command.

ParameterTypeDefaultDescription
argumentsdynamic—Command-line arguments to inspect or execute.

View source

runOriginalInteropClientCommand

function runOriginalInteropClientCommand(arguments)

Execute original interop client command.

ParameterTypeDefaultDescription
argumentsdynamic—Command-line arguments to inspect or execute.

View source

runOriginalInteropServerCommand

function runOriginalInteropServerCommand(arguments)

Execute original interop server command.

ParameterTypeDefaultDescription
argumentsdynamic—Command-line arguments to inspect or execute.

View source

runRenderDemoEvidenceCommand

function runRenderDemoEvidenceCommand(arguments)

Execute render demo evidence command.

ParameterTypeDefaultDescription
argumentsdynamic—Command-line arguments to inspect or execute.

View source

runRendererSwitchSmokeCommand

function runRendererSwitchSmokeCommand(arguments)

Execute renderer switch smoke command.

ParameterTypeDefaultDescription
argumentsdynamic—Command-line arguments to inspect or execute.

View source

runRenderEvidenceCommand

function runRenderEvidenceCommand(arguments)

Execute render evidence command.

ParameterTypeDefaultDescription
argumentsdynamic—Command-line arguments to inspect or execute.

View source

runRuntimeValidationCommand

function runRuntimeValidationCommand(arguments)

Execute runtime validation command.

ParameterTypeDefaultDescription
argumentsdynamic—Command-line arguments to inspect or execute.

View source

runSelfCheck

function runSelfCheck()

Runs self check for `MiniQuake`.

View source

runSoakCommand

function runSoakCommand(arguments)

Execute soak command.

ParameterTypeDefaultDescription
argumentsdynamic—Command-line arguments to inspect or execute.

View source

runtimeSmoke

function runtimeSmoke(arguments)

Runs time smoke for `MiniQuake`.

ParameterTypeDefaultDescription
argumentsdynamic—Command-line arguments to inspect or execute.

View source

runUdpSmoke

function runUdpSmoke(arguments)

Execute udp smoke.

ParameterTypeDefaultDescription
argumentsdynamic—Command-line arguments to inspect or execute.

View source

runUiResolutionMatrixCommand

function runUiResolutionMatrixCommand(arguments)

Execute ui resolution matrix command.

ParameterTypeDefaultDescription
argumentsdynamic—Command-line arguments to inspect or execute.

View source

validateGame

function validateGame(arguments)

Validate game and report any incompatibility.

ParameterTypeDefaultDescription
argumentsdynamic—Command-line arguments to inspect or execute.

View source

verifyDemo

function verifyDemo(filename)

Validate demo and report any invalid state.

ParameterTypeDefaultDescription
filenamedynamic—Path of the file to process.

View source