Skip to Content
The Alchemy Project

src/window

Guide: Windows & Text

Files

FileDescription
articles.cWindow text tables: each edition's articles and possessives, the kana marks and the sprite motion curves.
counted_nouns.cThe German counted nouns, singular and plural, by kind.
debug_labels.cThe debug screens' labels: the flag and destination browsers' colon and hex digits, and the icon browser's headings (mnDebugBrowserIcons).
debug_tables.cThe debug menus' tables: the warp menu's presets and the abilities the shortcut grid offers.
expand_nibble_table.cThe colour map of the page number tiles, built twice from the UI's digits, and the link battle timer's label.
fixed_tile_blocks.cThe window sprites' fixed tile blocks.
glyph_arm.cThe 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.cThe 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.cThe 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.cThe message speed tables, indexed by the player's message speed setting (MainRoutineStateWork.msgSpeed, MESSAGE_SPEED).
progress_bar_rows.cThe 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.cSprite 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.cThe 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.cThe 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.cThe row of command icons the player picks a command from.
screens_battle_djinn_menu.cThe battle Djinn menu.
screens_battle_djinn_preview.cThe preview of what setting or removing a Djinni changes.
screens_battle_item_menu.cThe battle item menu.
screens_battle_party_commands.cAn ability classified for target selection, and a reserve member chosen for a party slot.
screens_battle_psynergy_menu.cThe battle Psynergy menu.
screens_battle_status.cThe 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.cThe battle summon menu.
screens_battle_targets.cChoosing a battle target.
screens_debug.cThe debug destination menu, the flag browser, the Pause menu's choices, and the debug browsers of icons and portraits.
screens_icon_menu.cCollecting 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.hWhat every part of the screens object shares: its includes, macros, local types and tables.
screens_joined.cThe 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.cThe link battle timer and the no-flee check.
screens_menu_titles.cPictures and command icons loaded for the menus, and BG1's priority.
screens_name_entry.cThe 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.cThe party status window.
screens_save.cSave files, the file list and the saving screen's progress bar.
screens_set_text_tile_rect.cSwitching a rectangle of a window's text to another palette.
screens_window_sprites.cThe sprites a window carries (icons, cursors and the speakers' portraits), and the window spans the screen transition reads.
status_tables.cThe Status screen's tables: its cursor stops and its labels.
text_tables.cThe text's tables: each glyph's width, the text colours' pens, and the party status's divider columns.
window.cThe 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.cWindow zoom and borders, and opening and waiting on message windows.
window_debug.cThe 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.cThe 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.cCharacters drawn into a glyph sprite's tiles, strings measured and drawn into windows, and numbers written as text.
window_icons.cThe 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.hWhat the parts of the window object share: their includes, the codes of decoded message text and the sizes several parts read.
window_measure.cSizing windows to their text and fitting them on the screen.
window_messages.cMessages 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.cThe 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.cThe 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.cThe window that shows the area's name, and removing an item from the party's inventory.
window_spans.cThe 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.cCharacters 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.cText 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.cThe per-tick message update: typing text and running its control codes.
window_windows.cThe window system's setup and tilemap upload, the pool of window sprites, opening and closing windows, and starting a message typing into one.

On this page