RetroArch/console/rarch_console.h

84 lines
2.3 KiB
C
Raw Normal View History

2012-04-21 21:13:50 +00:00
/* RetroArch - A frontend for libretro.
2012-01-25 00:10:53 +00:00
* Copyright (C) 2010-2012 - Hans-Kristian Arntzen
* Copyright (C) 2011-2012 - Daniel De Matteis
2012-01-25 00:10:53 +00:00
*
2012-04-21 21:13:50 +00:00
* RetroArch is free software: you can redistribute it and/or modify it under the terms
2012-01-25 00:10:53 +00: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 21:13:50 +00:00
* RetroArch is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
2012-01-25 00:10:53 +00: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 21:31:57 +00:00
* You should have received a copy of the GNU General Public License along with RetroArch.
2012-01-25 00:10:53 +00:00
* If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef CONSOLE_EXT_H__
#define CONSOLE_EXT_H__
2012-01-25 00:10:53 +00:00
enum {
MENU_ITEM_LOAD_STATE = 0,
MENU_ITEM_SAVE_STATE,
MENU_ITEM_KEEP_ASPECT_RATIO,
MENU_ITEM_OVERSCAN_AMOUNT,
MENU_ITEM_ORIENTATION,
#ifdef __CELLOS_LV2__
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,
#ifdef __CELLOS_LV2__
MENU_ITEM_RETURN_TO_MENU,
MENU_ITEM_CHANGE_LIBRETRO,
MENU_ITEM_RETURN_TO_MULTIMAN,
#endif
MENU_ITEM_RETURN_TO_DASHBOARD
};
enum
{
MODE_EMULATION = 0,
MODE_MENU,
MODE_EXIT
};
2012-07-28 20:52:30 +00:00
#define MAXIMUM_PATH 512
typedef struct
{
2012-07-28 20:52:30 +00:00
char menu_border_file[MAXIMUM_PATH];
char border_file[MAXIMUM_PATH];
char border_dir[MAXIMUM_PATH];
#ifdef HAVE_HDD_CACHE_PARTITION
2012-07-28 20:52:30 +00:00
char cache_dir[MAXIMUM_PATH];
#endif
2012-07-28 20:52:30 +00:00
char cgp_dir[MAXIMUM_PATH];
char config_file[MAXIMUM_PATH];
char core_dir[MAXIMUM_PATH];
char executable_extension[MAXIMUM_PATH];
char filesystem_root_dir[MAXIMUM_PATH];
char input_presets_dir[MAXIMUM_PATH];
2012-07-23 22:15:07 +00:00
#ifdef HAVE_MULTIMAN
2012-07-28 20:52:30 +00:00
char multiman_self_file[MAXIMUM_PATH];
2012-07-23 22:15:07 +00:00
#endif
2012-07-28 20:52:30 +00:00
char port_dir[MAXIMUM_PATH];
char savestate_dir[MAXIMUM_PATH];
#if defined(HAVE_CG) || defined(HAVE_HLSL) || defined(HAVE_GLSL)
2012-07-28 20:52:30 +00:00
char menu_shader_file[MAXIMUM_PATH];
char shader_file[MAXIMUM_PATH];
char shader_dir[MAXIMUM_PATH];
#endif
2012-07-28 20:52:30 +00:00
char sram_dir[MAXIMUM_PATH];
char system_dir[MAXIMUM_PATH];
} default_paths_t;
extern default_paths_t default_paths;
#define MENU_ITEM_LAST MENU_ITEM_RETURN_TO_DASHBOARD+1
#endif