Files
src/main.ml
- Package
(global)- Reachable
- Yes
Imports
Declarations
# boundedInteger
function boundedInteger(text, fallback, minimum, maximum)
Return a validated bounded integer value.
| Parameter | Type | Default | Description |
|---|
text | dynamic | — | Text to parse or process. |
fallback | dynamic | — | Value to use when the requested input is unavailable or invalid. |
minimum | dynamic | — | Smallest accepted value. |
maximum | dynamic | — | Largest accepted value. |
View source
# fail
function fail(result)
Report the requested value and return the corresponding failure status.
| Parameter | Type | Default | Description |
|---|
result | dynamic | — | Result value to report or translate into a status code. |
View source
# gameOption
function gameOption(arguments)
Implements the `gameOption` operation for `MiniQuake` (game option).
| Parameter | Type | Default | Description |
|---|
arguments | dynamic | — | Command-line arguments to inspect or execute. |
View source
# hasNamedOption
function hasNamedOption(arguments, name)
Report whether named option.
| Parameter | Type | Default | Description |
|---|
arguments | dynamic | — | Command-line arguments to inspect or execute. |
name | dynamic | — | 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).
| Parameter | Type | Default | Description |
|---|
baseDirectory | dynamic | — | Root directory containing the Quake installation. |
mapName | dynamic | — | Name of the map to load or inspect. |
gameDirectory | dynamic | — | Selected Quake game-data directory. |
View source
# inspectBsp
function inspectBsp(filename)
Inspect bsp and emit its decoded metadata.
| Parameter | Type | Default | Description |
|---|
filename | dynamic | — | Path of the file to process. |
View source
# inspectDemo
function inspectDemo(filename)
Inspect demo and emit its decoded metadata.
| Parameter | Type | Default | Description |
|---|
filename | dynamic | — | Path of the file to process. |
View source
# inspectMdl
function inspectMdl(filename)
Inspect mdl and emit its decoded metadata.
| Parameter | Type | Default | Description |
|---|
filename | dynamic | — | Path of the file to process. |
View source
# inspectMessage
function inspectMessage(filename)
Inspect message and emit its decoded metadata.
| Parameter | Type | Default | Description |
|---|
filename | dynamic | — | Path of the file to process. |
View source
# inspectOgg
function inspectOgg(filename)
Inspect ogg and emit its decoded metadata.
| Parameter | Type | Default | Description |
|---|
filename | dynamic | — | Path of the file to process. |
View source
# inspectPack
function inspectPack(filename)
Inspect pack and emit its decoded metadata.
| Parameter | Type | Default | Description |
|---|
filename | dynamic | — | Path of the file to process. |
View source
# inspectProgs
function inspectProgs(filename)
Inspect progs and emit its decoded metadata.
| Parameter | Type | Default | Description |
|---|
filename | dynamic | — | Path of the file to process. |
View source
# inspectSprite
function inspectSprite(filename)
Inspect sprite and emit its decoded metadata.
| Parameter | Type | Default | Description |
|---|
filename | dynamic | — | Path of the file to process. |
View source
# inspectWad
function inspectWad(filename)
Inspect wad and emit its decoded metadata.
| Parameter | Type | Default | Description |
|---|
filename | dynamic | — | Path of the file to process. |
View source
# inspectWav
function inspectWav(filename)
Inspect wav and emit its decoded metadata.
| Parameter | Type | Default | Description |
|---|
filename | dynamic | — | 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).
| Parameter | Type | Default | Description |
|---|
arguments | dynamic | — | Command-line arguments to inspect or execute. |
name | dynamic | — | Stable name that identifies the requested object or option. |
fallback | dynamic | — | Value to use when the requested input is unavailable or invalid. |
minimum | dynamic | — | Smallest accepted value. |
maximum | dynamic | — | Largest accepted value. |
View source
# main
function main(args)
Parse command-line arguments and run the selected operation.
| Parameter | Type | Default | Description |
|---|
args | dynamic | — | Command-line arguments supplied by the host process. |
View source
# musicSmoke
function musicSmoke(baseDirectory, gameDirectory, trackText)
Implements the `musicSmoke` operation for `MiniQuake` (music smoke).
| Parameter | Type | Default | Description |
|---|
baseDirectory | dynamic | — | Root directory containing the Quake installation. |
gameDirectory | dynamic | — | Selected Quake game-data directory. |
trackText | dynamic | — | Text containing the requested music-track number. |
View source
# namedOption
function namedOption(arguments, name, fallback)
Implements the `namedOption` operation for `MiniQuake` (named option).
| Parameter | Type | Default | Description |
|---|
arguments | dynamic | — | Command-line arguments to inspect or execute. |
name | dynamic | — | Stable name that identifies the requested object or option. |
fallback | dynamic | — | 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.
| Parameter | Type | Default | Description |
|---|
arguments | dynamic | — | Command-line arguments to inspect or execute. |
index | dynamic | — | Zero-based index of the requested entry. |
fallback | dynamic | — | Value to use when the requested input is unavailable or invalid. |
maximum | dynamic | — | Largest accepted value. |
View source
# printUsage
function printUsage()
Format and emit usage.
View source
# renderSmoke
function renderSmoke(arguments)
Render smoke.
| Parameter | Type | Default | Description |
|---|
arguments | dynamic | — | Command-line arguments to inspect or execute. |
View source
# runCompatibilityReportCommand
function runCompatibilityReportCommand(path)
Execute compatibility report command.
| Parameter | Type | Default | Description |
|---|
path | dynamic | — | Filesystem path to process. |
View source
# runCompatibilitySnapshotCommand
function runCompatibilitySnapshotCommand(arguments)
Execute compatibility snapshot command.
| Parameter | Type | Default | Description |
|---|
arguments | dynamic | — | Command-line arguments to inspect or execute. |
View source
# runCompatibilityTraceCommand
function runCompatibilityTraceCommand(arguments)
Execute compatibility trace command.
| Parameter | Type | Default | Description |
|---|
arguments | dynamic | — | Command-line arguments to inspect or execute. |
View source
# runEndscreenEvidenceCommand
function runEndscreenEvidenceCommand(arguments)
Execute endscreen evidence command.
| Parameter | Type | Default | Description |
|---|
arguments | dynamic | — | Command-line arguments to inspect or execute. |
View source
# runLongSoakCommand
function runLongSoakCommand(arguments)
Execute long soak command.
| Parameter | Type | Default | Description |
|---|
arguments | dynamic | — | Command-line arguments to inspect or execute. |
View source
# runOpt001AFrameBaselineCommand
function runOpt001AFrameBaselineCommand(arguments)
Execute opt001 aframe baseline command.
| Parameter | Type | Default | Description |
|---|
arguments | dynamic | — | Command-line arguments to inspect or execute. |
View source
# runOpt001AHandlePlateauCommand
function runOpt001AHandlePlateauCommand(arguments)
Execute opt001 ahandle plateau command.
| Parameter | Type | Default | Description |
|---|
arguments | dynamic | — | Command-line arguments to inspect or execute. |
View source
# runOpt001AMapParseCommand
function runOpt001AMapParseCommand(arguments)
Execute opt001 amap parse command.
| Parameter | Type | Default | Description |
|---|
arguments | dynamic | — | Command-line arguments to inspect or execute. |
View source
# runOpt001BTransitionCommand
function runOpt001BTransitionCommand(arguments)
Execute opt001 btransition command.
| Parameter | Type | Default | Description |
|---|
arguments | dynamic | — | Command-line arguments to inspect or execute. |
View source
# runOriginalInteropClientCommand
function runOriginalInteropClientCommand(arguments)
Execute original interop client command.
| Parameter | Type | Default | Description |
|---|
arguments | dynamic | — | Command-line arguments to inspect or execute. |
View source
# runOriginalInteropServerCommand
function runOriginalInteropServerCommand(arguments)
Execute original interop server command.
| Parameter | Type | Default | Description |
|---|
arguments | dynamic | — | Command-line arguments to inspect or execute. |
View source
# runRenderDemoEvidenceCommand
function runRenderDemoEvidenceCommand(arguments)
Execute render demo evidence command.
| Parameter | Type | Default | Description |
|---|
arguments | dynamic | — | Command-line arguments to inspect or execute. |
View source
# runRendererSwitchSmokeCommand
function runRendererSwitchSmokeCommand(arguments)
Execute renderer switch smoke command.
| Parameter | Type | Default | Description |
|---|
arguments | dynamic | — | Command-line arguments to inspect or execute. |
View source
# runRenderEvidenceCommand
function runRenderEvidenceCommand(arguments)
Execute render evidence command.
| Parameter | Type | Default | Description |
|---|
arguments | dynamic | — | Command-line arguments to inspect or execute. |
View source
# runRuntimeValidationCommand
function runRuntimeValidationCommand(arguments)
Execute runtime validation command.
| Parameter | Type | Default | Description |
|---|
arguments | dynamic | — | 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.
| Parameter | Type | Default | Description |
|---|
arguments | dynamic | — | Command-line arguments to inspect or execute. |
View source
# runtimeSmoke
function runtimeSmoke(arguments)
Runs time smoke for `MiniQuake`.
| Parameter | Type | Default | Description |
|---|
arguments | dynamic | — | Command-line arguments to inspect or execute. |
View source
# runUdpSmoke
function runUdpSmoke(arguments)
Execute udp smoke.
| Parameter | Type | Default | Description |
|---|
arguments | dynamic | — | Command-line arguments to inspect or execute. |
View source
# runUiResolutionMatrixCommand
function runUiResolutionMatrixCommand(arguments)
Execute ui resolution matrix command.
| Parameter | Type | Default | Description |
|---|
arguments | dynamic | — | Command-line arguments to inspect or execute. |
View source
# validateGame
function validateGame(arguments)
Validate game and report any incompatibility.
| Parameter | Type | Default | Description |
|---|
arguments | dynamic | — | Command-line arguments to inspect or execute. |
View source
# verifyDemo
function verifyDemo(filename)
Validate demo and report any invalid state.
| Parameter | Type | Default | Description |
|---|
filename | dynamic | — | Path of the file to process. |
View source