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.
expand_nibble_table.cThe colour map mnGraphicsExpandVRAMTilesByColorTable draws the UI's digits through, and the link battle timer's heading.
file_list_sprites.cThe four Djinn sprites the File Screen shows in a row.
fixed_tile_blocks.cThe window sprites' fixed tile blocks.
glyph_arm.cThe text canvas renderer, which runs as ARM code from a copy in RAM: mnGlyphDraw copies it into RAM for each call (RAM_CODE_LOAD), into IWRAM when the copy fits: its 32-bit bus fetches an ARM instruction in one read, where the cartridge's 16-bit bus takes two.
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, by item id, in the German and Italian releases (ITEM_GENDER), which picks the possessive a message writes before the item.
message_speed.cThe message speed tables, indexed by the player's message speed setting (MainRoutineStateWork.msgSpeed, MESSAGE_SPEED).
scales.cSprite scales, motion curves and lookup tables of the window and menu code.
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, and the window sprites' motions.
screens.cThe menu object of the window module: the screens built on the window system (window.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.cCollecting the party's battle commands.
screens_battle_psynergy_menu.cThe battle Psynergy menu.
screens_battle_status.cThe battle's Status screen, which the Status command opens.
screens_battle_summon_menu.cThe battle summon menu.
screens_battle_targets.cChoosing a battle target.
screens_debug.cThe debug menus (scenes, flags, icon browsers) and the Pause menu's choices.
screens_icon_menu.cThe command icon menus of the field, title and transfer screens.
screens_internal.hWhat every part of the menu object shares: its includes, edition values, macros and the link turn state.
screens_joined.cThe Colosso choice and the joined-party messages.
screens_link_timer.cThe link battle timer and the no-flee check.
screens_menu_titles.cThe pictures the menus show: the headings and command icons, with their bob and pulse, the range icons of the battle lists, the page arrows, icons and portraits loaded into the VRAM cache, the link battle timer's window, and the battle command row's icons on BG1 with its priority.
screens_name_entry.cThe name entry screen.
screens_party_status.cThe party status window.
screens_save.cSaving, loading, copying and erasing the three save files, and the file list the player picks one from: for the file under the cursor, its summary, its party and its Djinn, in that file's own window colours.
screens_window_sprites.cThe sprites that sit on windows: item, Psynergy and command icons and the speakers' portraits beside their messages.
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 UI windows drawn into a shared BG tilemap, the messages that type text into them, the message decoder and the formatting behind it, the sprites (window sprites) that windows carry, icons, the selection screen and the option and pause menus.
window_borders.cWindow zoom and borders, and opening and waiting on message windows.
window_decode.cThe message decoder: articles, names and numbers written out.
window_glyphs.cCharacters rendered into tiles, string widths and number formatting.
window_icons.cItem, Psynergy and command icons.
window_internal.hWhat every part of the window object shares: its includes, edition values, macros and the codes of decoded text.
window_measure.cSizing windows to their text and fitting them on the screen.
window_messages.cMessage strings and arguments, symbol decoding and portrait windows.
window_selection.cThe selection screen: a row of icons along the bottom of the screen with the name of the one under the cursor in a window above it, arrows at its ends when the list runs past them, the icons already chosen gathered at the top left, and in battle the spinning cursor over the target.
window_settings_menu.cWindow colours, the settings menu and the Pause menu.
window_shortcuts.cThe area name shown on entering an area, the debug Psynergy shortcut picker and the unused selection state.
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, and the per-tick sprite update.
window_text_tiles.cText drawn as tiles, text tile ownership and divider lines.
window_typing.cThe per-tick message update: typing text and running its control codes.
window_windows.cThe window sprite pool, opening and closing windows, starting messages.

On this page