MiniQuake

src/miniquake/demo_player.ml

Package
miniquake.demo_player
Reachable
Yes

Imports

Declarations

CL_FinishTimeDemo

function CL_FinishTimeDemo(playback, hostFrameCount, realtime)

Apply the Quake-compatible cl finish time demo behavior.

ParameterTypeDefaultDescription
playbackdynamic—The playback input consumed by `CL_FinishTimeDemo`.
hostFrameCountdynamic—Number of entries or units to process.
realtimedynamic—Time value used by the operation.

View source

CL_GetMessage

function CL_GetMessage(playback, hostFrameCount, realtime)

Apply the Quake-compatible cl get message behavior.

ParameterTypeDefaultDescription
playbackdynamic—The playback input consumed by `CL_GetMessage`.
hostFrameCountdynamic—Number of entries or units to process.
realtimedynamic—Time value used by the operation.

View source

CL_StopPlayback

function CL_StopPlayback(playback, hostFrameCount, realtime)

Apply the Quake-compatible cl stop playback behavior.

ParameterTypeDefaultDescription
playbackdynamic—The playback input consumed by `CL_StopPlayback`.
hostFrameCountdynamic—Number of entries or units to process.
realtimedynamic—Time value used by the operation.

View source

CL_TimeDemo_f

function CL_TimeDemo_f(playback, hostFrameCount)

Apply the Quake-compatible cl time demo f behavior.

ParameterTypeDefaultDescription
playbackdynamic—The playback input consumed by `CL_TimeDemo_f`.
hostFrameCountdynamic—Number of entries or units to process.

View source

create

function create(recording)

Implements the `create` operation for `miniquake.demo_player` (create).

ParameterTypeDefaultDescription
recordingdynamic—The recording input consumed by `create`.

View source

playAll

function playAll(playback)

Play all through the active media subsystem.

ParameterTypeDefaultDescription
playbackdynamic—The playback input consumed by `playAll`.

View source

printReport

function printReport(report)

Implements the `printReport` operation for `miniquake.demo_player` (print report).

ParameterTypeDefaultDescription
reportdynamic—The report input consumed by `printReport`.

View source

processMessage

function processMessage(playback, item)

Execute message.

ParameterTypeDefaultDescription
playbackdynamic—The playback input consumed by `processMessage`.
itemdynamic—The item input consumed by `processMessage`.

View source

step

function step(playback)

Implements the `step` operation for `miniquake.demo_player` (step).

ParameterTypeDefaultDescription
playbackdynamic—The playback input consumed by `step`.

View source

stepFrame

function stepFrame(playback, hostFrameCount, realtime, frameTime)

Advance frame by one processing step.

ParameterTypeDefaultDescription
playbackdynamic—The playback input consumed by `stepFrame`.
hostFrameCountdynamic—Number of entries or units to process.
realtimedynamic—Time value used by the operation.
frameTimedynamic—Time value used by the operation.

View source

verify

function verify(recording)

Implements the `verify` operation for `miniquake.demo_player` (verify).

ParameterTypeDefaultDescription
recordingdynamic—The recording input consumed by `verify`.

View source