Alchemy
Loading...
Searching...
No Matches

menu.c

Go to the documentation of this file.
1/// @file
2/// The menu object: the field menu's Psynergy, Djinn, Item and Status
3/// screens, the member chooser and item picker that events open, and the
4/// pieces they share. menu_internal.h holds what the parts share (includes,
5/// macros and types); the code is in the files under menu/, included here in
6/// the order it has in the ROM. Camelot's own files are not recoverable: the
7/// ROM shows one object, and these parts are ours, cut where one screen ends
8/// and the next begins.
9///
10/// README.md in this folder gives the words, prefixes and spellings the parts
11/// use, and how to find a screen's code.
12
13#include "menu_internal.h"
14
15// The menu object's code, in ROM order. Each part is compiled here, as part
16// of this one object, never on its own: the order of these includes is the
17// order of the code in the ROM.
18#include "menu/common.c"
19#include "menu/item.c"
20#include "menu/psynergy.c"
21#include "menu/status.c"
22#include "menu/use.c"
23#include "menu/djinn.c"
24#include "menu/djinn_figures.c"
25#include "menu/djinn_preview.c"
26#include "menu/icons.c"
The pieces the menu screens share: windows, the status panel, numbers, icons, the party figures,...
FourObjectMotion: the row of four figures the Status and Djinn menus show, placed by a scheduler call...
The item menu: the item picker events open, the command loop, the member and item lists,...
The Djinn menu: its screen, the Djinn list, help, and choosing the Djinn to set, put on standby,...
Previewing a Djinn change before it is made, the chosen member's status, and the checks that keep the...
The stat arrows and the other icons the menus load into VRAM blocks.
The Psynergy menu: the screen events open, the member and Psynergy lists, targets,...
The member chooser and the Status menu: its member row, status page, Psynergy page and equipment page...
What every part of the menu object shares: its includes, and the macros and types more than one part ...
Using an item or Psynergy from the menu: what it does to the party, and the sound it plays.