MiniQuake

src/miniquake/render/original.ml

Package
miniquake.render.original
Reachable
No

Imports

Declarations

c_alias_polys

c_alias_polys

Tracks the module-level c alias polys state owned by `miniquake.render.original`.

View source

c_brush_polys

c_brush_polys

Tracks the module-level c brush polys state owned by `miniquake.render.original`.

View source

cl_numvisedicts

cl_numvisedicts

Tracks the module-level cl numvisedicts state owned by `miniquake.render.original`.

View source

cl_visedicts

cl_visedicts

Tracks the module-level cl visedicts state owned by `miniquake.render.original`.

View source

cnttextures

cnttextures

Tracks the module-level cnttextures state owned by `miniquake.render.original`.

View source

compatAppendEfrag

function compatAppendEfrag(leafIndex)

Implements the `compatAppendEfrag` operation for `miniquake.render.original` (compat append efrag).

ParameterTypeDefaultDescription
leafIndexdynamic—Zero-based index of the requested entry.

View source

compatBoolCvar

function compatBoolCvar(name, fallback)

Implements the `compatBoolCvar` operation for `miniquake.render.original` (compat bool cvar).

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

compatCollectVisibleEfrags

function compatCollectVisibleEfrags()

Report whether compat collect visible efrags holds for the active state.

View source

compatCvarValue

function compatCvarValue(name, fallback)

Return compat cvar value derived from the active module state.

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

compatEnsureEfragState

function compatEnsureEfragState()

----------------------------------------------------------------------------- gl_refrag.c -----------------------------------------------------------------------------

View source

compatEnvmapPath

function compatEnvmapPath(index)

Return compat envmap path derived from the active module state.

ParameterTypeDefaultDescription
indexdynamic—Zero-based index of the requested entry.

View source

compatModelBounds

function compatModelBounds(ent)

Implements the `compatModelBounds` operation for `miniquake.render.original` (compat model bounds).

ParameterTypeDefaultDescription
entdynamic—The ent input consumed by `compatModelBounds`.

View source

compatStoreReference

function compatStoreReference(reference, output)

Implements the `compatStoreReference` operation for `miniquake.render.original` (compat store reference).

ParameterTypeDefaultDescription
referencedynamic—The reference input consumed by `compatStoreReference`.
outputdynamic—Destination that receives the compatibility reference.

View source

compatTranslateRange

function compatTranslateRange(table, destination, source)

Implements the `compatTranslateRange` operation for `miniquake.render.original` (compat translate range).

ParameterTypeDefaultDescription
tabledynamic—The table input consumed by `compatTranslateRange`.
destinationdynamic—Destination value or collection to update.
sourcedynamic—Source value or collection to read.

View source

compatVector

function compatVector(value)

Return compat vector derived from the active module state.

ParameterTypeDefaultDescription
valuedynamic—Value consumed by `compatVector`.

View source

currententity

currententity

Tracks the module-level currententity state owned by `miniquake.render.original`.

View source

currenttexture

currenttexture

Tracks the module-level currenttexture state owned by `miniquake.render.original`.

View source

D_FlushCaches

function D_FlushCaches()

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

View source

miniquake.render.original.EfragRef struct

envmap

envmap

Tracks the module-level envmap state owned by `miniquake.render.original`.

View source

frustum

frustum

Tracks the module-level frustum state owned by `miniquake.render.original`.

View source

mirror

mirror

Tracks the module-level mirror state owned by `miniquake.render.original`.

View source

mirror_plane

mirror_plane

Tracks the module-level mirror plane state owned by `miniquake.render.original`.

View source

mirrortexturenum

mirrortexturenum

Tracks the module-level mirrortexturenum state owned by `miniquake.render.original`.

View source

modelorg

modelorg

Tracks the module-level modelorg state owned by `miniquake.render.original`.

View source

MYgluPerspective

function MYgluPerspective(fovy, aspect, zNear, zFar)

Implements the `MYgluPerspective` operation for `miniquake.render.original` (m yglu perspective).

ParameterTypeDefaultDescription
fovydynamic—The fovy input consumed by `MYgluPerspective`.
aspectdynamic—The aspect input consumed by `MYgluPerspective`.
zNeardynamic—The z near input consumed by `MYgluPerspective`.
zFardynamic—The z far input consumed by `MYgluPerspective`.

View source

particletexture

particletexture

Tracks the module-level particletexture state owned by `miniquake.render.original`.

View source

playertextures

playertextures

Tracks the module-level playertextures state owned by `miniquake.render.original`.

View source

R_AddEfrags

function R_AddEfrags(ent)

Apply the Quake-compatible r add efrags behavior.

ParameterTypeDefaultDescription
entdynamic—The ent input consumed by `R_AddEfrags`.

View source

r_cache_thrash

r_cache_thrash

Tracks the module-level r cache thrash state owned by `miniquake.render.original`.

View source

R_Clear

function R_Clear()

Apply the Quake-compatible r clear behavior.

View source

R_ConfigureCompatibility

function R_ConfigureCompatibility(renderer, entityRenderer, viewState, player, client, server, particles, temporaryEntities, cvars, gameDirectory, width, height, currentTime, realtime, frameTime)

Apply the Quake-compatible r configure compatibility behavior.

ParameterTypeDefaultDescription
rendererdynamic—Renderer instance or backend used for drawing.
entityRendererdynamic—The entity renderer input consumed by `R_ConfigureCompatibility`.
viewStatedynamic—Mutable state used by `R_ConfigureCompatibility`.
playerdynamic—The player input consumed by `R_ConfigureCompatibility`.
clientdynamic—Client state participating in the operation.
serverdynamic—Server state participating in the operation.
particlesdynamic—The particles input consumed by `R_ConfigureCompatibility`.
temporaryEntitiesdynamic—The temporary entities input consumed by `R_ConfigureCompatibility`.
cvarsdynamic—The cvars input consumed by `R_ConfigureCompatibility`.
gameDirectorydynamic—Selected Quake game-data directory.
widthdynamic—Requested width in pixels or data units.
heightdynamic—Requested height in pixels or data units.
currentTimedynamic—Time value used by the operation.
realtimedynamic—Time value used by the operation.
frameTimedynamic—Time value used by the operation.

View source

R_CullBox

function R_CullBox(mins, maxs)

----------------------------------------------------------------------------- gl_rmain.c -----------------------------------------------------------------------------

ParameterTypeDefaultDescription
minsdynamic—The mins input consumed by `R_CullBox`.
maxsdynamic—The maxs input consumed by `R_CullBox`.

View source

R_DrawAliasModel

function R_DrawAliasModel(entity)

Apply the Quake-compatible r draw alias model behavior.

ParameterTypeDefaultDescription
entitydynamic—Entity affected by the operation.

View source

R_DrawEntitiesOnList

function R_DrawEntitiesOnList()

Apply the Quake-compatible r draw entities on list behavior.

View source

R_DrawSpriteModel

function R_DrawSpriteModel(entity)

Apply the Quake-compatible r draw sprite model behavior.

ParameterTypeDefaultDescription
entitydynamic—Entity affected by the operation.

View source

R_DrawViewModel

function R_DrawViewModel()

Apply the Quake-compatible r draw view model behavior.

View source

r_entorigin

r_entorigin

Tracks the module-level r entorigin state owned by `miniquake.render.original`.

View source

R_Envmap_f

function R_Envmap_f()

Apply the Quake-compatible r envmap f behavior.

View source

R_GetSpriteFrame

function R_GetSpriteFrame(entity)

Apply the Quake-compatible r get sprite frame behavior.

ParameterTypeDefaultDescription
entitydynamic—Entity affected by the operation.

View source

R_Init

function R_Init()

Apply the Quake-compatible r init behavior.

View source

R_InitParticleTexture

function R_InitParticleTexture()

Implements the `R_InitParticleTexture` operation for `miniquake.render.original` (r init particle texture).

View source

R_InitTextures

function R_InitTextures()

----------------------------------------------------------------------------- gl_rmisc.c -----------------------------------------------------------------------------

View source

R_Mirror

function R_Mirror()

Apply the Quake-compatible r mirror behavior.

View source

R_NewMap

function R_NewMap()

Apply the Quake-compatible r new map behavior.

View source

r_notexture_mip

r_notexture_mip

Tracks the module-level r notexture mip state owned by `miniquake.render.original`.

View source

r_notexture_mips

r_notexture_mips

Tracks the module-level r notexture mips state owned by `miniquake.render.original`.

View source

r_oldviewleaf

r_oldviewleaf

Tracks the module-level r oldviewleaf state owned by `miniquake.render.original`.

View source

r_origin

r_origin

Tracks the module-level r origin state owned by `miniquake.render.original`.

View source

R_PolyBlend

function R_PolyBlend()

Apply the Quake-compatible r poly blend behavior.

View source

R_RemoveEfrags

function R_RemoveEfrags(ent)

Apply the Quake-compatible r remove efrags behavior.

ParameterTypeDefaultDescription
entdynamic—The ent input consumed by `R_RemoveEfrags`.

View source

R_RenderScene

function R_RenderScene()

Apply the Quake-compatible r render scene behavior.

View source

R_RenderView

function R_RenderView()

Apply the Quake-compatible r render view behavior.

View source

R_RotateForEntity

function R_RotateForEntity(entity)

Apply the Quake-compatible r rotate for entity behavior.

ParameterTypeDefaultDescription
entitydynamic—Entity affected by the operation.

View source

R_SetFrustum

function R_SetFrustum()

Apply the Quake-compatible r set frustum behavior.

View source

R_SetupFrame

function R_SetupFrame()

Apply the Quake-compatible r setup frame behavior.

View source

R_SetupGL

function R_SetupGL()

Apply the Quake-compatible r setup gl behavior.

View source

R_SplitEntityOnNode

function R_SplitEntityOnNode(node)

Apply the Quake-compatible r split entity on node behavior.

ParameterTypeDefaultDescription
nodedynamic—The node input consumed by `R_SplitEntityOnNode`.

View source

R_StoreEfrags

function R_StoreEfrags(ppefrag)

Apply the Quake-compatible r store efrags behavior.

ParameterTypeDefaultDescription
ppefragdynamic—The ppefrag input consumed by `R_StoreEfrags`.

View source

R_TimeRefresh_f

function R_TimeRefresh_f()

Apply the Quake-compatible r time refresh f behavior.

View source

R_TranslatePlayerSkin

function R_TranslatePlayerSkin(playernum)

Apply the Quake-compatible r translate player skin behavior.

ParameterTypeDefaultDescription
playernumdynamic—The playernum input consumed by `R_TranslatePlayerSkin`.

View source

r_viewleaf

r_viewleaf

Tracks the module-level r viewleaf state owned by `miniquake.render.original`.

View source

r_worldentity

r_worldentity

Tracks the module-level r worldentity state owned by `miniquake.render.original`.

View source

rCompatAddEntity

rCompatAddEntity

Tracks the module-level r compat add entity state owned by `miniquake.render.original`.

View source

rCompatClient

rCompatClient

Tracks the module-level r compat client state owned by `miniquake.render.original`.

View source

rCompatCvars

rCompatCvars

Tracks the module-level r compat cvars state owned by `miniquake.render.original`.

View source

rCompatDepthMax

rCompatDepthMax

Tracks the module-level r compat depth max state owned by `miniquake.render.original`.

View source

rCompatDepthMin

rCompatDepthMin

Tracks the module-level r compat depth min state owned by `miniquake.render.original`.

View source

rCompatDrawEntities

rCompatDrawEntities

Tracks the module-level r compat draw entities state owned by `miniquake.render.original`.

View source

rCompatDrawViewModel

rCompatDrawViewModel

Tracks the module-level r compat draw view model state owned by `miniquake.render.original`.

View source

rCompatEfragModel

rCompatEfragModel

Tracks the module-level r compat efrag model state owned by `miniquake.render.original`.

View source

rCompatEfragOriginX

rCompatEfragOriginX

Tracks the module-level r compat efrag origin x state owned by `miniquake.render.original`.

View source

rCompatEfragOriginY

rCompatEfragOriginY

Tracks the module-level r compat efrag origin y state owned by `miniquake.render.original`.

View source

rCompatEfragOriginZ

rCompatEfragOriginZ

Tracks the module-level r compat efrag origin z state owned by `miniquake.render.original`.

View source

rCompatEfragTopNode

rCompatEfragTopNode

Tracks the module-level r compat efrag top node state owned by `miniquake.render.original`.

View source

rCompatEfragValid

rCompatEfragValid

Tracks the module-level r compat efrag valid state owned by `miniquake.render.original`.

View source

rCompatEntityEfrags

rCompatEntityEfrags

Tracks the module-level r compat entity efrags state owned by `miniquake.render.original`.

View source

rCompatEntityMaxs

rCompatEntityMaxs

Tracks the module-level r compat entity maxs state owned by `miniquake.render.original`.

View source

rCompatEntityMins

rCompatEntityMins

Tracks the module-level r compat entity mins state owned by `miniquake.render.original`.

View source

rCompatEntityRenderer

rCompatEntityRenderer

Tracks the module-level r compat entity renderer state owned by `miniquake.render.original`.

View source

rCompatFrameTime

rCompatFrameTime

Tracks the module-level r compat frame time state owned by `miniquake.render.original`.

View source

rCompatGameDirectory

rCompatGameDirectory

Tracks the module-level r compat game directory state owned by `miniquake.render.original`.

View source

rCompatHeight

rCompatHeight

Tracks the module-level r compat height state owned by `miniquake.render.original`.

View source

rCompatLeafEfrags

rCompatLeafEfrags

Tracks the module-level r compat leaf efrags state owned by `miniquake.render.original`.

View source

rCompatParticles

rCompatParticles

Tracks the module-level r compat particles state owned by `miniquake.render.original`.

View source

rCompatParticleTexture

rCompatParticleTexture

Tracks the module-level r compat particle texture state owned by `miniquake.render.original`.

View source

rCompatPlayer

rCompatPlayer

Tracks the module-level r compat player state owned by `miniquake.render.original`.

View source

rCompatRealtime

rCompatRealtime

Tracks the module-level r compat realtime state owned by `miniquake.render.original`.

View source

rCompatRenderer

rCompatRenderer

Tracks the module-level r compat renderer state owned by `miniquake.render.original`.

View source

rCompatServer

rCompatServer

Tracks the module-level r compat server state owned by `miniquake.render.original`.

View source

rCompatTemporary

rCompatTemporary

Tracks the module-level r compat temporary state owned by `miniquake.render.original`.

View source

rCompatTime

rCompatTime

Tracks the module-level r compat time state owned by `miniquake.render.original`.

View source

rCompatTrickFrame

rCompatTrickFrame

Tracks the module-level r compat trick frame state owned by `miniquake.render.original`.

View source

rCompatView

rCompatView

Tracks the module-level r compat view state owned by `miniquake.render.original`.

View source

rCompatViewEntity

rCompatViewEntity

Tracks the module-level r compat view entity state owned by `miniquake.render.original`.

View source

rCompatWidth

rCompatWidth

Tracks the module-level r compat width state owned by `miniquake.render.original`.

View source

SignbitsForPlane

function SignbitsForPlane(plane)

Implements the `SignbitsForPlane` operation for `miniquake.render.original` (signbits for plane).

ParameterTypeDefaultDescription
planedynamic—The plane input consumed by `SignbitsForPlane`.

View source

vpn

vpn

Tracks the module-level vpn state owned by `miniquake.render.original`.

View source

vright

vright

Tracks the module-level vright state owned by `miniquake.render.original`.

View source

vup

vup

Tracks the module-level vup state owned by `miniquake.render.original`.

View source