Add Team and Bag pages to the Start menu
This commit is contained in:
8 files changed
+194
-66
No files matched your search
+5
-1
@@ -116,7 +116,9 @@ void draw_battle(void);
|
||||
void load_progress(void);
|
||||
void saved_location(struct Location *out);
|
||||
int save_progress(const struct Location *location);
|
||||
enum SaveMenuPhase { SAVE_MENU_CLOSED, SAVE_MENU_OPTIONS, SAVE_MENU_SAVED, SAVE_MENU_FAILED };
|
||||
enum SaveMenuPhase { SAVE_MENU_CLOSED, SAVE_MENU_OPTIONS, SAVE_MENU_SAVED, SAVE_MENU_FAILED,
|
||||
SAVE_MENU_TEAM, SAVE_MENU_BAG };
|
||||
enum { MENU_TEAM, MENU_BAG, MENU_SAVE, MENU_CLOSE, MENU_COUNT };
|
||||
enum { SAVE_MENU_X = 160, SAVE_MENU_Y = 6, SAVE_MENU_W = 74, SAVE_MENU_H = 148 };
|
||||
struct SaveMenuState {
|
||||
enum SaveMenuPhase phase;
|
||||
@@ -126,6 +128,8 @@ struct SaveMenuState {
|
||||
extern struct SaveMenuState save_menu;
|
||||
int save_menu_input(unsigned keys, int can_open, const struct Location *location);
|
||||
void draw_save_menu(void);
|
||||
void draw_menu_scene(int x, int y);
|
||||
void draw_bag(void);
|
||||
int has_caught(enum Species kind);
|
||||
int near_npc(int x, int y);
|
||||
int begin_conversation(int x, int y);
|
||||
|
||||
Reference in new issue
Block a user