GBAlatro
A Demake of Balatro for the GBA
Loading...
Searching...
No Matches
Sprite Struct Reference

Sprite struct for GBA hardware specifics. More...

#include <sprite.h>

Data Fields

OBJ_ATTRobj
 GBA sprite attribute registers info (A0-A2)
 
OBJ_AFFINEaff
 GBA sprite affine matrices registers info.
 
POINT pos
 Sprite position on screen in pixels.
 
s16 idx
 Sprite index in memory managed by GBAlatro.
 
u16 mode
 The mode of the sprite (regular, affine, etc.), set when the sprite is created corresponds to A0 & ATTR0_MODE_MASK.
 

Detailed Description

Sprite struct for GBA hardware specifics.

Definition at line 28 of file sprite.h.

Field Documentation

◆ aff

OBJ_AFFINE* aff

GBA sprite affine matrices registers info.

Definition at line 38 of file sprite.h.

◆ idx

s16 idx

Sprite index in memory managed by GBAlatro.

Definition at line 48 of file sprite.h.

◆ mode

u16 mode

The mode of the sprite (regular, affine, etc.), set when the sprite is created corresponds to A0 & ATTR0_MODE_MASK.

Definition at line 54 of file sprite.h.

◆ obj

OBJ_ATTR* obj

GBA sprite attribute registers info (A0-A2)

Definition at line 33 of file sprite.h.

◆ pos

POINT pos

Sprite position on screen in pixels.

Definition at line 43 of file sprite.h.


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