src/window/screen_tables.c
The screens' tables from the save summary's level label to the range icons' patterns: the name entry's marks and labels, the Djinn and party sprites, and the window sprites' motions.
#include "edition.h"#include "sprite_ids.h"#include "battle/battle_unit.h"#include "game/character_ids.h"#include "game/game.h"#include "graphics/graphics.h"#include "menu/menu.h"#include "window/screens.h"
Variables
| Name | Description | |
|---|---|---|
const Uint8 | WindowUnusedBobOffsets [8] | Unused: an eight-step bob wave before the save summary's level label that nothing reads. |
const Uint8 | StatusScreenLevelLetterString [4] | The level label of a save summary: L; Nv. in Spanish, Niv in French. |
const Uint8 | NameEntryVoicedMarkRanges [] | The kana that take a dakuten, as ranges of first and last font code (charmap_ja.tsv), ending at 0. |
const Uint8 | NameEntrySemivoicedMarkRanges [] | The kana that take a handakuten, as NameEntryVoicedMarkRanges. |
const Sint8 | NameEntryCaretWave [8] | The name entry caret's sway, in pixels by tick. |
const Uint8 | NameEntryDeleteKeyLabel [] | The Delete key's label on the German, Spanish and French name entry screen keyboards ("ENT", "SUP", "EFF"). |
const Uint8 | NameEntryEndKeyLabel [] | The End key's label on the German, Spanish and French keyboards ("ENDE", "FIN", "FIN"). |
const Sint16 | DjinnElementSprites [ELEMENT_COUNT] | The Djinni sprite of each element. |
const Sint16 | CharacterSpriteTable [8] | Each party member's sprite; Piers, who has none, keeps his character number, an empty row of the sprites. |
const Sint16 | CharacterChildSpriteTable [8] | Each party member's sprite as a child (while FLAG_CHILDHOOD is set). |
const Uint8 | MenuTitleBobOffsets [8] | A window sprite pair's bob, in pixels, one step every four ticks. |
const FIXED | WindowSpritePulseScales [8] | The scale of mnWindowSpritePulse's eight steps: about 1.10 up to 1.22 and back. |
const TILE_MASK | MenuBarPatternRows [6] | A row of 4-bit pixels for the centre tile and one for the end tile, colour 5 where the pattern marks (mnRangeIconBuildTiles); a word's lowest nibble is its leftmost pixel. |
Description
The screens' tables from the save summary's level label to the range icons' patterns: the name entry's marks and labels, the Djinn and party sprites, and the window sprites' motions.
Variables in detail
WindowUnusedBobOffsets
const Uint8 WindowUnusedBobOffsets[8]
Unused: an eight-step bob wave before the save summary's level label that nothing reads.
Definition at line 16 of file screen_tables.c.
StatusScreenLevelLetterString
const Uint8 StatusScreenLevelLetterString[4]
const Uint8 StatusScreenLevelLetterString[]
Referenced by mnFileListDrawSummary().
Definition at lines 20, 22, 24 and 26 of file screen_tables.c.
NameEntryVoicedMarkRanges
const Uint8 NameEntryVoicedMarkRanges[]
The kana that take a dakuten, as ranges of first and last font code
(charmap_ja.tsv), ending at 0.
Referenced by mnNameEntryAcceptsMark().
Definition at line 30 of file screen_tables.c.
NameEntrySemivoicedMarkRanges
const Uint8 NameEntrySemivoicedMarkRanges[]
The kana that take a handakuten, as NameEntryVoicedMarkRanges.
Referenced by mnNameEntryAcceptsMark().
Definition at line 49 of file screen_tables.c.
NameEntryCaretWave
const Sint8 NameEntryCaretWave[8]
The name entry caret's sway, in pixels by tick.
Referenced by mnNameEntryEditMemberName().
Definition at line 58 of file screen_tables.c.
NameEntryDeleteKeyLabel
const Uint8 NameEntryDeleteKeyLabel[]
Referenced by mnNameEntryEditMemberName().
Definition at lines 63, 66 and 69 of file screen_tables.c.
NameEntryEndKeyLabel
const Uint8 NameEntryEndKeyLabel[]
Referenced by mnNameEntryEditMemberName().
Definition at lines 64, 67 and 70 of file screen_tables.c.
DjinnElementSprites
const Sint16 DjinnElementSprites[ELEMENT_COUNT]
The Djinni sprite of each element.
Referenced by mnDjinnShowJoinedMessage().
Definition at line 73 of file screen_tables.c.
CharacterSpriteTable
const Sint16 CharacterSpriteTable[8]
Each party member's sprite; Piers, who has none, keeps his character number, an empty row of the sprites.
Referenced by mnPartyGetMemberPortraitSprite().
Definition at line 82 of file screen_tables.c.
CharacterChildSpriteTable
const Sint16 CharacterChildSpriteTable[8]
Each party member's sprite as a child (while FLAG_CHILDHOOD is set).
Referenced by mnPartyGetMemberPortraitSprite().
Definition at line 94 of file screen_tables.c.
MenuTitleBobOffsets
const Uint8 MenuTitleBobOffsets[8]
A window sprite pair's bob, in pixels, one step every four ticks.
Referenced by mnTitleBob().
Definition at line 106 of file screen_tables.c.
WindowSpritePulseScales
const FIXED WindowSpritePulseScales[8]
The scale of mnWindowSpritePulse's eight steps: about 1.10 up to 1.22 and
back.
Referenced by mnWindowSpritePulse().
Definition at line 110 of file screen_tables.c.
MenuBarPatternRows
const TILE_MASK MenuBarPatternRows[6]
A row of 4-bit pixels for the centre tile and one for the end tile, colour 5
where the pattern marks (mnRangeIconBuildTiles); a word's lowest nibble is
its leftmost pixel.
Referenced by mnRangeIconBuildTiles().
Definition at line 124 of file screen_tables.c.