Skip to Content
The Alchemy Project

include/scene/title.h

What the Title (title.c) and the File Screen (file_screen.c) share: the Golden Sun logo and the sprites of its lettering.

Included by file_screen.c and title.c.

Structures

NameDescription
structTITLE_SPROne sprite of the logo's lettering, as syOAMAddSpriteAtDepth queues it.

Macros

NameDescription
#defineLOGO_BGCNT (BGCNT_PRIORITY(1) | BGCNT_256_COLORS | BGCNT_SCREEN_BASE(6 …The Golden Sun logo the Title and the File Screen show: an 8-bit background on BG2, its map in screen block 6 and its tiles from tile 416 of character block 0.
#defineLOGO_MAP ((Uint16 *)BG_SCREEN_BLOCK(6))
#defineLOGO_FIRST_TILE 416
#defineLOGO_TILES (BG_CHAR_BLOCK(0) + LOGO_FIRST_TILE * TILE_SIZE_8BPP)

Description

What the Title (title.c) and the File Screen (file_screen.c) share: the Golden Sun logo and the sprites of its lettering.

Macros in detail

LOGO_BGCNT

#define LOGO_BGCNT (BGCNT_PRIORITY(1) | BGCNT_256_COLORS | BGCNT_SCREEN_BASE(6))

The Golden Sun logo the Title and the File Screen show: an 8-bit background on BG2, its map in screen block 6 and its tiles from tile 416 of character block 0.

Referenced by scFileScreenLoadBackground() and scTitleLoadBackground().

Definition at line 22 of file title.h.

LOGO_MAP

#define LOGO_MAP ((Uint16 *)BG_SCREEN_BLOCK(6))

Referenced by scFileScreenLoadBackground() and scTitleLoadBackground().

Definition at line 23 of file title.h.

LOGO_FIRST_TILE

#define LOGO_FIRST_TILE 416

Referenced by scFileScreenLoadBackground() and scTitleLoadBackground().

Definition at line 24 of file title.h.

LOGO_TILES

#define LOGO_TILES (BG_CHAR_BLOCK(0) + LOGO_FIRST_TILE * TILE_SIZE_8BPP)

Referenced by scFileScreenLoadBackground() and scTitleLoadBackground().

Definition at line 25 of file title.h.