Skip to Content
The Alchemy Project

include/window/screens.h

The functions of window/screens.c and its parts: window sprites and portraits, the party status window, the file list and saving, name entry, the joined-party messages, the battle menus, the icon menus and the debug menus.

Included by menu_internal.h, icon_menu_tables.c, screen_tables.c, menu_list.h, settings_menu.h and window.h.

Enumerations

NameDescription
enumFILE_LIST_MODE { FILE_LIST_SAVE, FILE_LIST_CONTINUE, FILE_LIST_COPY, FILE_LIS … }What the file list is choosing a file for, which decides the files the cursor may stop on.
enumFIELD_MENU_COMMAND { FIELD_MENU_PSYNERGY, FIELD_MENU_DJINN, FIELD_MENU_ITEM, FIEL … }The field menu's commands, as mnFieldMenuSelectCommand takes and returns them (FieldMenuCommandByPosition).
enumFILE_ACTION { FILE_ACTION_NEW_GAME, FILE_ACTION_CONTINUE, FILE_ACTION_COPY … }The title menu's choices, as mnFileListSelectAction returns them (FileListActionByPosition).
enumSEND_OPTION_MENU { SEND_OPTION_TRANSFER_METHOD, SEND_OPTION_PASSWORD_LEVEL }What mnIconMenuChooseSendOption offers.
enumTRANSFER_METHOD { TRANSFER_METHOD_PASSWORD, TRANSFER_METHOD_CABLE }The places of the transfer method menu (SEND_OPTION_TRANSFER_METHOD).
enumPASSWORD_LEVEL { PASSWORD_LEVEL_GOLD, PASSWORD_LEVEL_SILVER, PASSWORD_LEVEL_B … }The places of the password level menu (SEND_OPTION_PASSWORD_LEVEL).
enumYES_NO { YES, NO }What mnYesNoMenuRun and mnYesNoMenuRunAt return.

Functions

NameDescription
struct WINDOW_SPR *mnWindowSpriteCreateOverlaidIcon (Sint32 icon, struct WINDOW *window, Sint32 x, Sint32 y)Builds command icon icon over the command frame ICON_FRAME_COMMAND_RED and shows it as a 16x16 sprite at (x, y) in window, on draw layer 251.
voidmnPartyStatusBuildLayoutBounds (Sint32 flags)Works out where the party status window goes for flags: one column per party member (those in battle when a battle is on), plus the Djinn column, right-aligned on the 30-tile screen row at the top.
voidmnWindowDrawColumnBorders (struct WINDOW *window, Uint32 flags)Draws the vertical lines between the party members' columns of the party status window, with their top and bottom joints, at the offsets listed in WindowPartyColumnOffsets (shifted right past the Djinn column, whose own line comes first in the list).
UNREAD_RESULTmnPartyStatusDrawBars (struct WINDOW *window, Sint32 x, Sint32 y, Sint32 length)Recolours the five bar tiles at (x, y) in window to show a bar length pixels long (0 to PARTY_STATUS_BAR_LENGTH).
voidmnWindowSetInteriorPaletteBit (const struct WINDOW *window, Sint32 x, Sint32 y, Sint32 width, Sint32 height, Uint32 set)Unused: sets (set 1) or clears (0) the lowest bit of the palette number of the tilemap entries of the width x height tile rectangle at (x, y) inside window, clipped to the screen, so switching the rectangle between two palettes, such as WINDOW_PALETTE and HIGHLIGHT_PALETTE.
void *mnStringFormatPlayTime (Sint32 ticks, Uint8 *out)Writes the play time ticks (at 60 ticks a second) into out as hours and minutes, "hhh:mm" with the hours right-aligned in three characters, and returns out.
Uint32mnSaveFindFreeFile (void)Returns the first save file whose summary shows it empty (level 0), or SAVE_NO_FREE_FILE when all three are in use.
Uint32mnSaveBuildFileSummary (void)Prepares the save buffer for writing: stamps the main routine's state with the time and options, then fills the file summary shown on the file menus (the leader's name, level and class, the play time, area, coins, Djinn of each element, the party, the send flag and how many Djinn have been found) and its checksum, the sum of BUP_CHECKSUM_WORDS words from GameFlagBytes on.
Sint32mnSaveConfirmAndWriteLinkTallies (void)Asks whether to save over the current file and, on Yes, writes the Battle Arena's results into it (mnSaveWriteLinkTallies) and says "Your game was saved."
voidmnFileListUpdateGlow (void)An event that makes colours 8 to 11 of HIGHLIGHT_PALETTE glow: each follows a sine wave of the frame count, eight frames behind the one before.
voidmnFileListStartGlow (void)Starts the palette glow (mnFileListUpdateGlow) as an event.
voidmnFileListStopGlow (void)Stops the file list's glow (mnFileListUpdateGlow).
voidmnWindowFillTilemapRect ( struct WINDOW *window, Sint32 x, Sint32 y, Sint32 width, Sint32 height)Fills the width x height tile rectangle at (x, y) inside window, clipped to the screen as mnWindowSetInteriorPaletteBit clips, with the highlight bar's tile in HIGHLIGHT_PALETTE, the palette mnFileListUpdateGlow makes glow.
voidmnFileListShowPartySprites (struct WINDOW *window, Sint32 x, Sint32 y, struct BUP_FILE_SUMMARY *summary)Shows the party of save file summary (up to four party members) as sprites in a row from tile (x, y) inside window, and starts placing them every tick (mnFileListPlacePartySprites).
voidmnFileListHidePartySprites (void)Stops placing the party sprites of the file list and releases them.
voidmnFileListPlacePartySprites (void)An event: draws each party sprite of the file list at its place and scale for this tick.
voidmnFileListShowDjinnSprites (struct WINDOW *window, Sint32 x, Sint32 y)Shows the four Djinn sprites, one for each element, in a row from tile (x, y) inside window, and starts placing them every tick (mnFileListPlaceDjinnSprites).
voidmnFileListHideDjinnSprites (void)Stops placing the Djinn sprites of the file list and releases them.
voidmnFileListPlaceDjinnSprites (void)An event: draws each Djinn sprite of the file list at its place, at scale 1.0, for this tick.
voidmnFileListDrawDjinnCounts (struct WINDOW *window, struct BUP_FILE_SUMMARY *summary)Draws the Djinn counts of save file summary, one for each element, two digits each, 24 pixels apart on row 16 of window, under the Djinn sprites.
voidmnFileListDrawSummary (struct WINDOW *window, struct BUP_FILE_SUMMARY *summary)Draws the summary of save file summary into window: the leader's name, level and class, the play time and the coins.
Sint32mnFileListSelectFile (Sint32 selectedFile, Sint32 menuMode)The file list: lists the three files with each one's leader and area (or why it cannot be chosen) and, for the file under the cursor, its summary, its party and its Djinn, with the file's own palette glow.
BoolmnNameEntryAcceptsMark (Sint32 mark, Sint32 letter)The international name entry screen has no voicing marks: where the Japanese edition checks a mark against the letter before it, this edition keeps a function that accepts every character.
Sint32mnNameEntryCountLetters (const Uint8 *name)Returns how many letters the Japanese name name has, not counting the voicing marks.
voidmnWindowCopyTilemapRegion (const struct WINDOW *window, const void *src)Decompresses the type-01 tilemap src and copies it over window's rectangle, both into WINDOW_TILEMAP_VRAM and into the UI tilemap that mirrors it.
voidmnWindowSetInteriorPalette (const struct WINDOW *window, Sint32 x, Sint32 y, Sint32 width, Sint32 height, Uint32 palette)Puts the tilemap entries of the width x height tile rectangle at (x, y) inside window in palette, clipped to the screen: the key or choice under the cursor flashes so between WINDOW_PALETTE and HIGHLIGHT_PALETTE.
Sint32mnTextSetString (const Uint8 *str)Copies the name str into the window state's text buffer and returns its width in pixels, where the caret stands after it.
voidmnNameEntryDrawName (struct WINDOW *window, Uint8 *name)Draws the name being entered, name, at the top left of window, followed in TEXT_COLOR_RED by an underscore for each of the NAME_MAX_LETTERS places still free: the loop fills the text to 7 bytes, the name and the two-byte colour code before the underscores.
Sint32mnPartyGetMemberPortraitSprite (Uint32 member)Returns the sprite whose portrait shows party member member (0 to 8): from CharacterChildSpriteTable during the prologue, from CharacterSpriteTable otherwise; 0 for any other party member.
voidmnTitleLoad (Sint32 picture, Sint32 slot)Decompresses picture picture of MenuTitlePictures, a 64x16 heading (Save, Continue, Copy, Erase, Battle, Link, Pause, Setup) of 512 bytes, into VRAM slot slot, through a 1 KB staging block in HEAP_SLOT_TILE_SCRATCH.
struct WINDOW_SPR *mnTitleCreate (Sint32 picture, struct WINDOW *window, Sint32 x, Sint32 y)Shows heading picture of MenuTitlePictures as two 32x16 sprites side by side at (x, y) in window, on draw layer 253, and returns the left one (the right one follows it in the window's list).
voidmnTitleBob (struct WINDOW_SPR *sprite)Bobs the two sprites of a pair (see mnTitleCreate) up and down by MenuTitleBobOffsets, one step every four ticks.
voidmnCommandIconLoad (Sint32 icon, Sint32 slot, Sint32 remap)Decompresses command icon icon (a 32x32 picture of 256 colours, 1 KB) into VRAM slot slot, remapping the colours of its top three rows of tiles by table when remap is nonzero.
struct WINDOW_SPR *mnCommandIconCreate ( Sint32 icon, Sint32 remap, struct WINDOW *window, Sint32 x, Sint32 y)Shows command icon icon (see mnCommandIconLoad) as a 32x32 256-colour sprite at (x, y) in window, on draw layer 251.
voidmnWindowSpritePulse (struct WINDOW_SPR *sprite)Makes sprite pulse: scales it about its centre by WindowSpritePulseScales (in 1/65536, used in 1/256), one step every two ticks, and puts it on draw layer 252.
UNREAD_RESULTmnRangeIconBuildTiles (void)Builds the twelve range icons the battle lists draw beside an ability (mnRangeIconDraw), each a row of bars, as the 24 BG tiles from RANGE_ICON_FIRST_TILE: icon n is a centre tile and an end tile, filled with WINDOW_BACKGROUND_COLOR, then marked row by row by XOR with MenuBarPatternRows (its colour 5 turns the fill to colour 1).
UNREAD_RESULTmnRangeIconDraw ( struct WINDOW *window, Sint32 x, Sint32 y, Sint32 pattern, Sint32 unused)Draws range icon pattern, how many targets an ability reaches, across tiles (x, y) to (x + 2, y) of window's interior: its end tile mirrored, its centre tile and its end tile, in the UI palette.
voidmnGraphicsMergeShiftedTileRows (Uint32 *first, Uint32 *second, Uint32 *output, Sint32 shift)Merges two 8x8 4bpp tiles row by row into output: second moved shift pixels (right when positive, left when negative), drawn over first, which shows wherever the moved pixel is colour 0.
Sint32mnStatusIconLoadIntoSlot (Sint32 resource, Sint32 index)Builds icon resource (0 to 31) of IconMiscellaneousIconPointers, the table the status icons come from (mnIconDrawMiscellaneous), in a transfer block taken from HEAP_SLOT_ICON_TRANSFER, reloads VRAM cache entry index with it and returns the entry's first tile.
Sint32mnItemIconLoadIntoSlot (Sint32 resource, Sint32 index)Builds the icon of inventory item resource (the count above one and both marks) in a transfer block taken from HEAP_SLOT_ICON_TRANSFER, reloads VRAM cache entry index with it and returns the entry's first tile.
Sint32mnAbilityIconLoadIntoSlot (Sint32 resource, Sint32 index)Builds the icon of ability resource in a transfer block taken from HEAP_SLOT_ICON_TRANSFER, reloads VRAM cache entry index with it and returns the entry's first tile.
Sint32mnPortraitLoad (Uint32 member, Sint32 cacheSlot)Loads the portrait of character member (ISAAC to PIERS, 0 to 7; any higher value shows Isaac's) into VRAM cache entry cacheSlot, in PORTRAIT_PALETTE, and returns its first tile.
voidmnIconDecompress (ICON_TRANSFER *state)Copies the 4bpp decoder into RAM, calls it with the transfer's encoded source and byte buffer, then releases the copied code.
struct WINDOW *mnLinkCreateCountdownLabelWindow (void)Opens the link battle timer's window, 6 by 4 tiles at the top left, with its heading (LinkTimeLabelString), and returns it; the seconds go under the heading (mnBattleMenuUpdate), which keeps the window in BATTLE_MENU_STATE.timerWindow until the commands are chosen.
Sint32mnCommandIconReloadSlot (Sint32 slotIndex, Sint32 icon)Decodes command icon icon (ResourceIdCommandIcons, 1 KB of 256-colour pixels) in a block taken from HEAP_SLOT_ICON_TRANSFER, reloads VRAM cache entry slotIndex with it and returns the entry's first tile.
voidmnBattleCommandRowLoadIconTiles (ICON_PALETTE *palette, Sint32 icon, Sint32 tile)Loads command icon icon for the battle command row on BG1: COMMAND_ICON_BG_TILES 8bpp tiles in character block 1 from tile tile, its colours given out from the BG colours the row's icons share (palette, COMMAND_ICON_COLORS).
voidmnBattleCommandRowLoadIcon (struct BATTLE_COMMAND_ROW_STATE *state, Sint32 index, Uint32 icon)Loads the command row's icon index as command icon icon: as BG1 tiles from tile index * COMMAND_ICON_BG_TILES (mnBattleCommandRowLoadIconTiles), and into the row's shared VRAM cache entry for its 32x32 sprite, which mnBattleCommandRowRun shows only for the selected icon.
voidmnCommandRowPutBg1Behind (void)Puts BG1 behind the other layers (priority 3).
voidmnCommandRowPutBg1InFront (void)Brings BG1 to the front (priority 0): the command row's VCount handler, run at line COMMAND_ROW_TOP * 8, the top of its icon strip.
voidmnGraphicsInstallBg1VCountHandler (void)Clears BG0's vertical scroll (REG_BG0VOFS) and installs mnCommandRowPutBg1InFront as the VCount handler at line COMMAND_ROW_TOP * 8, as the command row does.
struct WINDOW *mnMessageShowAndWait (Sint32 msg, Sint32 x, Sint32 y)Opens a message at (x, y), waits for its text to finish, and returns its window so the caller can hold it open for a separate prompt.
Sint32mnBattleCommandRowRun (Sint32 mode)Runs a battle command row: the commands as icons along the bottom of the screen, the selected one pulsing as a sprite and named in a window, until a command is chosen: returns its icon (COMMAND_ICON), COMMAND_ROW_CANCELLED or COMMAND_ROW_STATUS.
UNREAD_RESULTmnStringFormatNumberToHalfwords (Sint16 *out, Sint32 value)Writes value into out as syStringFormatDecimal's eleven-character, right-aligned decimal text, widened to halfwords for mnTextDrawWideStringInWindow.
Sint32mnBattleDjinnMenuListChangedAbilities (const struct PSYNERGY_ENTRY *oldGrid, const struct PSYNERGY_ENTRY *newGrid, Uint16 *out, Sint32 *gained, Sint32 *lost)Lists into out the abilities usable in battle (ABILITY_USABLE_IN_BATTLE) of the action list newGrid, in its order, marking with DJINN_PREVIEW_ABILITY_GAINED those oldGrid lacks; then appends those of oldGrid that newGrid lacks, marked DJINN_PREVIEW_ABILITY_LOST.
UNREAD_RESULTmnWindowSpriteCreateAbilityIcon (struct WINDOW *window, Sint32 x, Sint32 y, Sint32 abilityId)Loads the icon of ability abilityId into the first free VRAM cache slot and shows it as a 16x16 sprite at pixel (x, y) inside window, whose sprite list then owns the slot.
struct WINDOW *mnBattleDjinnMenuShowChangePreview (struct WINDOW *window, Sint32 member, Sint32 encodedDjinn, Sint32 page, Sint32 *pageCount)Shows what setting or removing Djinni encodedDjinn (element << 8 | index) would change for member: closes the preview window window, opens a new one and returns it, or NULL when none could be opened.
Sint32mnBattleStatusScreenRun (Uint16 *list, Sint32 listCount, Sint32 member)Runs the Status screen for party member member until B is pressed or the link battle's time runs out: the party member's level, experience, HP and PP, class, stats, Djinn, elements and statuses, with a help line for the item under the cursor.
Sint32mnBattleDjinnMenuRun (Sint32 member, Sint32 unused)The battle Djinn menu for unit member: its Djinn in element and number order, five to a page, set ones plain, standby ones in TEXT_COLOR_RED and recovering ones in TEXT_COLOR_YELLOW with their turns, the one under the cursor described above the list with its change preview beside it (mnBattleDjinnMenuShowChangePreview; holding R shows the Psynergy pages, Left and Right turn them).
Sint32mnBattleSummonMenuRun (Sint32 unusedA, Sint32 unusedB, const Uint8 *standby)The battle summon list: the summons the party holds enough Djinn for (gmSummonListLearnedStub, DJINN_RECOVERY_TABLE.summonMask), SUMMON_LIST_ROWS to a page, those standby can pay for first, each with its Djinn cost by element, the others in TEXT_COLOR_RED.
Sint32mnItemCheckBattleUse (Sint32 unit, Sint32 itemId)Says whether party member unit can use inventory entry itemId in battle (BATTLE_ITEM_USE).
voidmnVRAMCopyTile (Uint32 srcTile, Uint32 destTile)Copies one 4bpp tile of BG character block 0 to another, each given as a tilemap entry whose palette and flip bits are ignored.
Sint32mnBattleItemMenuRun (Sint32 member, Uint16 *entries, Sint32 count)The battle item list for unit member: count inventory entries (ended by 0), five to a page, each with its icon and name: plain when usable, TEXT_COLOR_YELLOW when mnItemCheckBattleUse refuses it, TEXT_COLOR_RED when broken; the window above names the one under the cursor (MsgItemPlainName), or says it cannot be used in battle.
Sint32mnBattlePsynergyMenuRun (Sint32 unitId, Uint16 *actions, Sint32 count)The battle Psynergy list for unit unitId: count abilities of actions (ended by 0), five to a page, each with its icon, name, PP cost, element and range icon, in TEXT_COLOR_YELLOW when not usable in battle, TEXT_COLOR_RED when the unit's PP fall short and TEXT_COLOR_PINK while its Psynergy is sealed; the window above describes the one under the cursor.
Sint32mnBattleTargetRunSelection (Sint32 selection, Sint32 mode, Uint32 spread, Uint32 kind)Lets the player choose the target of an action of unit selection, with a cursor over the aimed unit and smaller markers on the others its range covers.
voidmnBattleMenuUpdate (void)The battle menus' event while the party's commands are chosen (mnBattleCollectPartyCommands): eases the battle view a third of the way to BATTLE_MENU_STATE.targetViewOffset each tick (a pixel at least), draws the sprites of BATTLE_MENU_STATE.icons that are shown (the chosen command's and ability's icons, the party member's portrait) and slides the page arrows.
Sint32mnBattleRefuseFlee (void)Tests whether the party may not run from this battle, and if so says "This is no time to be running away!": a battle a script starts (BATTLE_TYPE_SCRIPTED), a link battle, and a party once challenged (BATTLE_STATE.challengeFlag).
Sint32mnBattleClassifyEntryKind (const struct ABILITY_DEFINITION *act)Classifies ability act for the target selection (the kind of mnBattleTargetRunSelection, BATTLE_TARGET_HINT), which shows what it would do on a party member and, for the curing and reviving hints, starts on one who needs it.
voidmnIconMenuDrawIcons (void)Draws the icon menu's icons, an event of the icon menus (mnIconMenuOpen).
void *mnIconMenuOpen (void)Allocates and clears the icon menu's state, which lives in HEAP_SLOT_ICON_MENU until mnIconMenuClose frees it, and starts the event that draws its icons.
voidmnIconMenuClose (void)Stops drawing the icons, closes the label window and releases each loaded icon before freeing the icon menu's state (HEAP_SLOT_ICON_MENU), then waits a tick.
Sint32mnIconMenuRun (Sint32 init)Selects an icon position with wrapped directional input.
Sint32mnIconMenuAnimateTo (Sint32 start, Sint32 goal)Moves the selection from start to goal one icon at a time with the cursor sound, redrawing the label each step and waiting MenuSelectionStepDelays[icons still to go] ticks at each (12 more at the first), then 48 ticks on the goal before the confirm sound: a menu choice made for the player to watch (mnAnimateSelectionToEntry).
voidmnCommandIconLoadIntoSlot (Sint32 slot, Sint32 index)Decodes command icon index into the VRAM cache entry slot, through a block it allocates and frees.
voidmnIconMenuAddIcon (Sint32 icon)Appends a command icon if fewer than ICON_MENU_MAX_ICONS are present.
voidmnIconMenuCenter (Sint32 row, Sint32 width, Sint32 resourceBase)Centres the icons and their label window together on tile row row.
voidmnIconMenuLayoutIcons (Sint32 x, Sint32 y, Sint32 width, Sint32 resourceBase)Places the icons three tiles apart from tile (x, y), then opens their label window, width + 2 tiles wide, just after them.
Sint32mnFieldMenuSelectCommand (Sint32 selection)The field menu's row of icons: Psynergy, Djinn, Item and Status, without Djinn when the party has none.
voidmnPasswordLevelDrawHelp (void)An event of the password level menu: when the selection moves, lists what that level's password carries, from MsgPasswordLevel on: Gold "Level", "Djinn", "Character stats", "Items" and "Coins", Silver the first three, Bronze the first two.
voidmnTransferMethodDrawHelp (void)An event of the transfer method menu: when the selection moves between Password and Cable, explains the one chosen.
voidmnDebugSceneSelectSchedule (void)Unused: runs the debug scene and entrance selector as an event.
voidmnDebugSceneSelectDrawRow (struct WINDOW *window, Sint32 sceneId, const Sint16 *entrance)Draws the debug scene and entrance numbers with their scene code and area name.
Sint32mnDebugSceneSelectHandleRowInput (struct WINDOW *window, Sint16 sceneId, Sint16 *entrance, Sint16 *selectedField)Edits the debug scene or entrance by one tick's keys, returning the scene, DEBUG_SCENE_GO or DEBUG_SCENE_CANCEL.
voidmnStringFormatHexDigits (Uint32 value, Uint32 count, Uint8 *out)Writes the lowest count digits of value, up to five, most significant first as uppercase hexadecimal in out, without a null terminator.
voidmnDebugFlagEditorDrawTable (struct WINDOW *window, Sint32 page)Draws one page of 256 flags as sixteen rows of hexadecimal labels and bits.
Sint32mnDebugFlagEditorHandleInput (struct WINDOW *window, Sint32 *page, Sint32 *cursor)Moves within the flag grid, changes pages, or toggles the selected flag.
voidmnReservedNoOperation (void)Unused: an empty function nothing calls.
voidmnDjinnSetFoundFlagAndAdd (Sint32 member, Sint32 element, Sint32 index)Marks the Djinni found (FLAG_DJINNI), then gives it to party member member.

Variables

NameDescription
extern const Uint8NameEntryAlternateKeyboardTilemap []The Japanese name entry screen's second keyboard, which Select switches to.
extern const Sint8NameEntryCaretWave []Eight offsets, 0 to 3 and back, that make the name entry screen's caret circle: the x offset leads the y offset by five steps.
extern const Uint8NameEntryVoicedMarkRanges []The kana that take the voiced mark, as first and last pairs ended by 0.
extern const Uint8NameEntryDeleteKeyLabel []The Delete key's label on the German, Spanish and French name entry screen keyboards ("ENT", "SUP", "EFF").
extern const Uint8NameEntryEndKeyLabel []The End key's label on the German, Spanish and French keyboards ("ENDE", "FIN", "FIN").
extern const Uint8NameEntrySemivoicedMarkRanges []The kana that take the semi-voiced mark, in the same pairs.
extern const Uint8NameEntryKeyboardTilemap []The name entry screen keyboard's compressed tilemap, the Spanish edition's with its own letters.
extern const Uint8NameEntryCaretTiles []The 16x16 sprite the name entry screen shows as its name caret.

Description

The functions of window/screens.c and its parts: window sprites and portraits, the party status window, the file list and saving, name entry, the joined-party messages, the battle menus, the icon menus and the debug menus.

Enumerations in detail

FILE_LIST_MODE

enum FILE_LIST_MODE

What the file list is choosing a file for, which decides the files the cursor may stop on.

EnumeratorValueDescription
FILE_LIST_SAVEsaving: any file, empty ones too
FILE_LIST_CONTINUEcontinuing: files not yet cleared
FILE_LIST_COPYcopying: any file with data
FILE_LIST_ERASEerasing: any file with data
FILE_LIST_BATTLEthe title's Battle: files with a Djinni (BUP_FILE_SUMMARY.djinnCount)
FILE_LIST_CLEAREDthe title's Send: cleared files only

Definition at line 54 of file screens.h.

FIELD_MENU_COMMAND

enum FIELD_MENU_COMMAND

The field menu's commands, as mnFieldMenuSelectCommand takes and returns them (FieldMenuCommandByPosition).

EnumeratorValueDescription
FIELD_MENU_PSYNERGY1
FIELD_MENU_DJINN2
FIELD_MENU_ITEM3
FIELD_MENU_STATUS4

Definition at line 171 of file screens.h.

FILE_ACTION

enum FILE_ACTION

The title menu's choices, as mnFileListSelectAction returns them (FileListActionByPosition).

EnumeratorValueDescription
FILE_ACTION_NEW_GAME0
FILE_ACTION_CONTINUE1
FILE_ACTION_COPY2
FILE_ACTION_ERASE3
FILE_ACTION_BATTLE4
FILE_ACTION_SEND5

Definition at line 181 of file screens.h.

SEND_OPTION_MENU

enum SEND_OPTION_MENU

What mnIconMenuChooseSendOption offers.

EnumeratorValueDescription
SEND_OPTION_TRANSFER_METHOD0Password or Cable
SEND_OPTION_PASSWORD_LEVEL1Gold, Silver or Bronze

Definition at line 192 of file screens.h.

TRANSFER_METHOD

enum TRANSFER_METHOD

The places of the transfer method menu (SEND_OPTION_TRANSFER_METHOD).

EnumeratorValueDescription
TRANSFER_METHOD_PASSWORD0
TRANSFER_METHOD_CABLE1

Definition at line 199 of file screens.h.

PASSWORD_LEVEL

enum PASSWORD_LEVEL

The places of the password level menu (SEND_OPTION_PASSWORD_LEVEL).

EnumeratorValueDescription
PASSWORD_LEVEL_GOLD0
PASSWORD_LEVEL_SILVER1
PASSWORD_LEVEL_BRONZE2

Definition at line 206 of file screens.h.

YES_NO

enum YES_NO

What mnYesNoMenuRun and mnYesNoMenuRunAt return.

EnumeratorValueDescription
YES0
NO1

Definition at line 214 of file screens.h.

Variables in detail

NameEntryAlternateKeyboardTilemap

extern const Uint8 NameEntryAlternateKeyboardTilemap[]

The Japanese name entry screen's second keyboard, which Select switches to.

Referenced by mnNameEntryEditMemberName().

Definition at line 241 of file screens.h.

NameEntryDeleteKeyLabel

extern const Uint8 NameEntryDeleteKeyLabel[]

The Delete key's label on the German, Spanish and French name entry screen keyboards ("ENT", "SUP", "EFF").

Referenced by mnNameEntryEditMemberName().

Definition at line 249 of file screens.h.

NameEntryEndKeyLabel

extern const Uint8 NameEntryEndKeyLabel[]

The End key's label on the German, Spanish and French keyboards ("ENDE", "FIN", "FIN").

Referenced by mnNameEntryEditMemberName().

Definition at line 252 of file screens.h.

NameEntryKeyboardTilemap

extern const Uint8 NameEntryKeyboardTilemap[]

The name entry screen keyboard's compressed tilemap, the Spanish edition's with its own letters.

Referenced by mnNameEntryEditMemberName().

Definition at line 257 of file screens.h.

NameEntryCaretTiles

extern const Uint8 NameEntryCaretTiles[]

The 16x16 sprite the name entry screen shows as its name caret.

Referenced by mnNameEntryEditMemberName() and mnNameEntryLoadCaretTiles().

Definition at line 259 of file screens.h.