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_ATTR * obj
 GBA sprite attribute registers info (A0-A2)
 
OBJ_AFFINE * aff
 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 53 of file sprite.h.

Field Documentation

◆ aff

OBJ_AFFINE* aff

GBA sprite affine matrices registers info.

Definition at line 63 of file sprite.h.

◆ idx

s16 idx

Sprite index in memory managed by GBAlatro.

Definition at line 73 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 79 of file sprite.h.

◆ obj

OBJ_ATTR* obj

GBA sprite attribute registers info (A0-A2)

Definition at line 58 of file sprite.h.

◆ pos

POINT pos

Sprite position on screen in pixels.

Definition at line 68 of file sprite.h.


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