Alchemy
Loading...
Searching...
No Matches

scales.h File Reference

Go to the source code of this file.

Variables

const u16 gUi_BounceScales [32]
 A sprite's pulse, as a scale where 256 is its normal size: it swells to 1.5 times and back over 32 steps.
const s8 gUi_BounceScalesTail [8]
 Nothing in the game reads these eight offsets.
const s8 gMenu_CursorBobOffsets [16]
 The selection cursor's bob: a 16-step wave of up to 3 pixels each way.
const u8 gPaletteGlow_WaveTable [121]
 The window colour wheel: one colour channel's level (0 to 31) over 96 hue steps.
const u8 gOptionMenu_HuePresets [6]
 The window colour presets SELECT cycles through on the option screen: the colour (hue) and the brightness of each.
const u8 gOptionMenu_BrightnessPresets [6]
const s8 gMenu_WorkspaceIconFrames [8]
 The sprite frame of each entry's icon in the system menu (Save your quest, Sleep, Change settings, and the debug entries after them).
const s16 gPortrait_CharacterMap [20]
 {character, portrait} pairs of the playable characters, ending in -1.
const s16 gPortrait_SpriteMap [100]
 {sprite, portrait} pairs of the other speakers, ending in -1: portrait n of this list is portrait 128 + n.

Variable Documentation

◆ gUi_BounceScales

const u16 gUi_BounceScales[32]
extern

A sprite's pulse, as a scale where 256 is its normal size: it swells to 1.5 times and back over 32 steps.

Definition at line 10 of file scales.c.

Referenced by AffineEffect_UpdateFrame(), Menu_RunCommandRow(), and RenderOutput_UpdateScaleAnimation().

◆ gUi_BounceScalesTail

const s8 gUi_BounceScalesTail[8]
extern

Nothing in the game reads these eight offsets.

Definition at line 18 of file scales.c.

◆ gMenu_CursorBobOffsets

const s8 gMenu_CursorBobOffsets[16]
extern

The selection cursor's bob: a 16-step wave of up to 3 pixels each way.

Definition at line 23 of file scales.c.

Referenced by SelectionScreen_Draw().

◆ gPaletteGlow_WaveTable

const u8 gPaletteGlow_WaveTable[121]
extern

The window colour wheel: one colour channel's level (0 to 31) over 96 hue steps.

Red reads it at the hue, green 32 steps later and blue 64 steps later. Nothing reads the 25 entries after the first 96.

Definition at line 30 of file scales.c.

Referenced by PaletteGlow_Update(), and WindowColor_ComputeTint().

◆ gOptionMenu_HuePresets

const u8 gOptionMenu_HuePresets[6]
extern

The window colour presets SELECT cycles through on the option screen: the colour (hue) and the brightness of each.

Definition at line 57 of file scales.c.

Referenced by Menu_RunWorkspaceOptions().

◆ gOptionMenu_BrightnessPresets

const u8 gOptionMenu_BrightnessPresets[6]
extern

Definition at line 61 of file scales.c.

Referenced by Menu_RunWorkspaceOptions().

◆ gMenu_WorkspaceIconFrames

const s8 gMenu_WorkspaceIconFrames[8]
extern

The sprite frame of each entry's icon in the system menu (Save your quest, Sleep, Change settings, and the debug entries after them).

Definition at line 67 of file scales.c.

Referenced by Menu_RunWorkspaceSelectionLoop(), and SystemMenu_Open().

◆ gPortrait_CharacterMap

const s16 gPortrait_CharacterMap[20]
extern

{character, portrait} pairs of the playable characters, ending in -1.

Definition at line 72 of file scales.c.

Referenced by DebugMenu_BrowseEntryGlyphs(), and Localization_LookupEntryId().

◆ gPortrait_SpriteMap

const s16 gPortrait_SpriteMap[100]
extern

{sprite, portrait} pairs of the other speakers, ending in -1: portrait n of this list is portrait 128 + n.

Definition at line 87 of file scales.c.

Referenced by DebugMenu_BrowseEntryGlyphs(), and Localization_LookupEntryId().