Skip to Content
The Alchemy Project

struct RENDER_MODEL

One entry of the list btRenderDrawModelList draws: which rasterizer draws it, its faces and their transformed corners, its texture and its shade. More…

Declared in render_model.h.

Fields

NameDescription
longkindthe rasterizer kernel that draws it; 0 ends the list
Sint32flagsMODEL_TEXTURE_IN_PLACE keeps the texture where it is
const Uint16 *meshthe faces, as the effect tables write them
Sint16 *verticesthe corners btRenderTransformVertices wrote
MODEL_TEXTURE *texture
longshadetextured model brightness; solid model face colours, by address
Uint8scrollUhow far the texture is scrolled across
Uint8scrollVhow far the texture is scrolled down

Description

One entry of the list btRenderDrawModelList draws: which rasterizer draws it, its faces and their transformed corners, its texture and its shade. btRenderAllocateModelList ends the list with a cleared entry.

struct RENDER_MODEL

Referenced by btEffectRunAzul(), btEffectRunBallLightning(), btEffectRunBreaths(), btEffectRunCards(), btEffectRunCastingImpact(), btEffectRunCatastrophe(), btEffectRunCharon(), btEffectRunCoatlicue(), btEffectRunCruelRuin(), btEffectRunCrystal(), btEffectRunDaedalus(), btEffectRunDaedalusStrike(), btEffectRunDeathPlunge(), btEffectRunDiamondBerg(), btEffectRunDjinniCharge(), btEffectRunDjinniSign(), btEffectRunEclipse(), btEffectRunElementCards(), btEffectRunFirePuppet(), btEffectRunFlora(), btEffectRunFormChange(), btEffectRunFume(), btEffectRunGaspFamily(), btEffectRunGeode(), btEffectRunGeyser(), btEffectRunHaures(), btEffectRunHeavyBlow(), btEffectRunIris(), btEffectRunJudgment(), btEffectRunLeapingStrike(), btEffectRunLegend(), btEffectRunLifeShear(), btEffectRunLightSurge(), btEffectRunLiquifier(), btEffectRunMegiddo(), btEffectRunMeteorBlow(), btEffectRunMirroredWall(), btEffectRunMoloch(), btEffectRunOdyssey(), btEffectRunRadiantFire(), btEffectRunRagingHeat(), btEffectRunRisingDragon(), btEffectRunRisingDragonEnemy(), btEffectRunRushingStrike(), btEffectRunSabreDance(), btEffectRunSerac(), btEffectRunTargetStrike(), btEffectRunTrident(), btEffectRunTripleChomp(), btEffectRunTumblingQuads() and 9 more.

Definition at line 40 of file render_model.h.

Fields in detail

kind

long kind

the rasterizer kernel that draws it; 0 ends the list

flags

Sint32 flags

MODEL_TEXTURE_IN_PLACE keeps the texture where it is

mesh

const Uint16 *mesh

the faces, as the effect tables write them

vertices

Sint16 *vertices

the corners btRenderTransformVertices wrote

texture

MODEL_TEXTURE *texture

shade

long shade

textured model brightness; solid model face colours, by address

scrollU

Uint8 scrollU

how far the texture is scrolled across

scrollV

Uint8 scrollV

how far the texture is scrolled down