struct LUCKY_WHEELS_STATE
Lucky Wheels' state: the five reels, the game's stage, cursor, spins and bet, the keys read, the winning lines, the reel sprites, the windows and the scanline offsets that bend the reels.
Declared in lucky_wheels.c.
Fields
| Name | Description | |
|---|---|---|
REEL | reels [LUCKY_WHEELS_REEL_COUNT] | |
Sint32 | stage | |
Sint32 | cursor | |
Sint32 | spins | |
Sint32 | bet | |
Uint16 | keys | |
Uint16 | direction | |
Uint16 | pressed | |
Uint16 | repeat | |
Sint32 | timer | |
Sint32 | spriteCount | |
Sint32 | winningLines [LUCKY_WHEELS_PAYLINES] | |
OAM_WORDS | oam [128] | |
struct WINDOW * | window | |
struct WINDOW * | subWindow | |
Uint8 | unusedAfterSubWindow [8] | no code names it |
Uint16 | scanlineOffsets [160] | |
Sint32 | prompt | The prompt shown while choosing |
Description
Lucky Wheels' state: the five reels, the game's stage, cursor, spins and bet, the keys read, the winning lines, the reel sprites, the windows and the scanline offsets that bend the reels.
struct LUCKY_WHEELS_STATE
Referenced by fdLuckyWheelsFinishTick(), fdLuckyWheelsRun(), fdLuckyWheelsSetUpBetting() and fdLuckyWheelsUpdate().
Definition at line 570 of file lucky_wheels.c.
Fields in detail
reels
REEL reels[LUCKY_WHEELS_REEL_COUNT]
stage
Sint32 stage
cursor
Sint32 cursor
spins
Sint32 spins
bet
Sint32 bet
keys
Uint16 keys
direction
Uint16 direction
pressed
Uint16 pressed
repeat
Uint16 repeat
timer
Sint32 timer
spriteCount
Sint32 spriteCount
winningLines
Sint32 winningLines[LUCKY_WHEELS_PAYLINES]
oam
OAM_WORDS oam[128]
window
struct WINDOW *window
subWindow
struct WINDOW *subWindow
unusedAfterSubWindow
Uint8 unusedAfterSubWindow[8]
no code names it
scanlineOffsets
Uint16 scanlineOffsets[160]
prompt
Sint32 prompt
The prompt shown while choosing