Alchemy
Loading...
Searching...
No Matches

ReelWork Struct Reference

The slot machine's work in heap slot 45: its reels, state, bet and spins, keys, timer, winning lines, sprites and windows. More...

Data Fields

struct Reel reels [5]
s32 state
s32 cursor
s32 spins
s32 bet
u16 keys
u16 direction
u16 pressed
u16 repeat
u8 unk0a4 [4]
s32 timer
s32 winningLines [7]
struct OamShadow obj [128]
struct UiWindow * window
struct UiWindow * subWindow
u8 unk4d0 [8]
u16 scanlineOffsets [160]
s32 phase

Detailed Description

The slot machine's work in heap slot 45: its reels, state, bet and spins, keys, timer, winning lines, sprites and windows.

Definition at line 314 of file colorfx.c.

Field Documentation

◆ reels

struct Reel ReelWork::reels[5]

Definition at line 315 of file colorfx.c.

Referenced by ReelGame_Run(), and ReelGame_RunFrame().

◆ state

s32 ReelWork::state

Definition at line 316 of file colorfx.c.

Referenced by ReelGame_InitTitle(), ReelGame_Run(), and ReelGame_RunFrame().

◆ cursor

s32 ReelWork::cursor

Definition at line 317 of file colorfx.c.

Referenced by ReelGame_Run(), and ReelGame_RunFrame().

◆ spins

s32 ReelWork::spins

Definition at line 318 of file colorfx.c.

Referenced by ReelGame_Run(), and ReelGame_RunFrame().

◆ bet

s32 ReelWork::bet

Definition at line 319 of file colorfx.c.

Referenced by ReelGame_Run(), and ReelGame_RunFrame().

◆ keys

u16 ReelWork::keys

Definition at line 320 of file colorfx.c.

Referenced by ReelGame_RunFrame().

◆ direction

u16 ReelWork::direction

Definition at line 321 of file colorfx.c.

Referenced by ReelGame_RunFrame().

◆ pressed

u16 ReelWork::pressed

Definition at line 322 of file colorfx.c.

Referenced by ReelGame_RunFrame().

◆ repeat

u16 ReelWork::repeat

Definition at line 323 of file colorfx.c.

Referenced by ReelGame_Run(), and ReelGame_RunFrame().

◆ unk0a4

u8 ReelWork::unk0a4[4]

Definition at line 324 of file colorfx.c.

◆ timer

s32 ReelWork::timer

Definition at line 325 of file colorfx.c.

Referenced by ReelGame_Run(), and ReelGame_RunFrame().

◆ winningLines

s32 ReelWork::winningLines[7]

Definition at line 326 of file colorfx.c.

Referenced by ReelGame_Run(), and ReelGame_RunFrame().

◆ obj

struct OamShadow ReelWork::obj[128]

Definition at line 327 of file colorfx.c.

Referenced by ReelGame_RunFrame().

◆ window

struct UiWindow* ReelWork::window

Definition at line 328 of file colorfx.c.

Referenced by ReelGame_InitTitle(), and ReelGame_RunFrame().

◆ subWindow

struct UiWindow* ReelWork::subWindow

Definition at line 329 of file colorfx.c.

Referenced by ReelGame_RunFrame().

◆ unk4d0

u8 ReelWork::unk4d0[8]

Definition at line 330 of file colorfx.c.

◆ scanlineOffsets

u16 ReelWork::scanlineOffsets[160]

Definition at line 331 of file colorfx.c.

Referenced by ReelGame_RunFrame().

◆ phase

s32 ReelWork::phase

Definition at line 333 of file colorfx.c.

Referenced by ReelGame_RunFrame().