MiniQuake2

src/miniquake2/client/ui/console.ml

Provides miniquake2 client ui console facilities for this project.

Package
miniquake2.client.ui.console
Reachable
Yes

Imports

Declarations

appendHistory

function appendHistory(console, value)

Append history.

ParameterTypeDefaultDescription
consoledynamic—console value consumed by this operation.
valuedynamic—Value consumed or transformed by the operation.

View source

appendLine

function appendLine(console, text, time)

Append line.

ParameterTypeDefaultDescription
consoledynamic—console value consumed by this operation.
textdynamic—Text consumed by the operation.
timedynamic—time value consumed by this operation.

View source

appendText

function appendText(console, text, time)

Append text.

ParameterTypeDefaultDescription
consoledynamic—console value consumed by this operation.
textdynamic—Text consumed by the operation.
timedynamic—time value consumed by this operation.

View source

clearNotify

function clearNotify(console)

Clear notify.

ParameterTypeDefaultDescription
consoledynamic—console value consumed by this operation.

View source

clearTyping

function clearTyping(console)

Clear typing.

ParameterTypeDefaultDescription
consoledynamic—console value consumed by this operation.

View source

create

function create(widthChars)

Creates create for the miniquake2 client ui console module.

ParameterTypeDefaultDescription
widthCharsdynamic—widthChars value consumed by this operation.

View source

drainCommands

inline function drainCommands(console)

Performs the drainCommands operation for the miniquake2 client ui console module.

ParameterTypeDefaultDescription
consoledynamic—console value consumed by this operation.

View source

draw

function draw(console, screenWidth, screenHeight, exports)

Draws draw through the miniquake2 client ui console rendering path.

ParameterTypeDefaultDescription
consoledynamic—console value consumed by this operation.
screenWidthdynamic—screenWidth value consumed by this operation.
screenHeightdynamic—screenHeight value consumed by this operation.
exportsdynamic—exports value consumed by this operation.

View source

drawText

function drawText(exports, x, y, text)

Draws text through the miniquake2 client ui console rendering path.

ParameterTypeDefaultDescription
exportsdynamic—exports value consumed by this operation.
xdynamic—Horizontal coordinate used by the operation.
ydynamic—Vertical coordinate used by the operation.
textdynamic—Text consumed by the operation.

View source

editKey

function editKey(console, key)

Return the edit key value.

ParameterTypeDefaultDescription
consoledynamic—console value consumed by this operation.
keydynamic—key value consumed by this operation.

View source

insertByte

function insertByte(console, value)

Insert byte.

ParameterTypeDefaultDescription
consoledynamic—console value consumed by this operation.
valuedynamic—Value consumed or transformed by the operation.

View source

notify

function notify(console, now, exports)

Notify state.

ParameterTypeDefaultDescription
consoledynamic—console value consumed by this operation.
nowdynamic—now value consumed by this operation.
exportsdynamic—exports value consumed by this operation.

View source