1: /* unofficial gameplaySP kai
2: *
3: * Copyright (C) 2006 Exophase <exophase@gmail.com>
4: * Copyright (C) 2007 takka <takka@tfact.net>
5: *
6: * This program is free software; you can redistribute it and/or
7: * modify it under the terms of the GNU General Public License as
8: * published by the Free Software Foundation; either version 2 of
9: * the License, or (at your option) any later version.
10: *
11: * This program is distributed in the hope that it will be useful,
12: * but WITHOUT ANY WARRANTY; without even the implied warranty of
13: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14: * General Public License for more details.
15: *
16: * You should have received a copy of the GNU General Public License
17: * along with this program; if not, write to the Free Software
18: * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19: */
20:
21: /******************************************************************************
22: * gui.h
23: * gui周りの処理
24: ******************************************************************************/
25: #ifndef GUI_H
26: #define GUI_H
27:
28: /******************************************************************************
29: * グローバル変数の宣言
30: ******************************************************************************/
31: extern u32 SAVESTATE_SLOT;
32: extern char DEFAULT_ROM_DIR[MAX_PATH];
33: extern char DEFAULT_SAVE_DIR[MAX_PATH];
34: extern char DEFAULT_CFG_DIR[MAX_PATH];
35: extern char DEFAULT_SS_DIR[MAX_PATH];
36: extern char DEFAULT_CHEAT_DIR[MAX_PATH];
37:
38: /******************************************************************************
39: * グローバル関数の宣言
40: ******************************************************************************/
41: s32 load_file(char **wildcards, char *result, char *default_dir_name);
42: s32 load_game_config_file();
43: s32 load_config_file();
44: u32 menu(u16 *original_screen);
45:
46: u32 load_dircfg(char *file_name);
47: u32 load_fontcfg(char *file_name);
48: u32 load_msgcfg(char *file_name);
49: u32 load_font();
50: void get_savestate_filename_noshot(u32 slot, char *name_buffer);
51:
52: #endif
53:
54: