Add manual cartridge saving and a right-side menu

This commit is contained in:
LyokoAgents committed 2026-10-28 22:38:53 +00:00
1 parent cb77683a87
commit 1141765231
17 files changed
+449 -63

No files matched your search

+11 -1
View File
@@ -107,7 +107,17 @@ int battle_input(unsigned pressed);
void draw_battle_hud(void);
void draw_battle(void);
void load_progress(void);
void save_progress(void);
int save_progress(void);
enum SaveMenuPhase { SAVE_MENU_CLOSED, SAVE_MENU_OPTIONS, SAVE_MENU_SAVED, SAVE_MENU_FAILED };
enum { SAVE_MENU_X = 160, SAVE_MENU_Y = 6, SAVE_MENU_W = 74, SAVE_MENU_H = 148 };
struct SaveMenuState {
enum SaveMenuPhase phase;
int selection;
unsigned previous;
};
extern struct SaveMenuState save_menu;
int save_menu_input(unsigned keys, int can_open);
void draw_save_menu(void);
int has_caught(enum Species kind);
int near_npc(int x, int y);
int begin_conversation(int x, int y);