Alchemy
Loading...
Searching...
No Matches

title.h

Go to the documentation of this file.
1#ifndef ALCHEMY_MENU_TITLE_H
2#define ALCHEMY_MENU_TITLE_H
3
4#include "types.h"
5
6/// The title overlay's sprite records, three OAM words each.
7struct TitleSprite {
8 u32 attr[3];
9};
10
12extern struct TitleSprite gTitleSprites[];
13
14// The Golden Sun logo the title and clear screens show: an 8-bit background
15// on BG2, its map in screen block 6 and its tiles from tile 0x1a0 of
16// character block 0.
17#define LOGO_BGCNT (BGCNT_PRIORITY(1) | BGCNT_256_COLORS | BGCNT_SCREEN_BASE(6))
18#define LOGO_MAP ((u16 *)BG_SCREEN_BLOCK(6))
19#define LOGO_FIRST_TILE 0x1a0
20#define LOGO_TILES (BG_CHAR_BLOCK(0) + LOGO_FIRST_TILE * 64)
21/// The map entry after each row's 30 visible tiles.
22#define LOGO_BLANK_TILE 0x1ff
23
24#endif
s16 gTitleRevealFrame
struct TitleSprite gTitleSprites[]
The title overlay's sprite records, three OAM words each.
Definition title.h:7
u32 attr[3]
Definition title.h:8
The integer types, TRUE, UNUSED and the fixed-address macros.
unsigned int u32
Definition types.h:15
signed short s16
Definition types.h:12