Skip to Content
The Alchemy Project

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

NameDescription
structSPR_PLACEMENTA sprite's screen position and its two vertical offsets, in 16.16 pixels.
structSPR_SCALEHorizontal and vertical sprite scale; toFIXED(1) is the original size.

Functions

NameDescription
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.