Update hooks.c, menu.h, and 3 more files...

This commit is contained in:
2025-04-04 17:22:43 -04:00
parent 07b05f02c4
commit c5a0ec15e9
5 changed files with 314 additions and 8 deletions

View File

@@ -13,6 +13,7 @@ bool menu_init(void);
void menu_shutdown(void);
void menu_render(void);
void menu_key_event(int keynum, int down);
void menu_char_event(int ascii);
extern bool g_menu_open;
extern bool g_imgui_initialized;

View File

@@ -55,8 +55,10 @@ typedef struct {
extern cheat_settings_t g_settings;
void settings_init(void);
void settings_reset(void);
bool settings_save_to_file(const char* filename);
bool settings_load_from_file(const char* filename);
const char* get_config_dir(void);
inline void init_default_settings(void) {
memset(&g_settings, 0, sizeof(g_settings));