Alchemy
Loading...
Searching...
No Matches

reel_tables.h File Reference

The reel game's tables, the same in both games. More...

Go to the source code of this file.

Variables

const u16 gReelGame_SparkCellOffsets []
 Where each spark cell (a square 2 to 20 pixels on a side) starts.
const u8 gReelGame_SymbolPrizes [] = {0, 3, 1, 4, 2, 5}
 The prize of each reel symbol.
const u8 gReelGame_TitleLetterTiles [REEL_TITLE_LETTERS]
 The tile of each title letter.
const u8 gReelGame_FrameSpriteX []
 The positions of the frame's sprites.
const u8 gReelGame_FrameSpriteY []
const u8 gReelGame_TitleLetterWidths [REEL_TITLE_LETTERS]
 The advance of each title letter.

Detailed Description

The reel game's tables, the same in both games.

The includer defines REEL_TITLE_LETTERS, the letters of the title it spells.

Definition in file reel_tables.h.

Variable Documentation

◆ gReelGame_SparkCellOffsets

const u16 gReelGame_SparkCellOffsets[]
Initial value:
= {0, 4, 20, 56, 120,
220, 364, 560, 816, 1140}

Where each spark cell (a square 2 to 20 pixels on a side) starts.

Definition at line 6 of file reel_tables.h.

Referenced by ReelGame_Run().

◆ gReelGame_SymbolPrizes

const u8 gReelGame_SymbolPrizes[] = {0, 3, 1, 4, 2, 5}

The prize of each reel symbol.

Definition at line 10 of file reel_tables.h.

Referenced by ReelGame_RunFrame().

◆ gReelGame_TitleLetterTiles

const u8 gReelGame_TitleLetterTiles[REEL_TITLE_LETTERS]
Initial value:
= {
0, 1, 2, 3, 4,
5, 6, 7
}

The tile of each title letter.

Definition at line 13 of file reel_tables.h.

Referenced by ReelGame_RunFrame().

◆ gReelGame_FrameSpriteX

const u8 gReelGame_FrameSpriteX[]
Initial value:
= {2, 0, 232, 232, 32, 32, 200,
200, 28, 28, 208, 208, 219, 219}

The positions of the frame's sprites.

Definition at line 27 of file reel_tables.h.

Referenced by ReelGame_RunFrame().

◆ gReelGame_FrameSpriteY

const u8 gReelGame_FrameSpriteY[]
Initial value:
= {2, 152, 0, 152, 8, 104, 8,
104, 118, 140, 118, 140, 6, 108}

Definition at line 29 of file reel_tables.h.

Referenced by ReelGame_RunFrame().

◆ gReelGame_TitleLetterWidths

const u8 gReelGame_TitleLetterWidths[REEL_TITLE_LETTERS]
Initial value:
= {
28, 28, 26, 26, 28,
28, 20, 24
}

The advance of each title letter.

Definition at line 33 of file reel_tables.h.

Referenced by ReelGame_InitTitle().