include/window/scales.h
The window sprites' and cursors' motion curves, the window colour wheel, the settings and Pause menus' icons and colour presets, and the speakers' portraits (window/scales.c).
Included by screens_internal.h and window_internal.h.
Variables
| Name | Description | |
|---|---|---|
extern const Uint16 | WindowSpriteBounceScales [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. |
extern const Sint8 | WindowSpriteBounceScalesTail [8] | Unused: eight offsets after the pulse that nothing reads. |
extern const Sint8 | MenuCursorBobOffsets [16] | The selection cursor's bob: a 16-step wave of up to 3 pixels each way. |
extern const Uint8 | WindowColorWaveTable [121] | The window colour wheel: one colour channel's level (0 to 31) over 96 hue steps. |
extern const Uint8 | SettingsMenuHuePresets [6] | The window colour presets SELECT cycles through on the settings menu: the colour (hue, 0 to 23) and the brightness (0 to 14, 7 neutral) of each. |
extern const Uint8 | SettingsMenuBrightnessPresets [6] | |
extern const Sint8 | PauseMenuIcons [8] | The command icon of each entry in the Pause menu (Save your quest, Sleep, Change settings, and the debug entries after them). |
extern const Sint16 | PortraitCharacterMap [20] | {character, portrait} pairs of the playable characters, ending in -1, which mnPortraitGetForSpeaker searches for speakers below 20. |
extern const Sint16 | PortraitSpriteMap [100] | {sprite, portrait} pairs of the other speakers, ending in -1: mnPortraitGetForSpeaker numbers portrait n of this list PORTRAIT_SPRITE_MAP_FIRST + n, which mnIconLoadWithPalette draws as the row PORTRAIT_JUPITER_DJINNI + n. |
Description
The window sprites' and cursors' motion curves, the window colour wheel, the
settings and Pause menus' icons and colour presets, and the speakers'
portraits (window/scales.c).