1#ifndef ALCHEMY_RENDER_PLACEMENT_H
2#define ALCHEMY_RENDER_PLACEMENT_H
33static inline const s32 *
36 return placement->values;
45 return placement->values;
static s32 * SpritePlacement_Values(struct SpritePlacement *placement)
Returns the placement's values as a writable array.
static const s32 * SpritePlacement_ReadValues(const struct SpritePlacement *placement)
Returns the placement's values as an array.
STATIC_ASSERT, a compile-time check that emits nothing.
#define STATIC_ASSERT(condition)
C89 permits repeated extern declarations of the same array.
#define offsetof(type, member)
A sprite's screen position and its two vertical offsets, in 16.16 pixels.
s32 x
screen x of the sprite's centre
s32 y
screen y at the ground; sets the depth slot
s32 groundHeight
how far the shadow is raised above y
s32 height
how far the image is raised above y
Horizontal and vertical sprite scale; 0x10000 is the original size.
The integer types, TRUE, UNUSED and the fixed-address macros.