MiniQuake2

src/main.ml

Provides main facilities for this project.

Package
(global)
Reachable
Yes

Imports

Declarations

discoverDefaultProductRoot

function discoverDefaultProductRoot()

Discover default product root.

View source

dispatchMain

function dispatchMain(args)

Dispatch the asset-free bootstrap commands.

ParameterTypeDefaultDescription
argsdynamic—Command-line or caller-supplied arguments.

View source

main

function main(args)

Catch every propagated MiniLang error at the process boundary. Keeping the original error value preserves its source file, line and function for the persistent report and the copyable Windows crash dialog.

ParameterTypeDefaultDescription
argsdynamic—Command-line or caller-supplied arguments.

View source

MINIQUAKE2_VERSION

const MINIQUAKE2_VERSION = "0.5.0-foundation"

Defines the miniquake2 version constant used by the main module.

View source

PORT_STAGE

const PORT_STAGE = "integrated-runtime-foundation"

Defines the port stage constant used by the main module.

View source

printCapabilities

function printCapabilities()

Print capabilities.

View source

printDiagnostics

function printDiagnostics()

Report capabilities that must remain usable without proprietary assets.

View source

printUsage

function printUsage()

Print the small bootstrap command surface.

View source

printVersion

function printVersion()

Print stable build and compatibility identifiers for scripts and humans.

View source

QUAKE2_PROTOCOL_VERSION

const QUAKE2_PROTOCOL_VERSION = 34

Defines the quake2 protocol version constant used by the main module.

View source

QUAKE2_REFERENCE_VERSION

const QUAKE2_REFERENCE_VERSION = "3.19"

Defines the quake2 reference version constant used by the main module.

View source

runAssetSmoke

function runAssetSmoke(args)

Run asset smoke.

ParameterTypeDefaultDescription
argsdynamic—Command-line or caller-supplied arguments.

View source

runCampaignSessionSmoke

function runCampaignSessionSmoke(args)

Run campaign session smoke.

ParameterTypeDefaultDescription
argsdynamic—Command-line or caller-supplied arguments.

View source

runChangeLevelSmoke

function runChangeLevelSmoke(args)

Run change level smoke.

ParameterTypeDefaultDescription
argsdynamic—Command-line or caller-supplied arguments.

View source

runCinematic

function runCinematic(args)

Run cinematic.

ParameterTypeDefaultDescription
argsdynamic—Command-line or caller-supplied arguments.

View source

runCliSmoke

function runCliSmoke(args)

Exercise argv transport with an optional caller-provided token.

ParameterTypeDefaultDescription
argsdynamic—Command-line or caller-supplied arguments.

View source

runDataRoot

function runDataRoot(args)

Run data root.

ParameterTypeDefaultDescription
argsdynamic—Command-line or caller-supplied arguments.

View source

runDedicated

function runDedicated(args)

Runs dedicated for the main workflow.

ParameterTypeDefaultDescription
argsdynamic—Command-line or caller-supplied arguments.

View source

runDefaultProduct

function runDefaultProduct(root)

Run default product.

ParameterTypeDefaultDescription
rootdynamic—root value consumed by this operation.

View source

runDemo

function runDemo(args)

Run demo.

ParameterTypeDefaultDescription
argsdynamic—Command-line or caller-supplied arguments.

View source

runHeadlessClient

function runHeadlessClient(args)

Run headless client.

ParameterTypeDefaultDescription
argsdynamic—Command-line or caller-supplied arguments.

View source

runListen

function runListen(args)

Run listen.

ParameterTypeDefaultDescription
argsdynamic—Command-line or caller-supplied arguments.

View source

runMapPreview

function runMapPreview(args)

Run map preview.

ParameterTypeDefaultDescription
argsdynamic—Command-line or caller-supplied arguments.

View source

runMediaAudit

function runMediaAudit(args)

Run media audit.

ParameterTypeDefaultDescription
argsdynamic—Command-line or caller-supplied arguments.

View source

runMediaSequence

function runMediaSequence(args)

Run media sequence.

ParameterTypeDefaultDescription
argsdynamic—Command-line or caller-supplied arguments.

View source

runPlay

function runPlay(args)

Run play.

ParameterTypeDefaultDescription
argsdynamic—Command-line or caller-supplied arguments.

View source

runPlayInputSmoke

function runPlayInputSmoke(args)

Run play input smoke.

ParameterTypeDefaultDescription
argsdynamic—Command-line or caller-supplied arguments.

View source

runProductSmoke

function runProductSmoke(args)

Run product smoke.

ParameterTypeDefaultDescription
argsdynamic—Command-line or caller-supplied arguments.

View source

runProjectileVisualSmoke

function runProjectileVisualSmoke(args)

Run projectile visual smoke.

ParameterTypeDefaultDescription
argsdynamic—Command-line or caller-supplied arguments.

View source

runRemoteProductSmoke

function runRemoteProductSmoke(args)

Run remote product smoke.

ParameterTypeDefaultDescription
argsdynamic—Command-line or caller-supplied arguments.

View source

runVideoRestartSmokeCommand

function runVideoRestartSmokeCommand(args)

Run video restart smoke command.

ParameterTypeDefaultDescription
argsdynamic—Command-line or caller-supplied arguments.

View source

runWeaponWheelSmoke

function runWeaponWheelSmoke(args)

Run weapon wheel smoke.

ParameterTypeDefaultDescription
argsdynamic—Command-line or caller-supplied arguments.

View source