Add copyright message to gles_video
[gpsp.git] / gui.h
1 /* gameplaySP
2  *
3  * Copyright (C) 2006 Exophase <exophase@gmail.com>
4  *
5  * This program is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU General Public License as
7  * published by the Free Software Foundation; either version 2 of
8  * the License, or (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13  * General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program; if not, write to the Free Software
17  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18  */
19
20 #ifndef GUI_H
21 #define GUI_H
22
23 #define GPSP_CONFIG_FILENAME "gpsp.cfg"
24
25 s32 load_file(const char **wildcards, char *result);
26 u32 adjust_frameskip(u32 button_id);
27 s32 load_game_config_file();
28 s32 load_config_file();
29 s32 save_game_config_file();
30 s32 save_config_file();
31 u32 menu(u16 *original_screen);
32
33 extern u32 savestate_slot;
34
35 void get_savestate_filename_noshot(u32 slot, char *name_buffer);
36 void get_savestate_filename(u32 slot, char *name_buffer);
37 void get_savestate_snapshot(char *savestate_filename);
38
39 #ifdef POLLUX_BUILD
40   #define default_clock_speed 533
41 #elif defined(GP2X_BUILD)
42   #define default_clock_speed 200
43 #else
44   #define default_clock_speed 333
45 #endif
46
47 #endif
48