Skip to Content
The Alchemy Project

include/scene/title.h

The Golden Sun logo the title and the Clear scene show.

Included by title_intro.c, clear.c and title.c.

Macros

NameDescription
#defineLOGO_BGCNT (BGCNT_PRIORITY(1) | BGCNT_256_COLORS | BGCNT_SCREEN_BASE(6 …The logo: 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)
#defineLOGO_BLANK_TILE 511The map entry after each row's 30 visible tiles.
#defineLOGO_PALETTE_COLORS 224The logo's palette, at the start of its resource before its tiles.

Description

The Golden Sun logo the title and the Clear scene show.

Macros in detail

LOGO_BGCNT

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

The logo: an 8-bit background on BG2, its map in screen block 6 and its tiles from tile 416 of character block 0.

Referenced by mnTitleShowCamelotLogo(), mnTitleShowPublisherLogo(), mnTitleShowTitleScreen(), scClearLoadBackground() and scTitleLoadBackground().

Definition at line 10 of file title.h.

LOGO_MAP

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

Referenced by mnTitleShowCamelotLogo(), mnTitleShowPublisherLogo(), mnTitleShowTitleScreen(), scClearLoadBackground() and scTitleLoadBackground().

Definition at line 11 of file title.h.

LOGO_FIRST_TILE

#define LOGO_FIRST_TILE 416

Referenced by mnTitleShowTitleScreen(), scClearLoadBackground() and scTitleLoadBackground().

Definition at line 12 of file title.h.

LOGO_TILES

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

Referenced by mnTitleShowTitleScreen(), scClearLoadBackground() and scTitleLoadBackground().

Definition at line 13 of file title.h.

LOGO_BLANK_TILE

#define LOGO_BLANK_TILE 511

The map entry after each row's 30 visible tiles.

Referenced by scClearLoadBackground() and scTitleLoadBackground().

Definition at line 15 of file title.h.

LOGO_PALETTE_COLORS

#define LOGO_PALETTE_COLORS 224

The logo's palette, at the start of its resource before its tiles.

Referenced by scClearLoadBackground() and scTitleLoadBackground().

Definition at line 17 of file title.h.