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. |
expand_nibble_table.c | The colour map mnGraphicsExpandVRAMTilesByColorTable draws the UI's digits through, and the link battle timer's heading. |
file_list_sprites.c | The four Djinn sprites the File Screen shows in a row. |
fixed_tile_blocks.c | The window sprites' fixed tile blocks. |
glyph_arm.c | The 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.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, by item id, in the German and Italian releases (ITEM_GENDER), which picks the possessive a message writes before the item. |
message_speed.c | The message speed tables, indexed by the player's message speed setting (MainRoutineStateWork.msgSpeed, MESSAGE_SPEED). |
scales.c | Sprite scales, motion curves and lookup tables of the window and menu code. |
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. |
screens.c | The menu object of the window module: the screens built on the window system (window.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 | Collecting the party's battle commands. |
screens_battle_psynergy_menu.c | The battle Psynergy menu. |
screens_battle_status.c | The battle's Status screen, which the Status command opens. |
screens_battle_summon_menu.c | The battle summon menu. |
screens_battle_targets.c | Choosing a battle target. |
screens_debug.c | The debug menus (scenes, flags, icon browsers) and the Pause menu's choices. |
screens_icon_menu.c | The command icon menus of the field, title and transfer screens. |
screens_internal.h | What every part of the menu object shares: its includes, edition values, macros and the link turn state. |
screens_joined.c | The Colosso choice and the joined-party messages. |
screens_link_timer.c | The link battle timer and the no-flee check. |
screens_menu_titles.c | The 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.c | The name entry screen. |
screens_party_status.c | The party status window. |
screens_save.c | Saving, 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.c | The sprites that sit on windows: item, Psynergy and command icons and the speakers' portraits beside their messages. |
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 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.c | Window zoom and borders, and opening and waiting on message windows. |
window_decode.c | The message decoder: articles, names and numbers written out. |
window_glyphs.c | Characters rendered into tiles, string widths and number formatting. |
window_icons.c | Item, Psynergy and command icons. |
window_internal.h | What every part of the window object shares: its includes, edition values, macros and the codes of decoded text. |
window_measure.c | Sizing windows to their text and fitting them on the screen. |
window_messages.c | Message strings and arguments, symbol decoding and portrait windows. |
window_selection.c | The 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.c | Window colours, the settings menu and the Pause menu. |
window_shortcuts.c | The area name shown on entering an area, the debug Psynergy shortcut picker and the unused selection state. |
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, and the per-tick sprite update. |
window_text_tiles.c | Text drawn as tiles, text tile ownership and divider lines. |
window_typing.c | The per-tick message update: typing text and running its control codes. |
window_windows.c | The window sprite pool, opening and closing windows, starting messages. |