RetroArch/console/rarch_console.h

98 lines
2.6 KiB
C
Raw Normal View History

2012-04-21 23:13:50 +02:00
/* RetroArch - A frontend for libretro.
2013-01-01 01:37:37 +01:00
* Copyright (C) 2010-2013 - Hans-Kristian Arntzen
* Copyright (C) 2011-2013 - Daniel De Matteis
2012-01-25 01:10:53 +01:00
*
2012-04-21 23:13:50 +02:00
* RetroArch is free software: you can redistribute it and/or modify it under the terms
2012-01-25 01:10:53 +01:00
* of the GNU General Public License as published by the Free Software Found-
* ation, either version 3 of the License, or (at your option) any later version.
*
2012-04-21 23:13:50 +02:00
* RetroArch is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
2012-01-25 01:10:53 +01:00
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
* PURPOSE. See the GNU General Public License for more details.
*
2012-04-21 23:31:57 +02:00
* You should have received a copy of the GNU General Public License along with RetroArch.
2012-01-25 01:10:53 +01:00
* If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef CONSOLE_EXT_H__
#define CONSOLE_EXT_H__
2012-01-25 01:10:53 +01:00
2012-07-30 23:27:16 +02:00
#define EXT_IMAGES "png|PNG|jpg|JPG|JPEG|jpeg"
#define EXT_SHADERS "cg|CG"
#define EXT_CGP_PRESETS "cgp|CGP"
#define EXT_INPUT_PRESETS "cfg|CFG"
enum {
MENU_ITEM_LOAD_STATE = 0,
MENU_ITEM_SAVE_STATE,
MENU_ITEM_KEEP_ASPECT_RATIO,
MENU_ITEM_OVERSCAN_AMOUNT,
MENU_ITEM_ORIENTATION,
#ifdef HAVE_FBO
MENU_ITEM_SCALE_FACTOR,
#endif
MENU_ITEM_RESIZE_MODE,
MENU_ITEM_FRAME_ADVANCE,
MENU_ITEM_SCREENSHOT_MODE,
MENU_ITEM_RESET,
MENU_ITEM_RETURN_TO_GAME,
MENU_ITEM_RETURN_TO_MENU,
MENU_ITEM_CHANGE_LIBRETRO,
#ifdef HAVE_MULTIMAN
MENU_ITEM_RETURN_TO_MULTIMAN,
#endif
MENU_ITEM_QUIT_RARCH,
MENU_ITEM_LAST
};
enum
{
SOUND_MODE_NORMAL,
#ifdef HAVE_RSOUND
SOUND_MODE_RSOUND,
#endif
#ifdef HAVE_HEADSET
SOUND_MODE_HEADSET,
#endif
2012-08-03 18:27:38 +02:00
SOUND_MODE_LAST
};
#ifdef _WIN32
#define MAXIMUM_PATH 260
#else
2012-07-28 22:52:30 +02:00
#define MAXIMUM_PATH 512
#endif
2012-07-28 22:52:30 +02:00
typedef struct
{
2012-07-28 22:52:30 +02:00
char menu_border_file[MAXIMUM_PATH];
char border_file[MAXIMUM_PATH];
char border_dir[MAXIMUM_PATH];
char cgp_dir[MAXIMUM_PATH];
char core_dir[MAXIMUM_PATH];
char config_path[MAXIMUM_PATH];
char libretro_path[MAXIMUM_PATH];
2012-07-28 22:52:30 +02:00
char executable_extension[MAXIMUM_PATH];
char filebrowser_startup_dir[MAXIMUM_PATH];
2012-07-28 22:52:30 +02:00
char filesystem_root_dir[MAXIMUM_PATH];
char input_presets_dir[MAXIMUM_PATH];
char screenshots_dir[MAXIMUM_PATH];
2012-07-24 00:15:07 +02:00
#ifdef HAVE_MULTIMAN
2012-07-28 22:52:30 +02:00
char multiman_self_file[MAXIMUM_PATH];
2012-07-24 00:15:07 +02:00
#endif
2012-07-28 22:52:30 +02:00
char port_dir[MAXIMUM_PATH];
char savestate_dir[MAXIMUM_PATH];
#if defined(HAVE_CG) || defined(HAVE_HLSL) || defined(HAVE_GLSL)
2012-07-28 22:52:30 +02:00
char menu_shader_file[MAXIMUM_PATH];
char shader_file[MAXIMUM_PATH];
char shader_dir[MAXIMUM_PATH];
#endif
char salamander_file[MAXIMUM_PATH];
2012-07-28 22:52:30 +02:00
char sram_dir[MAXIMUM_PATH];
char system_dir[MAXIMUM_PATH];
} default_paths_t;
extern default_paths_t default_paths;
#endif