struct SPR_PLACEMENT
A sprite's screen position and its two vertical offsets, in 16.16 pixels.
Declared in render_placement.h.
Fields
| Name | Description | |
|---|---|---|
union { struct { FIXED | x, height, y, groundHeight, values ; FIXED height; FIXED y; FIXED groundHeight; }; FIXED values[4]; } | screen x of the sprite's centre |
Description
A sprite's screen position and its two vertical offsets, in 16.16 pixels.
struct SPR_PLACEMENT
Referenced by btEffectPlaceFormationSprites(), btEffectRunAtalanta(), btEffectRunBoreas(), btEffectRunGaia(), btEffectRunJudgment(), btEffectRunKirin(), btEffectRunNeptune(), btEffectRunProcne(), btEffectRunRamses(), btEffectRunStarfieldFall(), fdActorSystemPlaceSprites(), fdParticleDraw(), fdRenderApplyProjectedPlacement(), fdSpriteViewerLayOutRing(), fdSpriteViewerPlaceRing(), fdSpriteViewerRun(), mnDjinnFiguresUpdateAllPositions(), mnDjinnFiguresUpdateBottomRow(), mnFileListPlaceDjinnSprites(), mnFileListPlacePartySprites(), mnPlacePartyFigures(), sySpritePlacementReadValues() and sySpritePlacementValues().
Definition at line 11 of file render_placement.h.
Fields in detail
x, height, y, groundHeight, values
union { struct { FIXED x; FIXED height; FIXED y; FIXED groundHeight; }; FIXED values[4]; }
screen x of the sprite's centre
how far the image is raised above y
screen y at the ground; sets the depth slot
how far the shadow is raised above y