Skip to Content
The Alchemy Project

src/window/screens_menu_titles.c

Pictures and command icons loaded for the menus, and BG1's priority. More…

Included by screens.c.

Macros

NameDescription
#defineCOMMAND_ICON_TILE_ROW_BYTES (4 * TILE_SIZE_8BPP)A row of a command icon's 8x8 tiles, four across, as a sprite holds them.
#defineMENU_TITLE_BYTES (64 * 16 / 2)A menu heading: 64 by 16 pixels of 4bpp tiles, two 32x16 sprites of 8 tiles.
#defineMENU_TITLE_HALF_TILES 8
#defineRANGE_PATTERN_PAIR_BYTES (2 * TILE_SIZE_4BPP)
#defineRANGE_ICON_FIRST_TILE 788The first of the range icons' BG tiles, which mnRangeIconDraw draws as tilemap entries.
#defineROW_LAST_PIXEL_SHIFT 28A 4bpp tile row's eighth pixel, in the top four bits of its word.
#defineCOMMAND_ICON_COLORS 64The command icons on BG1 share at most 64 BG colours, given out in the order their pixels first use them; a colour met after that takes colour 64.
#defineCOMMAND_ICON_BG_TILES (COMMAND_ICON_BYTES / TILE_SIZE_8BPP)A command icon as BG1 tiles: 32 by 32 pixels, 16 tiles of 256 colours.

Functions

NameDescription
voidmnTitleLoad (Sint32 picture, Sint32 slot)Decompresses heading picture (MENU_TITLE_PICTURE) of MenuTitlePictures into VRAM slot slot, through a 1 KB staging block in HEAP_SLOT_TILE_SCRATCH.
WINDOW_SPR *mnTitleCreate (Sint32 picture, WINDOW *window, Sint32 x, Sint32 y)Shows heading picture of MenuTitlePictures as two 32x16 sprites side by side at (x, y) in window, at depth OAM_DEPTH_FRONT - 2, and returns the left one (the right one follows it in the window's list).
voidmnTitleBob (WINDOW_SPR *object)Bobs the two sprites of a pair (see mnTitleCreate) up and down by MenuTitleBobOffsets, one step every four frames.
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.
WINDOW_SPR *mnCommandIconCreate ( Sint32 icon, Sint32 remap, WINDOW *window, Sint32 x, Sint32 y)Shows command icon icon (see mnCommandIconLoad) as a 32x32 256-colour sprite at (x, y) in window, at depth OAM_DEPTH_FRONT - 4.
voidmnWindowSpritePulse (WINDOW_SPR *object)Makes the sprite object pulse: scales it about its centre by WindowSpritePulseScales (16.16, used as 8.8), one step every two ticks, and puts it at depth OAM_DEPTH_FRONT - 3.
Sint32mnDjinnGetGiveTutorialMessage (void)Returns the Djinn tutorial's message on giving a Djinni: the second set's while FLAG_ALREADY_KNOWS_DJINN is set.
UNREAD_RESULTmnRangeIconBuildTiles (void)Builds the twelve range icons mnRangeIconDraw draws, as the 24 BG tiles from RANGE_ICON_FIRST_TILE: icon n is a centre tile and an end tile, filled with colour 4, then rows 1 to 7 marked by XOR with MenuBarPatternRows.
UNREAD_RESULTmnRangeIconDraw ( WINDOW *window, Sint32 x, Sint32 y, Sint32 pattern, Sint32 unused)Draws range icon pattern 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.
voidmnPageArrowsDraw (Sint32 offset)Draws the two page arrows (PageArrowTiles) into the two tiles at VRAM address offset, sliding outward: the left arrow 2 or 3 pixels to the left, the right one as far to the right, eight ticks each.
voidmnBattleStatusDrawPageArrows (Sint32 offset)mnPageArrowsDraw for the Status screen's own arrows: both slide over the window's fill tile (WINDOW_TILE_WINDOW_FILL) rather than the border's.
voidmnGraphicsExpandVRAMTilesByColorTable (Uint16 *dest)Copies the UI's ten digit tiles ('0' to '9', tiles 48 to 57) twice into dest, each pixel mapped through GraphicsExpandNibbleTable: first with colour 1 drawn as colour 10, then unchanged.
Sint32mnMiscellaneousIconLoadIntoSlot (Sint32 resource, Sint32 index)Builds icon resource (0 to 31) of IconMiscellaneousIconPointers, the status patterns (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.
Sint32mnWindowSpriteGetPointerTiles (Sint32 no)Returns WindowFixedTileBlocks[0], whatever no is.
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.
Sint32mnLinkCreateCountdownLabelWindow (void)Opens the link battle timer's 6x4 window at the upper left, labelled "TIME", and returns it; mnBattleMenuUpdateEachTick draws the seconds.
Sint32mnCommandIconReloadSlot (Sint32 slotIndex, Sint32 icon)Decodes command icon icon (RESOURCE_COMMAND_ICONS, 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 glyph, Sint32 tile)Loads command icon glyph as 8bpp BG tiles into character block 1 from 64-byte tile tile on (COMMAND_ICON_BG_TILES, 32x32), for the command row's BG1.
voidmnBattleCommandRowLoadIcon (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, which clears BG1's priority bits, as the VCount handler at line COMMAND_ROW_TOP * 8.

Variables

NameDescription
extern volatile Uint32FrameCountA current GCC refuses the volatile redeclaration and reads the one system/globals.h declares.
extern Uint8mnTileDecompress4bppCode []The 4bpp decoder mnIconDecompress copies into RAM.
extern Uint8TileDecompress4bppCodeSize []The decoder's byte count, as this symbol's address (ld_script.ld).

Description

Pictures and command icons loaded for the menus, and BG1's priority. Part of screens.c.

Macros in detail

COMMAND_ICON_TILE_ROW_BYTES

#define COMMAND_ICON_TILE_ROW_BYTES (4 * TILE_SIZE_8BPP)

A row of a command icon's 8x8 tiles, four across, as a sprite holds them.

Referenced by mnCommandIconLoad().

Definition at line 5 of file screens_menu_titles.c.

#define MENU_TITLE_BYTES (64 * 16 / 2)

A menu heading: 64 by 16 pixels of 4bpp tiles, two 32x16 sprites of 8 tiles.

Referenced by mnTitleLoad().

Definition at line 7 of file screens_menu_titles.c.

#define MENU_TITLE_HALF_TILES 8

Referenced by mnTitleCreate().

Definition at line 8 of file screens_menu_titles.c.

RANGE_PATTERN_PAIR_BYTES

#define RANGE_PATTERN_PAIR_BYTES (2 * TILE_SIZE_4BPP)

Referenced by mnRangeIconBuildTiles().

Definition at line 147 of file screens_menu_titles.c.

RANGE_ICON_FIRST_TILE

#define RANGE_ICON_FIRST_TILE 788

The first of the range icons' BG tiles, which mnRangeIconDraw draws as tilemap entries.

Referenced by mnRangeIconBuildTiles() and mnRangeIconDraw().

Definition at line 150 of file screens_menu_titles.c.

ROW_LAST_PIXEL_SHIFT

#define ROW_LAST_PIXEL_SHIFT 28

A 4bpp tile row's eighth pixel, in the top four bits of its word.

Referenced by mnGraphicsMergeShiftedTileRows().

Definition at line 220 of file screens_menu_titles.c.

COMMAND_ICON_COLORS

#define COMMAND_ICON_COLORS 64

The command icons on BG1 share at most 64 BG colours, given out in the order their pixels first use them; a colour met after that takes colour 64.

Referenced by mnBattleCommandRowLoadIconTiles().

Definition at line 518 of file screens_menu_titles.c.

COMMAND_ICON_BG_TILES

#define COMMAND_ICON_BG_TILES (COMMAND_ICON_BYTES / TILE_SIZE_8BPP)

A command icon as BG1 tiles: 32 by 32 pixels, 16 tiles of 256 colours.

Referenced by mnBattleCommandRowLoadIcon().

Definition at line 520 of file screens_menu_titles.c.

Functions in detail

mnTitleLoad

void mnTitleLoad(Sint32 picture, Sint32 slot)

Decompresses heading picture (MENU_TITLE_PICTURE) of MenuTitlePictures into VRAM slot slot, through a 1 KB staging block in HEAP_SLOT_TILE_SCRATCH. The heap block is not freed when slot is not a valid VRAM slot.

References MenuTitlePictures, Sint32, syDecompressByteLZ(), syHeapSlotAllocateEWRAM(), syHeapSlotRelease() and syVRAMCacheLoad().

Referenced by mnTitleCreate().

Definition at line 13 of file screens_menu_titles.c.

mnTitleCreate

WINDOW_SPR *mnTitleCreate(Sint32 picture, WINDOW *window, Sint32 x, Sint32 y)

Shows heading picture of MenuTitlePictures as two 32x16 sprites side by side at (x, y) in window, at depth OAM_DEPTH_FRONT - 2, and returns the left one (the right one follows it in the window's list).

References mnTitleLoad(), mnWindowSpriteCreate(), Sint32 and syVRAMCacheFindFreeEntry().

Referenced by mnFileListSelectFile(), mnPauseMenuChoose() and mnSettingsMenuRun().

Definition at line 29 of file screens_menu_titles.c.

mnTitleBob

void mnTitleBob(WINDOW_SPR *object)

Bobs the two sprites of a pair (see mnTitleCreate) up and down by MenuTitleBobOffsets, one step every four frames.

References FrameCount, MenuTitleBobOffsets and Sint32.

Referenced by mnFileListSelectFile(), mnPauseMenuChoose() and mnSettingsMenuRun().

Definition at line 60 of file screens_menu_titles.c.

mnCommandIconLoad

void mnCommandIconLoad(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.

References fdSpriteColorRemapPixelsStub(), Sint32, syDecompressByteLZ(), syHeapSlotAllocateEWRAM(), syHeapSlotRelease(), syResourceGetTableEntry() and syVRAMCacheLoad().

Referenced by mnCommandIconCreate(), mnPauseMenuChoose() and mnSettingsMenuRun().

Definition at line 74 of file screens_menu_titles.c.

mnCommandIconCreate

WINDOW_SPR *mnCommandIconCreate( Sint32 icon, Sint32 remap, WINDOW *window, Sint32 x, Sint32 y)

Shows command icon icon (see mnCommandIconLoad) as a 32x32 256-colour sprite at (x, y) in window, at depth OAM_DEPTH_FRONT - 4. Returns NULL when no VRAM slot is free. The settings menu's icons come through here (window_settings_menu.c).

References mnCommandIconLoad(), mnWindowSpriteCreate(), Sint32 and syVRAMCacheFindFreeEntry().

Referenced by mnPauseMenuOpen() and mnSettingsMenuOpen().

Definition at line 95 of file screens_menu_titles.c.

mnWindowSpritePulse

void mnWindowSpritePulse(WINDOW_SPR *object)

Makes the sprite object pulse: scales it about its centre by WindowSpritePulseScales (16.16, used as 8.8), one step every two ticks, and puts it at depth OAM_DEPTH_FRONT - 3.

References FrameCount, Sint32, syOAMMatrixAllocateFromTransform() and WindowSpritePulseScales.

Referenced by mnPauseMenuAnimateCursor() and mnSettingsMenuAnimateCursors().

Definition at line 117 of file screens_menu_titles.c.

mnDjinnGetGiveTutorialMessage

Sint32 mnDjinnGetGiveTutorialMessage(void)

Returns the Djinn tutorial's message on giving a Djinni: the second set's while FLAG_ALREADY_KNOWS_DJINN is set.

References Sint32 and syGameFlagGet().

Referenced by mnBattleCollectPartyCommands() and mnBattleCommandRowRun().

Definition at line 140 of file screens_menu_titles.c.

mnRangeIconBuildTiles

UNREAD_RESULT mnRangeIconBuildTiles(void)

Builds the twelve range icons mnRangeIconDraw draws, as the 24 BG tiles from RANGE_ICON_FIRST_TILE: icon n is a centre tile and an end tile, filled with colour 4, then rows 1 to 7 marked by XOR with MenuBarPatternRows. The first set grows its pattern with the row, the second skips row 1.

References MenuBarPatternRows, mnXorWord() and Sint32.

Referenced by mnBattleCollectPartyCommands().

Definition at line 156 of file screens_menu_titles.c.

mnRangeIconDraw

UNREAD_RESULT mnRangeIconDraw( WINDOW *window, Sint32 x, Sint32 y, Sint32 pattern, Sint32 unused)

Draws range icon pattern 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.

References mnWindowSetTilemapEntry() and Sint32.

Referenced by mnBattleDjinnMenuShowChangePreview(), mnBattlePsynergyMenuRun() and mnBattleStatusScreenRun().

Definition at line 204 of file screens_menu_titles.c.

mnGraphicsMergeShiftedTileRows

void mnGraphicsMergeShiftedTileRows(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.

References result and Sint32.

Referenced by mnBattleStatusDrawPageArrows() and mnPageArrowsDraw().

Definition at line 225 of file screens_menu_titles.c.

mnPageArrowsDraw

void mnPageArrowsDraw(Sint32 offset)

Draws the two page arrows (PageArrowTiles) into the two tiles at VRAM address offset, sliding outward: the left arrow 2 or 3 pixels to the left, the right one as far to the right, eight ticks each. They are drawn over the border's top edge tile (WINDOW_TILE_BORDER_TOP) and top-right corner tile (WINDOW_TILE_BORDER_TOP_RIGHT). The battle menus call it each tick for LIST_PAGE_ARROW_VRAM; the field menus (by stub call) and the password pages of the title's Send call it for PAGE_ARROW_VRAM.

References mnGraphicsMergeShiftedTileRows(), PageArrowTiles, Sint32 and TickCount.

Referenced by mnBattleCollectPartyCommands() and mnBattleMenuUpdateEachTick().

Definition at line 277 of file screens_menu_titles.c.

mnBattleStatusDrawPageArrows

void mnBattleStatusDrawPageArrows(Sint32 offset)

mnPageArrowsDraw for the Status screen's own arrows: both slide over the window's fill tile (WINDOW_TILE_WINDOW_FILL) rather than the border's. The battle's status screen calls it each tick.

References mnGraphicsMergeShiftedTileRows(), PageArrowTiles, Sint32 and TickCount.

Referenced by mnBattleStatusScreenRun().

Definition at line 309 of file screens_menu_titles.c.

mnGraphicsExpandVRAMTilesByColorTable

void mnGraphicsExpandVRAMTilesByColorTable(Uint16 *dest)

Copies the UI's ten digit tiles ('0' to '9', tiles 48 to 57) twice into dest, each pixel mapped through GraphicsExpandNibbleTable: first with colour 1 drawn as colour 10, then unchanged.

References GraphicsExpandNibbleTable and Sint32.

Referenced by mnBattleCollectPartyCommands() and scClearEnterPassword().

Definition at line 341 of file screens_menu_titles.c.

mnMiscellaneousIconLoadIntoSlot

Sint32 mnMiscellaneousIconLoadIntoSlot(Sint32 resource, Sint32 index)

Builds icon resource (0 to 31) of IconMiscellaneousIconPointers, the status patterns (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.

References mnIconDrawMiscellaneous(), result, Sint32, syHeapSlotAllocateEWRAM(), syHeapSlotRelease() and syVRAMCacheReload().

Referenced by mnBattleStatusScreenRun().

Definition at line 392 of file screens_menu_titles.c.

mnItemIconLoadIntoSlot

Sint32 mnItemIconLoadIntoSlot(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.

References mnItemIconCompose(), result, Sint32, syHeapSlotAllocateEWRAM(), syHeapSlotRelease() and syVRAMCacheReload().

Referenced by mnBattleCollectPartyCommands(), mnBattleItemMenuRun() and mnBattleStatusScreenRun().

Definition at line 407 of file screens_menu_titles.c.

mnAbilityIconLoadIntoSlot

Sint32 mnAbilityIconLoadIntoSlot(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.

References mnAbilityBuildIconTiles(), result, Sint32, syHeapSlotAllocateEWRAM(), syHeapSlotRelease() and syVRAMCacheReload().

Referenced by mnBattleCollectPartyCommands(), mnBattleStatusScreenRun() and mnWindowSpriteCreateAbilityIcon().

Definition at line 423 of file screens_menu_titles.c.

mnPortraitLoad

Sint32 mnPortraitLoad(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.

References mnIconLoadWithPalette(), mnPortraitGetForSpeaker() and Sint32.

Referenced by mnBattleCollectPartyCommands() and mnBattleStatusScreenRun().

Definition at line 441 of file screens_menu_titles.c.

mnWindowSpriteGetPointerTiles

Sint32 mnWindowSpriteGetPointerTiles(Sint32 no)

Returns WindowFixedTileBlocks[0], whatever no is.

References Sint32 and WindowFixedTileBlocks.

Definition at line 462 of file screens_menu_titles.c.

mnIconDecompress

void mnIconDecompress(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.

References mnTileDecompress4bppCode, syHeapRelease() and TileDecompress4bppCodeSize.

Definition at line 471 of file screens_menu_titles.c.

mnLinkCreateCountdownLabelWindow

Sint32 mnLinkCreateCountdownLabelWindow(void)

Opens the link battle timer's 6x4 window at the upper left, labelled "TIME", and returns it; mnBattleMenuUpdateEachTick draws the seconds.

References LinkTimeLabelString, mnTextDrawStringAtOffset(), mnWindowCreate() and Sint32.

Referenced by mnBattleMenuUpdateEachTick().

Definition at line 483 of file screens_menu_titles.c.

mnCommandIconReloadSlot

Sint32 mnCommandIconReloadSlot(Sint32 slotIndex, Sint32 icon)

Decodes command icon icon (RESOURCE_COMMAND_ICONS, 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.

References Sint32, syDecompressByteLZ(), syHeapSlotAllocate(), syHeapSlotRelease(), syResourceGetTableEntry() and syVRAMCacheReload().

Referenced by mnBattleCollectPartyCommands() and mnBattleCommandRowLoadIcon().

Definition at line 500 of file screens_menu_titles.c.

mnBattleCommandRowLoadIconTiles

void mnBattleCommandRowLoadIconTiles(ICON_PALETTE *palette, Sint32 glyph, Sint32 tile)

Loads command icon glyph as 8bpp BG tiles into character block 1 from 64-byte tile tile on (COMMAND_ICON_BG_TILES, 32x32), for the command row's BG1.

References Sint32, syDecompressByteLZ(), syDMAXCopy(), syHeapAllocate(), syHeapRelease(), syHeapSlotAllocate(), syHeapSlotRelease() and syResourceGetTableEntry().

Referenced by mnBattleCommandRowLoadIcon().

Definition at line 525 of file screens_menu_titles.c.

mnBattleCommandRowLoadIcon

void mnBattleCommandRowLoadIcon(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.

References mnBattleCommandRowLoadIconTiles(), mnCommandIconReloadSlot() and Sint32.

Referenced by mnBattleCommandRowRun().

Definition at line 571 of file screens_menu_titles.c.

mnCommandRowPutBg1Behind

void mnCommandRowPutBg1Behind(void)

Puts BG1 behind the other layers (priority 3). The command row runs it as an event each VBlank, in the VBlank pass, with mnCommandRowPutBg1InFront at line COMMAND_ROW_TOP * 8, so that BG1 is behind above the strip and in front from it down.

Referenced by mnBattleCommandRowRun().

Definition at line 589 of file screens_menu_titles.c.

mnCommandRowPutBg1InFront

void mnCommandRowPutBg1InFront(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.

Referenced by mnBattleCommandRowRun() and mnGraphicsInstallBg1VCountHandler().

Definition at line 600 of file screens_menu_titles.c.

mnGraphicsInstallBg1VCountHandler

void mnGraphicsInstallBg1VCountHandler(void)

Clears BG0's vertical scroll (REG_BG0VOFS) and installs mnCommandRowPutBg1InFront, which clears BG1's priority bits, as the VCount handler at line COMMAND_ROW_TOP * 8. Nothing calls it.

References mnCommandRowPutBg1InFront() and syIntFunction().

Definition at line 611 of file screens_menu_titles.c.

Variables in detail

FrameCount

extern volatile Uint32 FrameCount

A current GCC refuses the volatile redeclaration and reads the one system/globals.h declares. Counted up by every VBlank. The ROM's callers here are compiled against this form, volatile where system/globals.h's is not.

Referenced by btPlaybackRun(), fdEffectPulseActorScale(), fdEffectUpdateMarsSpark(), fdEffectUpdateRadialSpread(), fdSpriteViewerLayOutRing(), mnCreditsScrollBackgrounds(), mnCreditsUpdateCrawlSprites(), mnCreditsUpdateTextSprites(), mnFileListUpdatePulse(), mnNameEntryEditMemberName(), mnSelectionMenuDraw(), mnSelectionMenuDrawArrow(), mnTitleBob(), mnWindowSpritePulse(), mnWindowSpriteUpdateAll(), scClearEnterPassword(), syVBlankHandler() and syWaitForVBlankInterrupt().

Definition at line 55 of file screens_menu_titles.c.

mnTileDecompress4bppCode

extern Uint8 mnTileDecompress4bppCode[]

The 4bpp decoder mnIconDecompress copies into RAM.

Referenced by mnIconDecode() and mnIconDecompress().

Definition at line 457 of file screens_menu_titles.c.

TileDecompress4bppCodeSize

extern Uint8 TileDecompress4bppCodeSize[]

The decoder's byte count, as this symbol's address (ld_script.ld).

Referenced by mnIconDecode() and mnIconDecompress().

Definition at line 459 of file screens_menu_titles.c.