# block_drawing
block_drawingTracks the module-level block drawing state owned by `miniquake.screen`.
src/miniquake/screen.mlminiquake/console.ml as console → src/miniquake/console.mlminiquake/constants.ml as c → src/miniquake/constants.mlminiquake/cvar.ml as cvar → src/miniquake/cvar.mlminiquake/filesystem.ml as qfs → src/miniquake/filesystem.mlminiquake/gl_vidnt.ml as glvid → src/miniquake/gl_vidnt.mlminiquake/keys.ml as keys → src/miniquake/keys.mlminiquake/mathlib.ml as math → src/miniquake/mathlib.mlminiquake/menu.ml as menu → src/miniquake/menu.mlminiquake/native.ml as native → src/miniquake/native.mlminiquake/render/draw2d.ml as draw → src/miniquake/render/draw2d.mlminiquake/render/gl11.ml as gl → src/miniquake/render/gl11.mlminiquake/render_ui_contract.ml as renderUiContract → src/miniquake/render_ui_contract.mlminiquake/statusbar.ml as statusbar → src/miniquake/statusbar.mlminiquake/view.ml as view → src/miniquake/view.mlstd/fs.ml as fs → ../MiniLangCompilerOptimization/MiniLangCompilerPy/std/fs.ml external dependencyblock_drawingTracks the module-level block drawing state owned by `miniquake.screen`.
function BuildTga(width, height, rgba)Create and initialize tga.
| Parameter | Type | Default | Description |
|---|---|---|---|
width | dynamic | — | Requested width in pixels or data units. |
height | dynamic | — | Requested height in pixels or data units. |
rgba | dynamic | — | The rgba input consumed by `BuildTga`. |
function CalcFov(fov_x, width, height)Implements the `CalcFov` operation for `miniquake.screen` (calc fov).
| Parameter | Type | Default | Description |
|---|---|---|---|
fov_x | dynamic | — | The fov x input consumed by `CalcFov`. |
width | dynamic | — | Requested width in pixels or data units. |
height | dynamic | — | Requested height in pixels or data units. |
function CenterStringTrace(text, width, height, lineCount, remaining)Implements the `CenterStringTrace` operation for `miniquake.screen` (center string trace).
| Parameter | Type | Default | Description |
|---|---|---|---|
text | dynamic | — | Text to parse or process. |
width | dynamic | — | Requested width in pixels or data units. |
height | dynamic | — | Requested height in pixels or data units. |
lineCount | dynamic | — | Number of entries or units to process. |
remaining | dynamic | — | The remaining input consumed by `CenterStringTrace`. |
clearconsoleTracks the module-level clearconsole state owned by `miniquake.screen`.
clearnotifyTracks the module-level clearnotify state owned by `miniquake.screen`.
function drawBlend(viewState, width, height)Render blend.
| Parameter | Type | Default | Description |
|---|---|---|---|
viewState | dynamic | — | Mutable state used by `drawBlend`. |
width | dynamic | — | Requested width in pixels or data units. |
height | dynamic | — | Requested height in pixels or data units. |
function drawCenter(consoleState, width, height)Render center.
| Parameter | Type | Default | Description |
|---|---|---|---|
consoleState | dynamic | — | Mutable state used by `drawCenter`. |
width | dynamic | — | Requested width in pixels or data units. |
height | dynamic | — | Requested height in pixels or data units. |
function drawConsoleHeight(consoleState, width, height, visibleHeight)Render console height.
| Parameter | Type | Default | Description |
|---|---|---|---|
consoleState | dynamic | — | Mutable state used by `drawConsoleHeight`. |
width | dynamic | — | Requested width in pixels or data units. |
height | dynamic | — | Requested height in pixels or data units. |
visibleHeight | dynamic | — | The visible height input consumed by `drawConsoleHeight`. |
function drawCrosshair(width, height)Render crosshair.
| Parameter | Type | Default | Description |
|---|---|---|---|
width | dynamic | — | Requested width in pixels or data units. |
height | dynamic | — | Requested height in pixels or data units. |
function drawHud(consoleState, menuState, player, width, height, registry)Render hud.
| Parameter | Type | Default | Description |
|---|---|---|---|
consoleState | dynamic | — | Mutable state used by `drawHud`. |
menuState | dynamic | — | Mutable state used by `drawHud`. |
player | dynamic | — | The player input consumed by `drawHud`. |
width | dynamic | — | Requested width in pixels or data units. |
height | dynamic | — | Requested height in pixels or data units. |
registry | dynamic | — | The registry input consumed by `drawHud`. |
function drawNotify(consoleState, width, height)Render notify.
| Parameter | Type | Default | Description |
|---|---|---|---|
consoleState | dynamic | — | Mutable state used by `drawNotify`. |
width | dynamic | — | Requested width in pixels or data units. |
height | dynamic | — | Requested height in pixels or data units. |
function initialize(consoleState, menuState, filesystem, palette, width, height, registry)Initializes ialize for `miniquake.screen`.
| Parameter | Type | Default | Description |
|---|---|---|---|
consoleState | dynamic | — | Mutable state used by `initialize`. |
menuState | dynamic | — | Mutable state used by `initialize`. |
filesystem | dynamic | — | The filesystem input consumed by `initialize`. |
palette | dynamic | — | The palette input consumed by `initialize`. |
width | dynamic | — | Requested width in pixels or data units. |
height | dynamic | — | Requested height in pixels or data units. |
registry | dynamic | — | The registry input consumed by `initialize`. |
lastScreenCommandsTracks the module-level last screen commands state owned by `miniquake.screen`.
oldfovTracks the module-level oldfov state owned by `miniquake.screen`.
oldRefdefHeightTracks the module-level old refdef height state owned by `miniquake.screen`.
oldRefdefIntermissionTracks the module-level old refdef intermission state owned by `miniquake.screen`.
oldRefdefWidthTracks the module-level old refdef width state owned by `miniquake.screen`.
oldscreensizeTracks the module-level oldscreensize state owned by `miniquake.screen`.
function render(consoleState, menuState, viewState, player, width, height, mapName, showCrosshair, realtime, registry)Implements the `render` operation for `miniquake.screen` (render).
| Parameter | Type | Default | Description |
|---|---|---|---|
consoleState | dynamic | — | Mutable state used by `render`. |
menuState | dynamic | — | Mutable state used by `render`. |
viewState | dynamic | — | Mutable state used by `render`. |
player | dynamic | — | The player input consumed by `render`. |
width | dynamic | — | Requested width in pixels or data units. |
height | dynamic | — | Requested height in pixels or data units. |
mapName | dynamic | — | Name of the map to load or inspect. |
showCrosshair | dynamic | — | The show crosshair input consumed by `render`. |
realtime | dynamic | — | Time value used by the operation. |
registry | dynamic | — | The registry input consumed by `render`. |
sb_linesTracks the module-level sb lines state owned by `miniquake.screen`.
function SCR_BeginLoadingPlaque(consoleState, realtime, connected, signon)Mirror Quake's SCR_BeginLoadingPlaque routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
consoleState | dynamic | — | Mutable state used by `SCR_BeginLoadingPlaque`. |
realtime | dynamic | — | Time value used by the operation. |
connected | dynamic | — | The connected input consumed by `SCR_BeginLoadingPlaque`. |
signon | dynamic | — | The signon input consumed by `SCR_BeginLoadingPlaque`. |
function SCR_BringDownConsole(consoleState, height, frameTime, registry, viewState)Mirror Quake's SCR_BringDownConsole routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
consoleState | dynamic | — | Mutable state used by `SCR_BringDownConsole`. |
height | dynamic | — | Requested height in pixels or data units. |
frameTime | dynamic | — | Time value used by the operation. |
registry | dynamic | — | The registry input consumed by `SCR_BringDownConsole`. |
viewState | dynamic | — | Mutable state used by `SCR_BringDownConsole`. |
function SCR_CalcRefdef(width, height, registry, intermission)Mirror Quake's SCR_CalcRefdef routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
width | dynamic | — | Requested width in pixels or data units. |
height | dynamic | — | Requested height in pixels or data units. |
registry | dynamic | — | The registry input consumed by `SCR_CalcRefdef`. |
intermission | dynamic | — | The intermission input consumed by `SCR_CalcRefdef`. |
scr_center_linesTracks the module-level scr center lines state owned by `miniquake.screen`.
function SCR_CenterPrint(consoleState, text, currentTime)Mirror Quake's SCR_CenterPrint routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
consoleState | dynamic | — | Mutable state used by `SCR_CenterPrint`. |
text | dynamic | — | Text to parse or process. |
currentTime | dynamic | — | Time value used by the operation. |
scr_centerstringTracks the module-level scr centerstring state owned by `miniquake.screen`.
scr_centertime_offTracks the module-level scr centertime off state owned by `miniquake.screen`.
scr_centertime_startTracks the module-level scr centertime start state owned by `miniquake.screen`.
function SCR_CheckDrawCenterString(width, height, currentTime, frameTime, gameInput)Mirror Quake's SCR_CheckDrawCenterString routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
width | dynamic | — | Requested width in pixels or data units. |
height | dynamic | — | Requested height in pixels or data units. |
currentTime | dynamic | — | Time value used by the operation. |
frameTime | dynamic | — | Time value used by the operation. |
gameInput | dynamic | — | The game input input consumed by `SCR_CheckDrawCenterString`. |
scr_con_currentTracks the module-level scr con current state owned by `miniquake.screen`.
function SCR_ConfigureClient(clientState)Mirror Quake's SCR_ConfigureClient routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
clientState | dynamic | — | Mutable state used by `SCR_ConfigureClient`. |
scr_conlinesTracks the module-level scr conlines state owned by `miniquake.screen`.
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.
| Parameter | Type | Default | Description |
|---|---|---|---|
width | dynamic | — | Requested width in pixels or data units. |
height | dynamic | — | Requested height in pixels or data units. |
frameTime | dynamic | — | Time value used by the operation. |
registry | dynamic | — | The registry input consumed by `SCR_ConsoleSlidePixels`. |
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.
scr_copyeverythingTracks the module-level scr copyeverything state owned by `miniquake.screen`.
scr_copytopTracks the module-level scr copytop state owned by `miniquake.screen`.
function SCR_DifferentialSetBlocked(value)Mirror Quake's SCR_DifferentialSetBlocked routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
value | dynamic | — | Value consumed by `SCR_DifferentialSetBlocked`. |
function SCR_DifferentialSetConsole(current, lines)Mirror Quake's SCR_DifferentialSetConsole routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
current | dynamic | — | The current input consumed by `SCR_DifferentialSetConsole`. |
lines | dynamic | — | The lines input consumed by `SCR_DifferentialSetConsole`. |
function SCR_DifferentialSetDrawLoading(value)Mirror Quake's SCR_DifferentialSetDrawLoading routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
value | dynamic | — | Value consumed by `SCR_DifferentialSetDrawLoading`. |
function SCR_DifferentialSetEraseLines(value)Deterministic differential hooks. They expose logical C globals without putting renderer or platform behavior into the native bridge.
| Parameter | Type | Default | Description |
|---|---|---|---|
value | dynamic | — | Value consumed by `SCR_DifferentialSetEraseLines`. |
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.
| Parameter | Type | Default | Description |
|---|---|---|---|
value | dynamic | — | Value consumed by `SCR_DifferentialSetInitialized`. |
function SCR_DifferentialSetNotify(text)Mirror Quake's SCR_DifferentialSetNotify routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
text | dynamic | — | Text to parse or process. |
function SCR_DifferentialSetTile(viewRectangle, statusLines)Mirror Quake's SCR_DifferentialSetTile routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
viewRectangle | dynamic | — | The view rectangle input consumed by `SCR_DifferentialSetTile`. |
statusLines | dynamic | — | The status lines input consumed by `SCR_DifferentialSetTile`. |
function SCR_DifferentialSetTurtleCount(value)Mirror Quake's SCR_DifferentialSetTurtleCount routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
value | dynamic | — | Value consumed by `SCR_DifferentialSetTurtleCount`. |
function SCR_DifferentialState()Mirror Quake's SCR_DifferentialState routine and its observable state changes.
scr_disabled_for_loadingTracks the module-level scr disabled for loading state owned by `miniquake.screen`.
scr_disabled_timeTracks the module-level scr disabled time state owned by `miniquake.screen`.
function SCR_DrawCenterString(width, height, currentTime)Mirror Quake's SCR_DrawCenterString routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
width | dynamic | — | Requested width in pixels or data units. |
height | dynamic | — | Requested height in pixels or data units. |
currentTime | dynamic | — | Time value used by the operation. |
function SCR_DrawConsole(consoleState, width, height, gameOrMessageInput)Mirror Quake's SCR_DrawConsole routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
consoleState | dynamic | — | Mutable state used by `SCR_DrawConsole`. |
width | dynamic | — | Requested width in pixels or data units. |
height | dynamic | — | Requested height in pixels or data units. |
gameOrMessageInput | dynamic | — | The game or message input input consumed by `SCR_DrawConsole`. |
scr_drawdialogTracks the module-level scr drawdialog state owned by `miniquake.screen`.
function SCR_DrawLoading(width, height)Mirror Quake's SCR_DrawLoading routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
width | dynamic | — | Requested width in pixels or data units. |
height | dynamic | — | Requested height in pixels or data units. |
scr_drawloadingTracks the module-level scr drawloading state owned by `miniquake.screen`.
function SCR_DrawNet(realtime, lastMessageTime, demoPlayback, connected, localServerActive)Mirror Quake's SCR_DrawNet routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
realtime | dynamic | — | Time value used by the operation. |
lastMessageTime | dynamic | — | Time value used by the operation. |
demoPlayback | dynamic | — | The demo playback input consumed by `SCR_DrawNet`. |
connected | dynamic | — | The connected input consumed by `SCR_DrawNet`. |
localServerActive | dynamic | — | The local server active input consumed by `SCR_DrawNet`. |
function SCR_DrawNotifyString(width, height)Mirror Quake's SCR_DrawNotifyString routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
width | dynamic | — | Requested width in pixels or data units. |
height | dynamic | — | Requested height in pixels or data units. |
function SCR_DrawPause(paused, width, height)Mirror Quake's SCR_DrawPause routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
paused | dynamic | — | The paused input consumed by `SCR_DrawPause`. |
width | dynamic | — | Requested width in pixels or data units. |
height | dynamic | — | Requested height in pixels or data units. |
function SCR_DrawRam(cacheThrash)Mirror Quake's SCR_DrawRam routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
cacheThrash | dynamic | — | The cache thrash input consumed by `SCR_DrawRam`. |
function SCR_DrawTurtle(frameTime)Mirror Quake's SCR_DrawTurtle routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
frameTime | dynamic | — | Time value used by the operation. |
function SCR_EndLoadingPlaque(consoleState)Mirror Quake's SCR_EndLoadingPlaque routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
consoleState | dynamic | — | Mutable state used by `SCR_EndLoadingPlaque`. |
scr_erase_centerTracks the module-level scr erase center state owned by `miniquake.screen`.
scr_erase_linesTracks the module-level scr erase lines state owned by `miniquake.screen`.
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.
| Parameter | Type | Default | Description |
|---|---|---|---|
count | dynamic | — | Number of entries or units to process. |
scr_fullupdateTracks the module-level scr fullupdate state owned by `miniquake.screen`.
function SCR_Init(filesystem, registry, width, height)Mirror Quake's SCR_Init routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
filesystem | dynamic | — | The filesystem input consumed by `SCR_Init`. |
registry | dynamic | — | The registry input consumed by `SCR_Init`. |
width | dynamic | — | Requested width in pixels or data units. |
height | dynamic | — | Requested height in pixels or data units. |
scr_initializedTracks the module-level scr initialized state owned by `miniquake.screen`.
scr_intermissionTracks the module-level scr intermission state owned by `miniquake.screen`.
inline function SCR_IntermissionMode()Mirror Quake's SCR_IntermissionMode routine and its observable state changes.
scr_loading_pendingTracks the module-level scr loading pending state owned by `miniquake.screen`.
scr_loading_warmup_updatesTracks the module-level scr loading warmup updates state owned by `miniquake.screen`.
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".
| Parameter | Type | Default | Description |
|---|---|---|---|
text | dynamic | — | Text to parse or process. |
keyCode | dynamic | — | The key code input consumed by `SCR_ModalMessage`. |
dedicated | dynamic | — | The dedicated input consumed by `SCR_ModalMessage`. |
scr_netTracks the module-level scr net state owned by `miniquake.screen`.
scr_notifystringTracks the module-level scr notifystring state owned by `miniquake.screen`.
function SCR_PrecachePictures()Cache screen/status-bar pictures whose first appearance may be much later than Draw_Init (pause, intermission, scoreboard and finale screens).
scr_ramTracks the module-level scr ram state owned by `miniquake.screen`.
function SCR_ScreenShot_f(filesystem, x, y, width, height)Mirror Quake's SCR_ScreenShot_f routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
filesystem | dynamic | — | The filesystem input consumed by `SCR_ScreenShot_f`. |
x | dynamic | — | The x input consumed by `SCR_ScreenShot_f`. |
y | dynamic | — | The y input consumed by `SCR_ScreenShot_f`. |
width | dynamic | — | Requested width in pixels or data units. |
height | dynamic | — | Requested height in pixels or data units. |
function SCR_ScreenshotFailure()Mirror Quake's SCR_ScreenshotFailure routine and its observable state changes.
function SCR_SetCommandTraceEnabled(enabled)Enable command recording for differential fixtures. The production host disables this diagnostic-only allocation stream after creating a session.
| Parameter | Type | Default | Description |
|---|---|---|---|
enabled | dynamic | — | Whether the optional behavior is enabled. |
function SCR_SetIntermission(mode, text, consoleState, currentTime)Mirror Quake's SCR_SetIntermission routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
mode | dynamic | — | The mode input consumed by `SCR_SetIntermission`. |
text | dynamic | — | Text to parse or process. |
consoleState | dynamic | — | Mutable state used by `SCR_SetIntermission`. |
currentTime | dynamic | — | Time value used by the operation. |
function SCR_SetUpToDrawConsole(consoleState, height, frameTime, registry, forcedUp, consoleInput, numPages)Mirror Quake's SCR_SetUpToDrawConsole routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
consoleState | dynamic | — | Mutable state used by `SCR_SetUpToDrawConsole`. |
height | dynamic | — | Requested height in pixels or data units. |
frameTime | dynamic | — | Time value used by the operation. |
registry | dynamic | — | The registry input consumed by `SCR_SetUpToDrawConsole`. |
forcedUp | dynamic | — | The forced up input consumed by `SCR_SetUpToDrawConsole`. |
consoleInput | dynamic | — | The console input input consumed by `SCR_SetUpToDrawConsole`. |
numPages | dynamic | — | The num pages input consumed by `SCR_SetUpToDrawConsole`. |
inline function SCR_ShouldDrawNet(realtime, lastMessageTime, demoPlayback, connected, localServerActive)Mirror Quake's SCR_ShouldDrawNet routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
realtime | dynamic | — | Time value used by the operation. |
lastMessageTime | dynamic | — | Time value used by the operation. |
demoPlayback | dynamic | — | The demo playback input consumed by `SCR_ShouldDrawNet`. |
connected | dynamic | — | The connected input consumed by `SCR_ShouldDrawNet`. |
localServerActive | dynamic | — | The local server active input consumed by `SCR_ShouldDrawNet`. |
function SCR_ShouldSkipUpdate(realtime)Mirror Quake's SCR_ShouldSkipUpdate routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
realtime | dynamic | — | Time value used by the operation. |
function SCR_SizeDown()Mirror Quake's SCR_SizeDown routine and its observable state changes.
function SCR_SizeDown_f(registry)Mirror Quake's SCR_SizeDown_f routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
registry | dynamic | — | The registry input consumed by `SCR_SizeDown_f`. |
function SCR_SizeUp()Mirror Quake's SCR_SizeUp routine and its observable state changes.
function SCR_SizeUp_f(registry)Mirror Quake's SCR_SizeUp_f routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
registry | dynamic | — | The registry input consumed by `SCR_SizeUp_f`. |
scr_skipupdateTracks the module-level scr skipupdate state owned by `miniquake.screen`.
function SCR_TileClear(width, height)Mirror Quake's SCR_TileClear routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|---|---|---|
width | dynamic | — | Requested width in pixels or data units. |
height | dynamic | — | Requested height in pixels or data units. |
scr_transition_clear_framesTracks the module-level scr transition clear frames state owned by `miniquake.screen`.
scr_turtleTracks the module-level scr turtle state owned by `miniquake.screen`.
scr_turtle_countTracks the module-level scr turtle count state owned by `miniquake.screen`.
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.
| Parameter | Type | Default | Description |
|---|---|---|---|
consoleState | dynamic | — | Mutable state used by `SCR_UpdateScreen`. |
menuState | dynamic | — | Mutable state used by `SCR_UpdateScreen`. |
viewState | dynamic | — | Mutable state used by `SCR_UpdateScreen`. |
player | dynamic | — | The player input consumed by `SCR_UpdateScreen`. |
width | dynamic | — | Requested width in pixels or data units. |
height | dynamic | — | Requested height in pixels or data units. |
mapName | dynamic | — | Name of the map to load or inspect. |
showCrosshair | dynamic | — | The show crosshair input consumed by `SCR_UpdateScreen`. |
realtime | dynamic | — | Time value used by the operation. |
frameTime | dynamic | — | Time value used by the operation. |
registry | dynamic | — | The registry input consumed by `SCR_UpdateScreen`. |
connected | dynamic | — | The connected input consumed by `SCR_UpdateScreen`. |
localServerActive | dynamic | — | The local server active input consumed by `SCR_UpdateScreen`. |
signon | dynamic | — | The signon input consumed by `SCR_UpdateScreen`. |
paused | dynamic | — | The paused input consumed by `SCR_UpdateScreen`. |
lastMessageTime | dynamic | — | Time value used by the operation. |
demoPlayback | dynamic | — | The demo playback input consumed by `SCR_UpdateScreen`. |
cacheThrash | dynamic | — | The cache thrash input consumed by `SCR_UpdateScreen`. |
gameInput | dynamic | — | The game input input consumed by `SCR_UpdateScreen`. |
consoleInput | dynamic | — | The console input input consumed by `SCR_UpdateScreen`. |
function SCR_UpdateWholeScreen()Mirror Quake's SCR_UpdateWholeScreen routine and its observable state changes.
scr_vrectTracks the module-level scr vrect state owned by `miniquake.screen`.
screenBasePaletteTracks the module-level screen base palette state owned by `miniquake.screen`.
screenClientTracks the module-level screen client state owned by `miniquake.screen`.
function ScreenCommandTrace()Implements the `ScreenCommandTrace` operation for `miniquake.screen` (screen command trace).
screenCommandTraceEnabledTracks the module-level screen command trace enabled state owned by `miniquake.screen`.
screenConsoleTracks the module-level screen console state owned by `miniquake.screen`.
function screenCvar(name, fallback)============================================================================= gl_screen.c compatibility surface =============================================================================
| Parameter | Type | Default | Description |
|---|---|---|---|
name | dynamic | — | Stable name that identifies the requested object or option. |
fallback | dynamic | — | Value to use when the requested input is unavailable or invalid. |
screenFilesystemTracks the module-level screen filesystem state owned by `miniquake.screen`.
function ScreenOverlayOrder(dialog, loading, intermission, gameInput)Implements the `ScreenOverlayOrder` operation for `miniquake.screen` (screen overlay order).
| Parameter | Type | Default | Description |
|---|---|---|---|
dialog | dynamic | — | The dialog input consumed by `ScreenOverlayOrder`. |
loading | dynamic | — | The loading input consumed by `ScreenOverlayOrder`. |
intermission | dynamic | — | The intermission input consumed by `ScreenOverlayOrder`. |
gameInput | dynamic | — | The game input input consumed by `ScreenOverlayOrder`. |
screenRealtimeTracks the module-level screen realtime state owned by `miniquake.screen`.
screenRegistryTracks the module-level screen registry state owned by `miniquake.screen`.
function screenshotName(filesystem)Return screenshot name derived from the active module state.
| Parameter | Type | Default | Description |
|---|---|---|---|
filesystem | dynamic | — | The filesystem input consumed by `screenshotName`. |
screenVideoWidthTracks the module-level screen video width state owned by `miniquake.screen`.
function shutdown(consoleState, menuState)Implements the `shutdown` operation for `miniquake.screen` (shutdown).
| Parameter | Type | Default | Description |
|---|---|---|---|
consoleState | dynamic | — | Mutable state used by `shutdown`. |
menuState | dynamic | — | Mutable state used by `shutdown`. |