Skip to Content
The Alchemy Project

struct LUCKY_WHEELS_STATE

Lucky Wheels' state in LUCKY_WHEELS_HEAP_SLOT: its wheels, phase, bet and spins, keys, timer, winning lines, sprites, windows and the scanline offsets that shade the wheels.

Declared in lucky_wheels.c.

Fields

NameDescription
LUCKY_WHEELwheels [LUCKY_WHEELS_WHEEL_COUNT]
Sint32phase
Sint32cursor
Sint32spins
Sint32bet
Uint16keys
Uint16direction
Uint16pressed
Uint16repeat
Uint8unused [4]No code names it.
Sint32timer
Sint32winningLines [LUCKY_WHEELS_PAYLINES]
OAM_WORDSoam [128]
WINDOW *window
WINDOW *subWindow
Uint8unusedAfterWindows [8]No code names it.
Uint16scanlineOffsets [DISPLAY_HEIGHT]
Sint32promptThe prompt shown

Description

Lucky Wheels' state in LUCKY_WHEELS_HEAP_SLOT: its wheels, phase, bet and spins, keys, timer, winning lines, sprites, windows and the scanline offsets that shade the wheels.

struct LUCKY_WHEELS_STATE

Referenced by fdLuckyWheelsRun(), fdLuckyWheelsSetUpBetting() and fdLuckyWheelsUpdate().

Definition at line 461 of file lucky_wheels.c.

Fields in detail

wheels

LUCKY_WHEEL wheels[LUCKY_WHEELS_WHEEL_COUNT]

phase

Sint32 phase

cursor

Sint32 cursor

spins

Sint32 spins

bet

Sint32 bet

keys

Uint16 keys

direction

Uint16 direction

pressed

Uint16 pressed

repeat

Uint16 repeat

unused

Uint8 unused[4]

No code names it.

timer

Sint32 timer

winningLines

Sint32 winningLines[LUCKY_WHEELS_PAYLINES]

oam

OAM_WORDS oam[128]

window

WINDOW *window

subWindow

WINDOW *subWindow

unusedAfterWindows

Uint8 unusedAfterWindows[8]

No code names it.

scanlineOffsets

Uint16 scanlineOffsets[DISPLAY_HEIGHT]

prompt

Sint32 prompt

The prompt shown