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 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 (window_sprites.c). |
extern const Sint8 | WindowSpriteBounceScalesTail [8] | Nothing in the game reads these eight offsets, as in The Broken Seal. |
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 [96] | The window colour wheel: one colour channel's level (0 to 31) by hue step, fading out, resting and fading in; The Broken Seal's 25 further steps are gone. |
extern const Uint8 | SettingsMenuHuePresets [6] | The window colour presets SELECT cycles through on the settings menu: the colour (hue, 0 to 23) of each. |
extern const Uint8 | SettingsMenuBrightnessPresets [6] | The brightness (0 to 14, 7 neutral) of each preset. |
extern const Sint8 | PauseMenuIcons [8] | The command icon of each entry in the Pause menu: Save your quest, Sleep and Change settings, then the debug mode's Rough menu, Debug menu and Restart quest, all three with the Drop icon. |
extern const Sint16 | PortraitCharacterMap [18] | {character, portrait} pairs of the playable characters, ending in -1, which the speaker's portrait lookup searches first. |
extern const Sint16 | PortraitSpriteMap [] |
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).
Variables in detail
PortraitSpriteMap
extern const Sint16 PortraitSpriteMap[]
Referenced by mnDebugBrowserPortraits() and mnPortraitGetForSpeaker().
Definition at line 18 of file scales.h.