include/graphics/render_placement.h
Where a sprite is drawn and at what scale.
Included by battle_effect_constants.c, battle_effect_internal.h, menu_internal.h and sprite.h.
Structures
| Name | Description | |
|---|---|---|
struct | SPR_PLACEMENT | A sprite's screen position and its two vertical offsets, in 16.16 pixels. |
struct | SPR_SCALE | Horizontal and vertical sprite scale; toFIXED(1) is the original size. |
Functions
| Name | Description | |
|---|---|---|
static inline Sint32 * | sySpritePlacementValues (SPR_PLACEMENT *placement) | Returns the placement's values as a writable array. |
Description
Where a sprite is drawn and at what scale.
Functions in detail
sySpritePlacementValues
static inline Sint32 *sySpritePlacementValues(SPR_PLACEMENT *placement)
Returns the placement's values as a writable array.
References Sint32.
Referenced by btEffectRunAtalanta(), btEffectRunFlora(), btEffectRunJudgment(), btEffectRunNeptune(), fdActorSystemPlaceSprites() and fdSpriteViewerLayOutRing().
Definition at line 35 of file render_placement.h.