Skip to Content
The Alchemy Project

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

NameDescription
REELreels [LUCKY_WHEELS_REEL_COUNT]
Sint32stage
Sint32cursor
Sint32spins
Sint32bet
Uint16keys
Uint16direction
Uint16pressed
Uint16repeat
Sint32timer
Sint32spriteCount
Sint32winningLines [LUCKY_WHEELS_PAYLINES]
OAM_WORDSoam [128]
struct WINDOW *window
struct WINDOW *subWindow
Uint8unusedAfterSubWindow [8]no code names it
Uint16scanlineOffsets [160]
Sint32promptThe 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