Alchemy
Loading...
Searching...
No Matches

credits.h

Go to the documentation of this file.
1#ifndef ALCHEMY_UNIT_GRAPHICS_CREDITS_CREDITS_H
2#define ALCHEMY_UNIT_GRAPHICS_CREDITS_CREDITS_H
3
4#include "types.h"
5
8void Graphics_LoadCharacterBlockAndPalette(u32 resourceId, s32 alternate);
12extern const void *gDisplayScroll_LineTable[];
13extern const u8 gDisplayScroll_GlyphWidths[96];
17s32 DisplayScroll_DrawLine(const u8 *text, s32 firstTile, s32 alignment);
18
19#endif
const u32 gDisplayScroll_SlideResources[]
Battle backgrounds shown in the credits; 0 clears the display.
Definition credits.c:82
void Graphics_LoadCharacterBlockAndPalette(u32 resourceId, s32 alternate)
Loads a credits backdrop into one of the two tile/palette halves.
Definition credits.c:122
void DisplayScroll_RenderEnteringLine(void)
A main-loop task scheduled by DisplayScroll_InitObjectTable: renders each entering line sixteen rows ...
Definition credits.c:961
void DisplayScroll_BuildHblankWordTable(u32 *destination)
Builds the 512 tilemap words surrounding a sliding credits backdrop: blank margins,...
Definition credits.c:159
void DisplayScroll_InitObjectTable(void)
Allocates the credits sprites, builds the blank border and text rows, clears the tile ring and schedu...
Definition credits.c:983
void Graphics_ClearCharacterBlockAndPalette(s32 alternate)
Fills 30 KB of 256-color tiles with color 1 and clears 128 palette colors.
Definition credits.c:57
const void * gDisplayScroll_LineTable[]
Credits text, one row per line, terminated by 0.
Definition credits.c:313
s32 DisplayScroll_RunSlideshow(void)
Crossfades the credits backdrop sequence through alternating tile banks while the staff names scroll ...
Definition credits.c:204
void DisplayScroll_StepPositionEveryFourFrames(void)
A VBlank task of the credits slideshow: drifts both backdrops together, keeping their horizontal offs...
Definition credits.c:191
s32 DisplayScroll_DrawLine(const u8 *text, s32 firstTile, s32 alignment)
Centers, right-aligns or left-aligns one credits line in a 192-pixel row.
Definition credits.c:1041
void DisplayScroll_UpdateObjects(void)
A VBlank task scheduled by DisplayScroll_InitObjectTable: maps the visible sixteen rows onto the tile...
Definition credits.c:933
const u8 gDisplayScroll_GlyphWidths[96]
Definition glyph_widths.h:7
The integer types, TRUE, UNUSED and the fixed-address macros.
signed int s32
Definition types.h:14
unsigned int u32
Definition types.h:15
unsigned char u8
Definition types.h:11