MiniQuake2

src/miniquake2/client/demo_recording.ml

Provides miniquake2 client demo recording facilities for this project.

Package
miniquake2.client.demo_recording
Reachable
Yes

Imports

Declarations

appendBuffer

function appendBuffer(demo, buffer)

Append buffer.

ParameterTypeDefaultDescription
demodynamic—demo value consumed by this operation.
bufferdynamic—Buffer that receives or supplies the operation data.

View source

appendStartup

function appendStartup(recording)

Append startup.

ParameterTypeDefaultDescription
recordingdynamic—recording value consumed by this operation.

View source

create

function create(runtime, directory)

Creates create for the miniquake2 client demo recording module.

ParameterTypeDefaultDescription
runtimedynamic—runtime value consumed by this operation.
directorydynamic—directory value consumed by this operation.

View source

CreateDirectoryW

extern function CreateDirectoryW(path as wstr, security as ptr) from "kernel32.dll" returns bool

Invokes the native CreateDirectoryW entry point used by the miniquake2 client demo recording module.

ParameterTypeDefaultDescription
pathwstr—Path of the file or directory used by the operation.
securityptr—security value consumed by this operation.

Returns: Native bool result produced by the call.

View source

miniquake2.client.demo_recording.DemoRecording struct

ensureDirectory

function ensureDirectory(path)

Ensure directory.

ParameterTypeDefaultDescription
pathdynamic—Path of the file or directory used by the operation.

View source

safeName

function safeName(name)

Return the safe name.

ParameterTypeDefaultDescription
namedynamic—Name of the affected item.

View source

shutdown

function shutdown(recording)

Performs the shutdown operation for the miniquake2 client demo recording module.

ParameterTypeDefaultDescription
recordingdynamic—recording value consumed by this operation.

View source

start

function start(recording, name)

Starts start for the miniquake2 client demo recording workflow.

ParameterTypeDefaultDescription
recordingdynamic—recording value consumed by this operation.
namedynamic—Name of the affected item.

View source

stop

function stop(recording)

Stops stop for the miniquake2 client demo recording workflow.

ParameterTypeDefaultDescription
recordingdynamic—recording value consumed by this operation.

View source