sgdk
VDPSprite Struct Reference

VDP sprite definition structure replicating VDP hardware sprite. More...

#include <vdp_spr.h>

List of all members.

Public Attributes

s16 y
union {
   struct {
      u8   size
      u8   link
   } 
   u16   size_link
}; 
u16 attribut
s16 x

Detailed Description

VDP sprite definition structure replicating VDP hardware sprite.

Parameters:
yY position - 0x80 (0x80 = 0 on screen)
sizesprite size (see SPRITE_SIZE macro)
linksprite link, this information is used to define sprite drawing order (use 0 to force end of list)
attrtile index and sprite attribut (priority, palette, H/V flip), see TILE_ATTR_FULL macro
xX position - 0x80 (0x80 = 0 on screen)

The documentation for this struct was generated from the following file:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines