Skip to Content
The Alchemy Project

struct LUCKY_DICE_SCREEN

Lucky Dice's state block (HEAP_SLOT_LUCKY_GAME): its sprites and windows, between two runs of bytes it allocates and never touches.

Declared in lucky_dice.c.

Fields

NameDescription
Uint8unused [200]
OAM_WORDSoam [128]copied to OAM each tick
WINDOW *coinsWindowthe player's coins
WINDOW *winningsWindowthe winnings of the last throw
WINDOW *helpWindowthe Throw and Quit buttons
Uint8unusedEnd [324]

Description

Lucky Dice's state block (HEAP_SLOT_LUCKY_GAME): its sprites and windows, between two runs of bytes it allocates and never touches.

struct LUCKY_DICE_SCREEN

Referenced by fdLuckyDiceRun().

Definition at line 132 of file lucky_dice.c.

Fields in detail

unused

Uint8 unused[200]

oam

OAM_WORDS oam[128]

copied to OAM each tick

coinsWindow

WINDOW *coinsWindow

the player's coins

winningsWindow

WINDOW *winningsWindow

the winnings of the last throw

helpWindow

WINDOW *helpWindow

the Throw and Quit buttons

unusedEnd

Uint8 unusedEnd[324]