# c_alias_polys
c_alias_polysTracks the module-level c alias polys state owned by `miniquake.render.original`.
src/miniquake/render/original.mlminiquake/array_util.ml as compatRmainArrays → src/miniquake/array_util.mlminiquake/client.ml as compatRmainClient → src/miniquake/client.mlminiquake/constants.ml as compatRmainConstants → src/miniquake/constants.mlminiquake/cvar.ml as compatRmainCvar → src/miniquake/cvar.mlminiquake/mathlib.ml as compatRmainMath → src/miniquake/mathlib.mlminiquake/native.ml as compatRmainNative → src/miniquake/native.mlminiquake/platform/win32.ml as compatRmainWin → src/miniquake/platform/win32.mlminiquake/render/alias_mesh.ml as compatRmainAlias → src/miniquake/render/alias_mesh.mlminiquake/render/entities.ml as compatRmainEntities → src/miniquake/render/entities.mlminiquake/render/gl11.ml as compatRmainGl → src/miniquake/render/gl11.mlminiquake/render/particles.ml as compatRmainParticles → src/miniquake/render/particles.mlminiquake/render/world.ml as compatRmainWorld → src/miniquake/render/world.mlminiquake/types.ml as compatRmainTypes → src/miniquake/types.mlminiquake/world_bsp.ml as compatRmainBsp → src/miniquake/world_bsp.mlstd/fs.ml as compatRmainFs → ../MiniLangCompilerOptimization/MiniLangCompilerPy/std/fs.ml external dependencyc_alias_polysTracks the module-level c alias polys state owned by `miniquake.render.original`.
c_brush_polysTracks the module-level c brush polys state owned by `miniquake.render.original`.
cl_numvisedictsTracks the module-level cl numvisedicts state owned by `miniquake.render.original`.
cl_visedictsTracks the module-level cl visedicts state owned by `miniquake.render.original`.
cnttexturesTracks the module-level cnttextures state owned by `miniquake.render.original`.
function compatAppendEfrag(leafIndex)Implements the `compatAppendEfrag` operation for `miniquake.render.original` (compat append efrag).
| Parameter | Type | Default | Description |
|---|---|---|---|
leafIndex | dynamic | — | Zero-based index of the requested entry. |
function compatBoolCvar(name, fallback)Implements the `compatBoolCvar` operation for `miniquake.render.original` (compat bool cvar).
| 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. |
function compatCollectVisibleEfrags()Report whether compat collect visible efrags holds for the active state.
function compatCvarValue(name, fallback)Return compat cvar value derived from the active module state.
| 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. |
function compatEnsureEfragState()----------------------------------------------------------------------------- gl_refrag.c -----------------------------------------------------------------------------
function compatEnvmapPath(index)Return compat envmap path derived from the active module state.
| Parameter | Type | Default | Description |
|---|---|---|---|
index | dynamic | — | Zero-based index of the requested entry. |
function compatModelBounds(ent)Implements the `compatModelBounds` operation for `miniquake.render.original` (compat model bounds).
| Parameter | Type | Default | Description |
|---|---|---|---|
ent | dynamic | — | The ent input consumed by `compatModelBounds`. |
function compatStoreReference(reference, output)Implements the `compatStoreReference` operation for `miniquake.render.original` (compat store reference).
| Parameter | Type | Default | Description |
|---|---|---|---|
reference | dynamic | — | The reference input consumed by `compatStoreReference`. |
output | dynamic | — | Destination that receives the compatibility reference. |
function compatTranslateRange(table, destination, source)Implements the `compatTranslateRange` operation for `miniquake.render.original` (compat translate range).
| Parameter | Type | Default | Description |
|---|---|---|---|
table | dynamic | — | The table input consumed by `compatTranslateRange`. |
destination | dynamic | — | Destination value or collection to update. |
source | dynamic | — | Source value or collection to read. |
function compatVector(value)Return compat vector derived from the active module state.
| Parameter | Type | Default | Description |
|---|---|---|---|
value | dynamic | — | Value consumed by `compatVector`. |
currententityTracks the module-level currententity state owned by `miniquake.render.original`.
currenttextureTracks the module-level currenttexture state owned by `miniquake.render.original`.
function D_FlushCaches()Mirror Quake's D_FlushCaches routine and its observable state changes.
miniquake.render.original.EfragRef struct
envmapTracks the module-level envmap state owned by `miniquake.render.original`.
frustumTracks the module-level frustum state owned by `miniquake.render.original`.
mirrorTracks the module-level mirror state owned by `miniquake.render.original`.
mirror_planeTracks the module-level mirror plane state owned by `miniquake.render.original`.
mirrortexturenumTracks the module-level mirrortexturenum state owned by `miniquake.render.original`.
modelorgTracks the module-level modelorg state owned by `miniquake.render.original`.
function MYgluPerspective(fovy, aspect, zNear, zFar)Implements the `MYgluPerspective` operation for `miniquake.render.original` (m yglu perspective).
| Parameter | Type | Default | Description |
|---|---|---|---|
fovy | dynamic | — | The fovy input consumed by `MYgluPerspective`. |
aspect | dynamic | — | The aspect input consumed by `MYgluPerspective`. |
zNear | dynamic | — | The z near input consumed by `MYgluPerspective`. |
zFar | dynamic | — | The z far input consumed by `MYgluPerspective`. |
particletextureTracks the module-level particletexture state owned by `miniquake.render.original`.
playertexturesTracks the module-level playertextures state owned by `miniquake.render.original`.
function R_AddEfrags(ent)Apply the Quake-compatible r add efrags behavior.
| Parameter | Type | Default | Description |
|---|---|---|---|
ent | dynamic | — | The ent input consumed by `R_AddEfrags`. |
r_cache_thrashTracks the module-level r cache thrash state owned by `miniquake.render.original`.
function R_Clear()Apply the Quake-compatible r clear behavior.
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.
| Parameter | Type | Default | Description |
|---|---|---|---|
renderer | dynamic | — | Renderer instance or backend used for drawing. |
entityRenderer | dynamic | — | The entity renderer input consumed by `R_ConfigureCompatibility`. |
viewState | dynamic | — | Mutable state used by `R_ConfigureCompatibility`. |
player | dynamic | — | The player input consumed by `R_ConfigureCompatibility`. |
client | dynamic | — | Client state participating in the operation. |
server | dynamic | — | Server state participating in the operation. |
particles | dynamic | — | The particles input consumed by `R_ConfigureCompatibility`. |
temporaryEntities | dynamic | — | The temporary entities input consumed by `R_ConfigureCompatibility`. |
cvars | dynamic | — | The cvars input consumed by `R_ConfigureCompatibility`. |
gameDirectory | dynamic | — | Selected Quake game-data directory. |
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. |
realtime | dynamic | — | Time value used by the operation. |
frameTime | dynamic | — | Time value used by the operation. |
function R_CullBox(mins, maxs)----------------------------------------------------------------------------- gl_rmain.c -----------------------------------------------------------------------------
| Parameter | Type | Default | Description |
|---|---|---|---|
mins | dynamic | — | The mins input consumed by `R_CullBox`. |
maxs | dynamic | — | The maxs input consumed by `R_CullBox`. |
function R_DrawAliasModel(entity)Apply the Quake-compatible r draw alias model behavior.
| Parameter | Type | Default | Description |
|---|---|---|---|
entity | dynamic | — | Entity affected by the operation. |
function R_DrawEntitiesOnList()Apply the Quake-compatible r draw entities on list behavior.
function R_DrawSpriteModel(entity)Apply the Quake-compatible r draw sprite model behavior.
| Parameter | Type | Default | Description |
|---|---|---|---|
entity | dynamic | — | Entity affected by the operation. |
function R_DrawViewModel()Apply the Quake-compatible r draw view model behavior.
r_entoriginTracks the module-level r entorigin state owned by `miniquake.render.original`.
function R_Envmap_f()Apply the Quake-compatible r envmap f behavior.
function R_GetSpriteFrame(entity)Apply the Quake-compatible r get sprite frame behavior.
| Parameter | Type | Default | Description |
|---|---|---|---|
entity | dynamic | — | Entity affected by the operation. |
function R_Init()Apply the Quake-compatible r init behavior.
function R_InitParticleTexture()Implements the `R_InitParticleTexture` operation for `miniquake.render.original` (r init particle texture).
function R_InitTextures()----------------------------------------------------------------------------- gl_rmisc.c -----------------------------------------------------------------------------
function R_Mirror()Apply the Quake-compatible r mirror behavior.
function R_NewMap()Apply the Quake-compatible r new map behavior.
r_notexture_mipTracks the module-level r notexture mip state owned by `miniquake.render.original`.
r_notexture_mipsTracks the module-level r notexture mips state owned by `miniquake.render.original`.
r_oldviewleafTracks the module-level r oldviewleaf state owned by `miniquake.render.original`.
r_originTracks the module-level r origin state owned by `miniquake.render.original`.
function R_PolyBlend()Apply the Quake-compatible r poly blend behavior.
function R_RemoveEfrags(ent)Apply the Quake-compatible r remove efrags behavior.
| Parameter | Type | Default | Description |
|---|---|---|---|
ent | dynamic | — | The ent input consumed by `R_RemoveEfrags`. |
function R_RenderScene()Apply the Quake-compatible r render scene behavior.
function R_RenderView()Apply the Quake-compatible r render view behavior.
function R_RotateForEntity(entity)Apply the Quake-compatible r rotate for entity behavior.
| Parameter | Type | Default | Description |
|---|---|---|---|
entity | dynamic | — | Entity affected by the operation. |
function R_SetFrustum()Apply the Quake-compatible r set frustum behavior.
function R_SetupFrame()Apply the Quake-compatible r setup frame behavior.
function R_SetupGL()Apply the Quake-compatible r setup gl behavior.
function R_SplitEntityOnNode(node)Apply the Quake-compatible r split entity on node behavior.
| Parameter | Type | Default | Description |
|---|---|---|---|
node | dynamic | — | The node input consumed by `R_SplitEntityOnNode`. |
function R_StoreEfrags(ppefrag)Apply the Quake-compatible r store efrags behavior.
| Parameter | Type | Default | Description |
|---|---|---|---|
ppefrag | dynamic | — | The ppefrag input consumed by `R_StoreEfrags`. |
function R_TimeRefresh_f()Apply the Quake-compatible r time refresh f behavior.
function R_TranslatePlayerSkin(playernum)Apply the Quake-compatible r translate player skin behavior.
| Parameter | Type | Default | Description |
|---|---|---|---|
playernum | dynamic | — | The playernum input consumed by `R_TranslatePlayerSkin`. |
r_viewleafTracks the module-level r viewleaf state owned by `miniquake.render.original`.
r_worldentityTracks the module-level r worldentity state owned by `miniquake.render.original`.
rCompatAddEntityTracks the module-level r compat add entity state owned by `miniquake.render.original`.
rCompatClientTracks the module-level r compat client state owned by `miniquake.render.original`.
rCompatCvarsTracks the module-level r compat cvars state owned by `miniquake.render.original`.
rCompatDepthMaxTracks the module-level r compat depth max state owned by `miniquake.render.original`.
rCompatDepthMinTracks the module-level r compat depth min state owned by `miniquake.render.original`.
rCompatDrawEntitiesTracks the module-level r compat draw entities state owned by `miniquake.render.original`.
rCompatDrawViewModelTracks the module-level r compat draw view model state owned by `miniquake.render.original`.
rCompatEfragModelTracks the module-level r compat efrag model state owned by `miniquake.render.original`.
rCompatEfragOriginXTracks the module-level r compat efrag origin x state owned by `miniquake.render.original`.
rCompatEfragOriginYTracks the module-level r compat efrag origin y state owned by `miniquake.render.original`.
rCompatEfragOriginZTracks the module-level r compat efrag origin z state owned by `miniquake.render.original`.
rCompatEfragTopNodeTracks the module-level r compat efrag top node state owned by `miniquake.render.original`.
rCompatEfragValidTracks the module-level r compat efrag valid state owned by `miniquake.render.original`.
rCompatEntityEfragsTracks the module-level r compat entity efrags state owned by `miniquake.render.original`.
rCompatEntityMaxsTracks the module-level r compat entity maxs state owned by `miniquake.render.original`.
rCompatEntityMinsTracks the module-level r compat entity mins state owned by `miniquake.render.original`.
rCompatEntityRendererTracks the module-level r compat entity renderer state owned by `miniquake.render.original`.
rCompatFrameTimeTracks the module-level r compat frame time state owned by `miniquake.render.original`.
rCompatGameDirectoryTracks the module-level r compat game directory state owned by `miniquake.render.original`.
rCompatHeightTracks the module-level r compat height state owned by `miniquake.render.original`.
rCompatLeafEfragsTracks the module-level r compat leaf efrags state owned by `miniquake.render.original`.
rCompatParticlesTracks the module-level r compat particles state owned by `miniquake.render.original`.
rCompatParticleTextureTracks the module-level r compat particle texture state owned by `miniquake.render.original`.
rCompatPlayerTracks the module-level r compat player state owned by `miniquake.render.original`.
rCompatRealtimeTracks the module-level r compat realtime state owned by `miniquake.render.original`.
rCompatRendererTracks the module-level r compat renderer state owned by `miniquake.render.original`.
rCompatServerTracks the module-level r compat server state owned by `miniquake.render.original`.
rCompatTemporaryTracks the module-level r compat temporary state owned by `miniquake.render.original`.
rCompatTimeTracks the module-level r compat time state owned by `miniquake.render.original`.
rCompatTrickFrameTracks the module-level r compat trick frame state owned by `miniquake.render.original`.
rCompatViewTracks the module-level r compat view state owned by `miniquake.render.original`.
rCompatViewEntityTracks the module-level r compat view entity state owned by `miniquake.render.original`.
rCompatWidthTracks the module-level r compat width state owned by `miniquake.render.original`.
function SignbitsForPlane(plane)Implements the `SignbitsForPlane` operation for `miniquake.render.original` (signbits for plane).
| Parameter | Type | Default | Description |
|---|---|---|---|
plane | dynamic | — | The plane input consumed by `SignbitsForPlane`. |
vpnTracks the module-level vpn state owned by `miniquake.render.original`.
vrightTracks the module-level vright state owned by `miniquake.render.original`.
vupTracks the module-level vup state owned by `miniquake.render.original`.