src/window
Guide: Windows & Text
Files
| File | Description |
|---|---|
articles.c | Window text tables: each edition's articles and possessives, the kana marks and the sprite motion curves. |
counted_nouns.c | The German counted nouns, singular and plural, by kind. |
debug_labels.c | The debug screens' labels: the flag and destination browsers' colon and hex digits, and the icon browser's headings (mnDebugBrowserIcons). |
debug_tables.c | The debug menus' tables: the warp menu's presets and the abilities the shortcut grid offers. |
expand_nibble_table.c | The colour map of the page number tiles, built twice from the UI's digits, and the link battle timer's label. |
fixed_tile_blocks.c | The window sprites' fixed tile blocks. |
glyph_arm.c | The text canvas renderer, compiled as ARM code and copied to RAM to run, entered in Thumb through mnGlyphDrawCode (glyph_arm_entries.s). |
icon_menu_tables.c | The Djinn menu's element icon offsets and the icon menus' tables: the waits of a choice made for the player to watch, and the field menu's and the File Screen's choices by icon position. |
item_genders.c | The grammatical gender of each item's name in the German and Italian releases, which picks the possessive ("your") a message writes before the item (LocalizedWordItemPossessives): "dein" or "deine" in German, "Il tuo" or "la tua" in Italian. |
message_speed.c | The message speed tables, indexed by the player's message speed setting (MainRoutineStateWork.msgSpeed, MESSAGE_SPEED). |
progress_bar_rows.c | The saving screen's progress bar, laid out by step: its own file, between the progress bar's tiles and the word-aligned tables after it. |
scales.c | Sprite scales, motion curves and lookup tables of the window and menu code, the sound test's labels and the debug warps' names; The Broken Seal's scales.c. |
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, the summons' abilities and the window sprites' motions. |
screens.c | The screens object: the screens built on the windows, from the window sprites, the party status window and the file list to the battle menus, the icon menus and the Pause menu, as in The Broken Seal's screens.c. |
screens_battle_command_row.c | The row of command icons the player picks a command from. |
screens_battle_djinn_menu.c | The battle Djinn menu. |
screens_battle_djinn_preview.c | The preview of what setting or removing a Djinni changes. |
screens_battle_item_menu.c | The battle item menu. |
screens_battle_party_commands.c | An ability classified for target selection, and a reserve member chosen for a party slot. |
screens_battle_psynergy_menu.c | The battle Psynergy menu. |
screens_battle_status.c | The Status screen of a battle: a party member's stats and conditions, Psynergy, Djinn and items, on four pages that A turns. |
screens_battle_summon_menu.c | The battle summon menu. |
screens_battle_targets.c | Choosing a battle target. |
screens_debug.c | The debug destination menu, the flag browser, the Pause menu's choices, and the debug browsers of icons and portraits. |
screens_icon_menu.c | Collecting the party's battle commands, then the icon menus: a row of command icons with a label window, the selected icon pulsing, as the field menu, the File Screen, the transfer screens, the shops, the sanctums, Yes or No and Coins or Lucky Medals use it. |
screens_internal.h | What every part of the screens object shares: its includes, macros, local types and tables. |
screens_joined.c | The messages that a Djinni or a party member has joined, and that a summon can now be used, each shown with the join jingle. |
screens_link_timer.c | The link battle timer and the no-flee check. |
screens_menu_titles.c | Pictures and command icons loaded for the menus, and BG1's priority. |
screens_name_entry.c | The name entry screen, where the player names a party member on a keyboard of letters, with a DEL key that takes back the last letter and an END key that keeps the name. |
screens_party_status.c | The party status window. |
screens_save.c | Save files, the file list and the saving screen's progress bar. |
screens_set_text_tile_rect.c | Switching a rectangle of a window's text to another palette. |
screens_window_sprites.c | The sprites a window carries (icons, cursors and the speakers' portraits), and the window spans the screen transition reads. |
status_tables.c | The Status screen's tables: its cursor stops and its labels. |
text_tables.c | The text's tables: each glyph's width, the text colours' pens, and the party status's divider columns. |
window.c | The window object: the windows drawn into a shared BG tilemap, the messages typed into them and the decoder behind them, the sprites windows carry, icons, the selection screen, the settings and Pause menus, the debug menus and text drawn as tiles. |
window_borders.c | Window zoom and borders, and opening and waiting on message windows. |
window_debug.c | The debug menus, none of which the game opens: the sound test, a debug menu of five rows ("Full PP and Money" to "Change of hero"), the warp menu's nine story presets, and the grid of field Psynergy to set as a shortcut. |
window_decode.c | The message decoder: a stored message expanded into the ring of decoded text, its arguments, names and numbers written out, and outside Japanese the articles, plurals and possessives each language puts around them. |
window_glyphs.c | Characters drawn into a glyph sprite's tiles, strings measured and drawn into windows, and numbers written as text. |
window_icons.c | The 16x16 icons of items, Psynergy and commands, built from their pictures, a tick under them and the marks over them, and the 32x32 icons and portraits loaded with their colours. |
window_internal.h | What the parts of the window object share: their includes, the codes of decoded message text and the sizes several parts read. |
window_measure.c | Sizing windows to their text and fitting them on the screen. |
window_messages.c | Messages copied out as strings, the message arguments, closing windows, a message's flash, the story crawl's text, the symbol decoder and the portrait windows. |
window_selection.c | The selection screen, the row of icons a command, item or Psynergy is picked from in battle and on the field, and the field menu. |
window_settings_menu.c | The window colours the player picks, the settings menu that picks them with the message speed, speech and auto-sleep, and the Pause menu. |
window_shortcuts.c | The window that shows the area's name, and removing an item from the party's inventory. |
window_spans.c | The windows' outline for a screen transition: for each scan line, the left and right edge of the windows on it, read off the UI tilemap by ARM code that mnScanlineWindowFillSpans copies into RAM for each call. |
window_sprites.c | Characters drawn into windows, as glyph sprites, into a text canvas or as tilemap tiles, and the per-tick update that moves and shows the sprites windows carry. |
window_text_tiles.c | Text drawn as tilemap tiles of its own (the menus' labels, names and numbers), the text tiles taken and freed, divider lines, and the functions that draw a message, string or number into a window. |
window_typing.c | The per-tick message update: typing text and running its control codes. |
window_windows.c | The window system's setup and tilemap upload, the pool of window sprites, opening and closing windows, and starting a message typing into one. |