sgdk: VDPSprite Struct Reference

sgdk

- Main Page
- Related Pages
- Classes
- Files

- Class List

Public Attributes
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:

  y | Y position - 0x80 (0x80 = 0 on screen)
  size | sprite size (see SPRITE_SIZE macro)
  link | sprite link, this information is used to define sprite drawing order (use 0 to force end of list)
  attr | tile index and sprite attribut (priority, palette, H/V flip), see TILE_ATTR_FULL macro
  x | X position - 0x80 (0x80 = 0 on screen)

The documentation for this struct was generated from the following file:

- vdp_spr.h

All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines