Files
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.
| Parameter | Type | Default | Description |
|---|
playback | dynamic | — | The playback input consumed by `CL_FinishTimeDemo`. |
hostFrameCount | dynamic | — | Number of entries or units to process. |
realtime | dynamic | — | Time value used by the operation. |
View source
# CL_GetMessage
function CL_GetMessage(playback, hostFrameCount, realtime)
Apply the Quake-compatible cl get message behavior.
| Parameter | Type | Default | Description |
|---|
playback | dynamic | — | The playback input consumed by `CL_GetMessage`. |
hostFrameCount | dynamic | — | Number of entries or units to process. |
realtime | dynamic | — | Time value used by the operation. |
View source
# CL_StopPlayback
function CL_StopPlayback(playback, hostFrameCount, realtime)
Apply the Quake-compatible cl stop playback behavior.
| Parameter | Type | Default | Description |
|---|
playback | dynamic | — | The playback input consumed by `CL_StopPlayback`. |
hostFrameCount | dynamic | — | Number of entries or units to process. |
realtime | dynamic | — | 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.
| Parameter | Type | Default | Description |
|---|
playback | dynamic | — | The playback input consumed by `CL_TimeDemo_f`. |
hostFrameCount | dynamic | — | Number of entries or units to process. |
View source
# create
function create(recording)
Implements the `create` operation for `miniquake.demo_player` (create).
| Parameter | Type | Default | Description |
|---|
recording | dynamic | — | The recording input consumed by `create`. |
View source
# playAll
function playAll(playback)
Play all through the active media subsystem.
| Parameter | Type | Default | Description |
|---|
playback | dynamic | — | The playback input consumed by `playAll`. |
View source
# printReport
function printReport(report)
Implements the `printReport` operation for `miniquake.demo_player` (print report).
| Parameter | Type | Default | Description |
|---|
report | dynamic | — | The report input consumed by `printReport`. |
View source
# processMessage
function processMessage(playback, item)
Execute message.
| Parameter | Type | Default | Description |
|---|
playback | dynamic | — | The playback input consumed by `processMessage`. |
item | dynamic | — | The item input consumed by `processMessage`. |
View source
# step
function step(playback)
Implements the `step` operation for `miniquake.demo_player` (step).
| Parameter | Type | Default | Description |
|---|
playback | dynamic | — | The playback input consumed by `step`. |
View source
# stepFrame
function stepFrame(playback, hostFrameCount, realtime, frameTime)
Advance frame by one processing step.
| Parameter | Type | Default | Description |
|---|
playback | dynamic | — | The playback input consumed by `stepFrame`. |
hostFrameCount | dynamic | — | Number of entries or units to process. |
realtime | dynamic | — | Time value used by the operation. |
frameTime | dynamic | — | Time value used by the operation. |
View source
# verify
function verify(recording)
Implements the `verify` operation for `miniquake.demo_player` (verify).
| Parameter | Type | Default | Description |
|---|
recording | dynamic | — | The recording input consumed by `verify`. |
View source