MiniQuake

src/miniquake/screen.ml

Package
miniquake.screen
Reachable
Yes

Imports

Declarations

block_drawing

block_drawing

Tracks the module-level block drawing state owned by `miniquake.screen`.

View source

BuildTga

function BuildTga(width, height, rgba)

Create and initialize tga.

ParameterTypeDefaultDescription
widthdynamic—Requested width in pixels or data units.
heightdynamic—Requested height in pixels or data units.
rgbadynamic—The rgba input consumed by `BuildTga`.

View source

CalcFov

function CalcFov(fov_x, width, height)

Implements the `CalcFov` operation for `miniquake.screen` (calc fov).

ParameterTypeDefaultDescription
fov_xdynamic—The fov x input consumed by `CalcFov`.
widthdynamic—Requested width in pixels or data units.
heightdynamic—Requested height in pixels or data units.

View source

CenterStringTrace

function CenterStringTrace(text, width, height, lineCount, remaining)

Implements the `CenterStringTrace` operation for `miniquake.screen` (center string trace).

ParameterTypeDefaultDescription
textdynamic—Text to parse or process.
widthdynamic—Requested width in pixels or data units.
heightdynamic—Requested height in pixels or data units.
lineCountdynamic—Number of entries or units to process.
remainingdynamic—The remaining input consumed by `CenterStringTrace`.

View source

clearconsole

clearconsole

Tracks the module-level clearconsole state owned by `miniquake.screen`.

View source

clearnotify

clearnotify

Tracks the module-level clearnotify state owned by `miniquake.screen`.

View source

drawBlend

function drawBlend(viewState, width, height)

Render blend.

ParameterTypeDefaultDescription
viewStatedynamic—Mutable state used by `drawBlend`.
widthdynamic—Requested width in pixels or data units.
heightdynamic—Requested height in pixels or data units.

View source

drawCenter

function drawCenter(consoleState, width, height)

Render center.

ParameterTypeDefaultDescription
consoleStatedynamic—Mutable state used by `drawCenter`.
widthdynamic—Requested width in pixels or data units.
heightdynamic—Requested height in pixels or data units.

View source

drawConsoleHeight

function drawConsoleHeight(consoleState, width, height, visibleHeight)

Render console height.

ParameterTypeDefaultDescription
consoleStatedynamic—Mutable state used by `drawConsoleHeight`.
widthdynamic—Requested width in pixels or data units.
heightdynamic—Requested height in pixels or data units.
visibleHeightdynamic—The visible height input consumed by `drawConsoleHeight`.

View source

drawCrosshair

function drawCrosshair(width, height)

Render crosshair.

ParameterTypeDefaultDescription
widthdynamic—Requested width in pixels or data units.
heightdynamic—Requested height in pixels or data units.

View source

drawHud

function drawHud(consoleState, menuState, player, width, height, registry)

Render hud.

ParameterTypeDefaultDescription
consoleStatedynamic—Mutable state used by `drawHud`.
menuStatedynamic—Mutable state used by `drawHud`.
playerdynamic—The player input consumed by `drawHud`.
widthdynamic—Requested width in pixels or data units.
heightdynamic—Requested height in pixels or data units.
registrydynamic—The registry input consumed by `drawHud`.

View source

drawNotify

function drawNotify(consoleState, width, height)

Render notify.

ParameterTypeDefaultDescription
consoleStatedynamic—Mutable state used by `drawNotify`.
widthdynamic—Requested width in pixels or data units.
heightdynamic—Requested height in pixels or data units.

View source

initialize

function initialize(consoleState, menuState, filesystem, palette, width, height, registry)

Initializes ialize for `miniquake.screen`.

ParameterTypeDefaultDescription
consoleStatedynamic—Mutable state used by `initialize`.
menuStatedynamic—Mutable state used by `initialize`.
filesystemdynamic—The filesystem input consumed by `initialize`.
palettedynamic—The palette input consumed by `initialize`.
widthdynamic—Requested width in pixels or data units.
heightdynamic—Requested height in pixels or data units.
registrydynamic—The registry input consumed by `initialize`.

View source

lastScreenCommands

lastScreenCommands

Tracks the module-level last screen commands state owned by `miniquake.screen`.

View source

oldfov

oldfov

Tracks the module-level oldfov state owned by `miniquake.screen`.

View source

oldRefdefHeight

oldRefdefHeight

Tracks the module-level old refdef height state owned by `miniquake.screen`.

View source

oldRefdefIntermission

oldRefdefIntermission

Tracks the module-level old refdef intermission state owned by `miniquake.screen`.

View source

oldRefdefWidth

oldRefdefWidth

Tracks the module-level old refdef width state owned by `miniquake.screen`.

View source

oldscreensize

oldscreensize

Tracks the module-level oldscreensize state owned by `miniquake.screen`.

View source

render

function render(consoleState, menuState, viewState, player, width, height, mapName, showCrosshair, realtime, registry)

Implements the `render` operation for `miniquake.screen` (render).

ParameterTypeDefaultDescription
consoleStatedynamic—Mutable state used by `render`.
menuStatedynamic—Mutable state used by `render`.
viewStatedynamic—Mutable state used by `render`.
playerdynamic—The player input consumed by `render`.
widthdynamic—Requested width in pixels or data units.
heightdynamic—Requested height in pixels or data units.
mapNamedynamic—Name of the map to load or inspect.
showCrosshairdynamic—The show crosshair input consumed by `render`.
realtimedynamic—Time value used by the operation.
registrydynamic—The registry input consumed by `render`.

View source

sb_lines

sb_lines

Tracks the module-level sb lines state owned by `miniquake.screen`.

View source

SCR_BeginLoadingPlaque

function SCR_BeginLoadingPlaque(consoleState, realtime, connected, signon)

Mirror Quake's SCR_BeginLoadingPlaque routine and its observable state changes.

ParameterTypeDefaultDescription
consoleStatedynamic—Mutable state used by `SCR_BeginLoadingPlaque`.
realtimedynamic—Time value used by the operation.
connecteddynamic—The connected input consumed by `SCR_BeginLoadingPlaque`.
signondynamic—The signon input consumed by `SCR_BeginLoadingPlaque`.

View source

SCR_BringDownConsole

function SCR_BringDownConsole(consoleState, height, frameTime, registry, viewState)

Mirror Quake's SCR_BringDownConsole routine and its observable state changes.

ParameterTypeDefaultDescription
consoleStatedynamic—Mutable state used by `SCR_BringDownConsole`.
heightdynamic—Requested height in pixels or data units.
frameTimedynamic—Time value used by the operation.
registrydynamic—The registry input consumed by `SCR_BringDownConsole`.
viewStatedynamic—Mutable state used by `SCR_BringDownConsole`.

View source

SCR_CalcRefdef

function SCR_CalcRefdef(width, height, registry, intermission)

Mirror Quake's SCR_CalcRefdef routine and its observable state changes.

ParameterTypeDefaultDescription
widthdynamic—Requested width in pixels or data units.
heightdynamic—Requested height in pixels or data units.
registrydynamic—The registry input consumed by `SCR_CalcRefdef`.
intermissiondynamic—The intermission input consumed by `SCR_CalcRefdef`.

View source

scr_center_lines

scr_center_lines

Tracks the module-level scr center lines state owned by `miniquake.screen`.

View source

SCR_CenterPrint

function SCR_CenterPrint(consoleState, text, currentTime)

Mirror Quake's SCR_CenterPrint routine and its observable state changes.

ParameterTypeDefaultDescription
consoleStatedynamic—Mutable state used by `SCR_CenterPrint`.
textdynamic—Text to parse or process.
currentTimedynamic—Time value used by the operation.

View source

scr_centerstring

scr_centerstring

Tracks the module-level scr centerstring state owned by `miniquake.screen`.

View source

scr_centertime_off

scr_centertime_off

Tracks the module-level scr centertime off state owned by `miniquake.screen`.

View source

scr_centertime_start

scr_centertime_start

Tracks the module-level scr centertime start state owned by `miniquake.screen`.

View source

SCR_CheckDrawCenterString

function SCR_CheckDrawCenterString(width, height, currentTime, frameTime, gameInput)

Mirror Quake's SCR_CheckDrawCenterString routine and its observable state changes.

ParameterTypeDefaultDescription
widthdynamic—Requested width in pixels or data units.
heightdynamic—Requested height in pixels or data units.
currentTimedynamic—Time value used by the operation.
frameTimedynamic—Time value used by the operation.
gameInputdynamic—The game input input consumed by `SCR_CheckDrawCenterString`.

View source

scr_con_current

scr_con_current

Tracks the module-level scr con current state owned by `miniquake.screen`.

View source

SCR_ConfigureClient

function SCR_ConfigureClient(clientState)

Mirror Quake's SCR_ConfigureClient routine and its observable state changes.

ParameterTypeDefaultDescription
clientStatedynamic—Mutable state used by `SCR_ConfigureClient`.

View source

scr_conlines

scr_conlines

Tracks the module-level scr conlines state owned by `miniquake.screen`.

View source

SCR_ConsoleSlidePixels

function SCR_ConsoleSlidePixels(width, height, frameTime, registry)

scr_conspeed is expressed in the original UI's logical pixels per second. The console itself is enlarged by an integral factor on high-resolution displays, so its physical travel must use that same factor. Otherwise a 1080p/4K console takes two to four times as long to open or close.

ParameterTypeDefaultDescription
widthdynamic—Requested width in pixels or data units.
heightdynamic—Requested height in pixels or data units.
frameTimedynamic—Time value used by the operation.
registrydynamic—The registry input consumed by `SCR_ConsoleSlidePixels`.

View source

SCR_ConsumeTransitionClear

function SCR_ConsumeTransitionClear()

Refdef and overlay transitions can expose pixels that belonged to a smaller viewport or an older status bar on another swap-chain page. Clear each buffered page once; steady-state frames retain GLQuake's gl_clear behavior.

View source

scr_copyeverything

scr_copyeverything

Tracks the module-level scr copyeverything state owned by `miniquake.screen`.

View source

scr_copytop

scr_copytop

Tracks the module-level scr copytop state owned by `miniquake.screen`.

View source

SCR_DifferentialSetBlocked

function SCR_DifferentialSetBlocked(value)

Mirror Quake's SCR_DifferentialSetBlocked routine and its observable state changes.

ParameterTypeDefaultDescription
valuedynamic—Value consumed by `SCR_DifferentialSetBlocked`.

View source

SCR_DifferentialSetConsole

function SCR_DifferentialSetConsole(current, lines)

Mirror Quake's SCR_DifferentialSetConsole routine and its observable state changes.

ParameterTypeDefaultDescription
currentdynamic—The current input consumed by `SCR_DifferentialSetConsole`.
linesdynamic—The lines input consumed by `SCR_DifferentialSetConsole`.

View source

SCR_DifferentialSetDrawLoading

function SCR_DifferentialSetDrawLoading(value)

Mirror Quake's SCR_DifferentialSetDrawLoading routine and its observable state changes.

ParameterTypeDefaultDescription
valuedynamic—Value consumed by `SCR_DifferentialSetDrawLoading`.

View source

SCR_DifferentialSetEraseLines

function SCR_DifferentialSetEraseLines(value)

Deterministic differential hooks. They expose logical C globals without putting renderer or platform behavior into the native bridge.

ParameterTypeDefaultDescription
valuedynamic—Value consumed by `SCR_DifferentialSetEraseLines`.

View source

SCR_DifferentialSetInitialized

function SCR_DifferentialSetInitialized(value)

Set the initialized flag for deterministic guard-order fixtures. Production startup continues to own this state through SCR_Init and shutdown.

ParameterTypeDefaultDescription
valuedynamic—Value consumed by `SCR_DifferentialSetInitialized`.

View source

SCR_DifferentialSetNotify

function SCR_DifferentialSetNotify(text)

Mirror Quake's SCR_DifferentialSetNotify routine and its observable state changes.

ParameterTypeDefaultDescription
textdynamic—Text to parse or process.

View source

SCR_DifferentialSetTile

function SCR_DifferentialSetTile(viewRectangle, statusLines)

Mirror Quake's SCR_DifferentialSetTile routine and its observable state changes.

ParameterTypeDefaultDescription
viewRectangledynamic—The view rectangle input consumed by `SCR_DifferentialSetTile`.
statusLinesdynamic—The status lines input consumed by `SCR_DifferentialSetTile`.

View source

SCR_DifferentialSetTurtleCount

function SCR_DifferentialSetTurtleCount(value)

Mirror Quake's SCR_DifferentialSetTurtleCount routine and its observable state changes.

ParameterTypeDefaultDescription
valuedynamic—Value consumed by `SCR_DifferentialSetTurtleCount`.

View source

SCR_DifferentialState

function SCR_DifferentialState()

Mirror Quake's SCR_DifferentialState routine and its observable state changes.

View source

scr_disabled_for_loading

scr_disabled_for_loading

Tracks the module-level scr disabled for loading state owned by `miniquake.screen`.

View source

scr_disabled_time

scr_disabled_time

Tracks the module-level scr disabled time state owned by `miniquake.screen`.

View source

SCR_DrawCenterString

function SCR_DrawCenterString(width, height, currentTime)

Mirror Quake's SCR_DrawCenterString routine and its observable state changes.

ParameterTypeDefaultDescription
widthdynamic—Requested width in pixels or data units.
heightdynamic—Requested height in pixels or data units.
currentTimedynamic—Time value used by the operation.

View source

SCR_DrawConsole

function SCR_DrawConsole(consoleState, width, height, gameOrMessageInput)

Mirror Quake's SCR_DrawConsole routine and its observable state changes.

ParameterTypeDefaultDescription
consoleStatedynamic—Mutable state used by `SCR_DrawConsole`.
widthdynamic—Requested width in pixels or data units.
heightdynamic—Requested height in pixels or data units.
gameOrMessageInputdynamic—The game or message input input consumed by `SCR_DrawConsole`.

View source

scr_drawdialog

scr_drawdialog

Tracks the module-level scr drawdialog state owned by `miniquake.screen`.

View source

SCR_DrawLoading

function SCR_DrawLoading(width, height)

Mirror Quake's SCR_DrawLoading routine and its observable state changes.

ParameterTypeDefaultDescription
widthdynamic—Requested width in pixels or data units.
heightdynamic—Requested height in pixels or data units.

View source

scr_drawloading

scr_drawloading

Tracks the module-level scr drawloading state owned by `miniquake.screen`.

View source

SCR_DrawNet

function SCR_DrawNet(realtime, lastMessageTime, demoPlayback, connected, localServerActive)

Mirror Quake's SCR_DrawNet routine and its observable state changes.

ParameterTypeDefaultDescription
realtimedynamic—Time value used by the operation.
lastMessageTimedynamic—Time value used by the operation.
demoPlaybackdynamic—The demo playback input consumed by `SCR_DrawNet`.
connecteddynamic—The connected input consumed by `SCR_DrawNet`.
localServerActivedynamic—The local server active input consumed by `SCR_DrawNet`.

View source

SCR_DrawNotifyString

function SCR_DrawNotifyString(width, height)

Mirror Quake's SCR_DrawNotifyString routine and its observable state changes.

ParameterTypeDefaultDescription
widthdynamic—Requested width in pixels or data units.
heightdynamic—Requested height in pixels or data units.

View source

SCR_DrawPause

function SCR_DrawPause(paused, width, height)

Mirror Quake's SCR_DrawPause routine and its observable state changes.

ParameterTypeDefaultDescription
pauseddynamic—The paused input consumed by `SCR_DrawPause`.
widthdynamic—Requested width in pixels or data units.
heightdynamic—Requested height in pixels or data units.

View source

SCR_DrawRam

function SCR_DrawRam(cacheThrash)

Mirror Quake's SCR_DrawRam routine and its observable state changes.

ParameterTypeDefaultDescription
cacheThrashdynamic—The cache thrash input consumed by `SCR_DrawRam`.

View source

SCR_DrawTurtle

function SCR_DrawTurtle(frameTime)

Mirror Quake's SCR_DrawTurtle routine and its observable state changes.

ParameterTypeDefaultDescription
frameTimedynamic—Time value used by the operation.

View source

SCR_EndLoadingPlaque

function SCR_EndLoadingPlaque(consoleState)

Mirror Quake's SCR_EndLoadingPlaque routine and its observable state changes.

ParameterTypeDefaultDescription
consoleStatedynamic—Mutable state used by `SCR_EndLoadingPlaque`.

View source

scr_erase_center

scr_erase_center

Tracks the module-level scr erase center state owned by `miniquake.screen`.

View source

scr_erase_lines

scr_erase_lines

Tracks the module-level scr erase lines state owned by `miniquake.screen`.

View source

SCR_FinishLoadingAfterUpdates

function SCR_FinishLoadingAfterUpdates(count)

Keep the plaque over a small number of ordinary Host_Frame updates. These frames perform the unavoidable first QuakeC/server and GPU-driver work in normal order, but their final swap still shows LOADING instead of a hitch in playable output. No extra frames are simulated.

ParameterTypeDefaultDescription
countdynamic—Number of entries or units to process.

View source

scr_fullupdate

scr_fullupdate

Tracks the module-level scr fullupdate state owned by `miniquake.screen`.

View source

SCR_Init

function SCR_Init(filesystem, registry, width, height)

Mirror Quake's SCR_Init routine and its observable state changes.

ParameterTypeDefaultDescription
filesystemdynamic—The filesystem input consumed by `SCR_Init`.
registrydynamic—The registry input consumed by `SCR_Init`.
widthdynamic—Requested width in pixels or data units.
heightdynamic—Requested height in pixels or data units.

View source

scr_initialized

scr_initialized

Tracks the module-level scr initialized state owned by `miniquake.screen`.

View source

scr_intermission

scr_intermission

Tracks the module-level scr intermission state owned by `miniquake.screen`.

View source

SCR_IntermissionMode

inline function SCR_IntermissionMode()

Mirror Quake's SCR_IntermissionMode routine and its observable state changes.

View source

scr_loading_pending

scr_loading_pending

Tracks the module-level scr loading pending state owned by `miniquake.screen`.

View source

scr_loading_warmup_updates

scr_loading_warmup_updates

Tracks the module-level scr loading warmup updates state owned by `miniquake.screen`.

View source

SCR_ModalMessage

function SCR_ModalMessage(text, keyCode, dedicated)

The original blocks in a platform event loop. MiniLang's host owns that loop, so a key code is supplied when available; void means "still pending".

ParameterTypeDefaultDescription
textdynamic—Text to parse or process.
keyCodedynamic—The key code input consumed by `SCR_ModalMessage`.
dedicateddynamic—The dedicated input consumed by `SCR_ModalMessage`.

View source

scr_net

scr_net

Tracks the module-level scr net state owned by `miniquake.screen`.

View source

scr_notifystring

scr_notifystring

Tracks the module-level scr notifystring state owned by `miniquake.screen`.

View source

SCR_PrecachePictures

function SCR_PrecachePictures()

Cache screen/status-bar pictures whose first appearance may be much later than Draw_Init (pause, intermission, scoreboard and finale screens).

View source

scr_ram

scr_ram

Tracks the module-level scr ram state owned by `miniquake.screen`.

View source

SCR_ScreenShot_f

function SCR_ScreenShot_f(filesystem, x, y, width, height)

Mirror Quake's SCR_ScreenShot_f routine and its observable state changes.

ParameterTypeDefaultDescription
filesystemdynamic—The filesystem input consumed by `SCR_ScreenShot_f`.
xdynamic—The x input consumed by `SCR_ScreenShot_f`.
ydynamic—The y input consumed by `SCR_ScreenShot_f`.
widthdynamic—Requested width in pixels or data units.
heightdynamic—Requested height in pixels or data units.

View source

SCR_ScreenshotFailure

function SCR_ScreenshotFailure()

Mirror Quake's SCR_ScreenshotFailure routine and its observable state changes.

View source

SCR_SetCommandTraceEnabled

function SCR_SetCommandTraceEnabled(enabled)

Enable command recording for differential fixtures. The production host disables this diagnostic-only allocation stream after creating a session.

ParameterTypeDefaultDescription
enableddynamic—Whether the optional behavior is enabled.

View source

SCR_SetIntermission

function SCR_SetIntermission(mode, text, consoleState, currentTime)

Mirror Quake's SCR_SetIntermission routine and its observable state changes.

ParameterTypeDefaultDescription
modedynamic—The mode input consumed by `SCR_SetIntermission`.
textdynamic—Text to parse or process.
consoleStatedynamic—Mutable state used by `SCR_SetIntermission`.
currentTimedynamic—Time value used by the operation.

View source

SCR_SetUpToDrawConsole

function SCR_SetUpToDrawConsole(consoleState, height, frameTime, registry, forcedUp, consoleInput, numPages)

Mirror Quake's SCR_SetUpToDrawConsole routine and its observable state changes.

ParameterTypeDefaultDescription
consoleStatedynamic—Mutable state used by `SCR_SetUpToDrawConsole`.
heightdynamic—Requested height in pixels or data units.
frameTimedynamic—Time value used by the operation.
registrydynamic—The registry input consumed by `SCR_SetUpToDrawConsole`.
forcedUpdynamic—The forced up input consumed by `SCR_SetUpToDrawConsole`.
consoleInputdynamic—The console input input consumed by `SCR_SetUpToDrawConsole`.
numPagesdynamic—The num pages input consumed by `SCR_SetUpToDrawConsole`.

View source

SCR_ShouldDrawNet

inline function SCR_ShouldDrawNet(realtime, lastMessageTime, demoPlayback, connected, localServerActive)

Mirror Quake's SCR_ShouldDrawNet routine and its observable state changes.

ParameterTypeDefaultDescription
realtimedynamic—Time value used by the operation.
lastMessageTimedynamic—Time value used by the operation.
demoPlaybackdynamic—The demo playback input consumed by `SCR_ShouldDrawNet`.
connecteddynamic—The connected input consumed by `SCR_ShouldDrawNet`.
localServerActivedynamic—The local server active input consumed by `SCR_ShouldDrawNet`.

View source

SCR_ShouldSkipUpdate

function SCR_ShouldSkipUpdate(realtime)

Mirror Quake's SCR_ShouldSkipUpdate routine and its observable state changes.

ParameterTypeDefaultDescription
realtimedynamic—Time value used by the operation.

View source

SCR_SizeDown

function SCR_SizeDown()

Mirror Quake's SCR_SizeDown routine and its observable state changes.

View source

SCR_SizeDown_f

function SCR_SizeDown_f(registry)

Mirror Quake's SCR_SizeDown_f routine and its observable state changes.

ParameterTypeDefaultDescription
registrydynamic—The registry input consumed by `SCR_SizeDown_f`.

View source

SCR_SizeUp

function SCR_SizeUp()

Mirror Quake's SCR_SizeUp routine and its observable state changes.

View source

SCR_SizeUp_f

function SCR_SizeUp_f(registry)

Mirror Quake's SCR_SizeUp_f routine and its observable state changes.

ParameterTypeDefaultDescription
registrydynamic—The registry input consumed by `SCR_SizeUp_f`.

View source

scr_skipupdate

scr_skipupdate

Tracks the module-level scr skipupdate state owned by `miniquake.screen`.

View source

SCR_TileClear

function SCR_TileClear(width, height)

Mirror Quake's SCR_TileClear routine and its observable state changes.

ParameterTypeDefaultDescription
widthdynamic—Requested width in pixels or data units.
heightdynamic—Requested height in pixels or data units.

View source

scr_transition_clear_frames

scr_transition_clear_frames

Tracks the module-level scr transition clear frames state owned by `miniquake.screen`.

View source

scr_turtle

scr_turtle

Tracks the module-level scr turtle state owned by `miniquake.screen`.

View source

scr_turtle_count

scr_turtle_count

Tracks the module-level scr turtle count state owned by `miniquake.screen`.

View source

SCR_UpdateScreen

function SCR_UpdateScreen(consoleState, menuState, viewState, player, width, height, mapName, showCrosshair, realtime, frameTime, registry, connected, localServerActive, signon, paused, lastMessageTime, demoPlayback, cacheThrash, gameInput, consoleInput)

Mirror Quake's SCR_UpdateScreen routine and its observable state changes.

ParameterTypeDefaultDescription
consoleStatedynamic—Mutable state used by `SCR_UpdateScreen`.
menuStatedynamic—Mutable state used by `SCR_UpdateScreen`.
viewStatedynamic—Mutable state used by `SCR_UpdateScreen`.
playerdynamic—The player input consumed by `SCR_UpdateScreen`.
widthdynamic—Requested width in pixels or data units.
heightdynamic—Requested height in pixels or data units.
mapNamedynamic—Name of the map to load or inspect.
showCrosshairdynamic—The show crosshair input consumed by `SCR_UpdateScreen`.
realtimedynamic—Time value used by the operation.
frameTimedynamic—Time value used by the operation.
registrydynamic—The registry input consumed by `SCR_UpdateScreen`.
connecteddynamic—The connected input consumed by `SCR_UpdateScreen`.
localServerActivedynamic—The local server active input consumed by `SCR_UpdateScreen`.
signondynamic—The signon input consumed by `SCR_UpdateScreen`.
pauseddynamic—The paused input consumed by `SCR_UpdateScreen`.
lastMessageTimedynamic—Time value used by the operation.
demoPlaybackdynamic—The demo playback input consumed by `SCR_UpdateScreen`.
cacheThrashdynamic—The cache thrash input consumed by `SCR_UpdateScreen`.
gameInputdynamic—The game input input consumed by `SCR_UpdateScreen`.
consoleInputdynamic—The console input input consumed by `SCR_UpdateScreen`.

View source

SCR_UpdateWholeScreen

function SCR_UpdateWholeScreen()

Mirror Quake's SCR_UpdateWholeScreen routine and its observable state changes.

View source

scr_vrect

scr_vrect

Tracks the module-level scr vrect state owned by `miniquake.screen`.

View source

screenBasePalette

screenBasePalette

Tracks the module-level screen base palette state owned by `miniquake.screen`.

View source

screenClient

screenClient

Tracks the module-level screen client state owned by `miniquake.screen`.

View source

ScreenCommandTrace

function ScreenCommandTrace()

Implements the `ScreenCommandTrace` operation for `miniquake.screen` (screen command trace).

View source

screenCommandTraceEnabled

screenCommandTraceEnabled

Tracks the module-level screen command trace enabled state owned by `miniquake.screen`.

View source

screenConsole

screenConsole

Tracks the module-level screen console state owned by `miniquake.screen`.

View source

screenCvar

function screenCvar(name, fallback)

============================================================================= gl_screen.c compatibility surface =============================================================================

ParameterTypeDefaultDescription
namedynamic—Stable name that identifies the requested object or option.
fallbackdynamic—Value to use when the requested input is unavailable or invalid.

View source

screenFilesystem

screenFilesystem

Tracks the module-level screen filesystem state owned by `miniquake.screen`.

View source

ScreenOverlayOrder

function ScreenOverlayOrder(dialog, loading, intermission, gameInput)

Implements the `ScreenOverlayOrder` operation for `miniquake.screen` (screen overlay order).

ParameterTypeDefaultDescription
dialogdynamic—The dialog input consumed by `ScreenOverlayOrder`.
loadingdynamic—The loading input consumed by `ScreenOverlayOrder`.
intermissiondynamic—The intermission input consumed by `ScreenOverlayOrder`.
gameInputdynamic—The game input input consumed by `ScreenOverlayOrder`.

View source

screenRealtime

screenRealtime

Tracks the module-level screen realtime state owned by `miniquake.screen`.

View source

screenRegistry

screenRegistry

Tracks the module-level screen registry state owned by `miniquake.screen`.

View source

screenshotName

function screenshotName(filesystem)

Return screenshot name derived from the active module state.

ParameterTypeDefaultDescription
filesystemdynamic—The filesystem input consumed by `screenshotName`.

View source

screenVideoWidth

screenVideoWidth

Tracks the module-level screen video width state owned by `miniquake.screen`.

View source

shutdown

function shutdown(consoleState, menuState)

Implements the `shutdown` operation for `miniquake.screen` (shutdown).

ParameterTypeDefaultDescription
consoleStatedynamic—Mutable state used by `shutdown`.
menuStatedynamic—Mutable state used by `shutdown`.

View source