Alchemy
Loading...
Searching...
No Matches

SpritePlacement Struct Reference

A sprite's screen position and its two vertical offsets, in 16.16 pixels. More...

#include <graphics/render_placement.h>

Data Fields

s32 x
 screen x of the sprite's centre
s32 height
 how far the image is raised above y
s32 y
 screen y at the ground; sets the depth slot
s32 groundHeight
 how far the shadow is raised above y

Detailed Description

A sprite's screen position and its two vertical offsets, in 16.16 pixels.

Definition at line 11 of file render_placement.h.

Field Documentation

◆ x

◆ height

◆ y

◆ groundHeight