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
| Name | Description | |
|---|---|---|
LUCKY_WHEEL | wheels [LUCKY_WHEELS_WHEEL_COUNT] | |
Sint32 | phase | |
Sint32 | cursor | |
Sint32 | spins | |
Sint32 | bet | |
Uint16 | keys | |
Uint16 | direction | |
Uint16 | pressed | |
Uint16 | repeat | |
Uint8 | unused [4] | No code names it. |
Sint32 | timer | |
Sint32 | winningLines [LUCKY_WHEELS_PAYLINES] | |
OAM_WORDS | oam [128] | |
WINDOW * | window | |
WINDOW * | subWindow | |
Uint8 | unusedAfterWindows [8] | No code names it. |
Uint16 | scanlineOffsets [DISPLAY_HEIGHT] | |
Sint32 | prompt | The 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