2012-05-29 01:27:45 +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-05-29 01:27:45 +02:00
|
|
|
*
|
|
|
|
* RetroArch is free software: you can redistribute it and/or modify it under the terms
|
|
|
|
* 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.
|
|
|
|
*
|
|
|
|
* RetroArch is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
|
|
|
|
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
|
|
|
* PURPOSE. See the GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License along with RetroArch.
|
|
|
|
* If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
2013-03-09 17:09:40 +01:00
|
|
|
#ifndef CONSOLE_SETTINGS_H
|
|
|
|
#define CONSOLE_SETTINGS_H
|
|
|
|
|
2012-05-29 01:27:45 +02:00
|
|
|
enum
|
|
|
|
{
|
2012-05-29 18:03:58 +02:00
|
|
|
S_ASPECT_RATIO_DECREMENT = 0,
|
|
|
|
S_ASPECT_RATIO_INCREMENT,
|
2012-07-17 01:06:13 +02:00
|
|
|
S_AUDIO_MUTE,
|
2012-07-18 20:38:09 -04:00
|
|
|
S_AUDIO_CONTROL_RATE_DECREMENT,
|
|
|
|
S_AUDIO_CONTROL_RATE_INCREMENT,
|
2012-05-29 18:03:58 +02:00
|
|
|
S_FRAME_ADVANCE,
|
2012-05-29 02:05:23 +02:00
|
|
|
S_HW_TEXTURE_FILTER,
|
2012-05-29 01:37:09 +02:00
|
|
|
S_HW_TEXTURE_FILTER_2,
|
|
|
|
S_OVERSCAN_DECREMENT,
|
2012-05-29 01:27:45 +02:00
|
|
|
S_OVERSCAN_INCREMENT,
|
2012-06-05 18:11:42 +02:00
|
|
|
S_RESOLUTION_PREVIOUS,
|
|
|
|
S_RESOLUTION_NEXT,
|
2012-05-29 01:27:45 +02:00
|
|
|
S_ROTATION_DECREMENT,
|
|
|
|
S_ROTATION_INCREMENT,
|
2012-05-29 21:29:32 +02:00
|
|
|
S_REWIND,
|
2012-05-29 01:27:45 +02:00
|
|
|
S_SAVESTATE_DECREMENT,
|
|
|
|
S_SAVESTATE_INCREMENT,
|
|
|
|
S_SCALE_ENABLED,
|
|
|
|
S_SCALE_FACTOR_DECREMENT,
|
|
|
|
S_SCALE_FACTOR_INCREMENT,
|
|
|
|
S_THROTTLE,
|
2013-01-13 05:52:00 +01:00
|
|
|
S_TRIPLE_BUFFERING,
|
|
|
|
S_REFRESH_RATE_DECREMENT,
|
|
|
|
S_REFRESH_RATE_INCREMENT,
|
2013-01-13 08:04:06 +01:00
|
|
|
S_INFO_DEBUG_MSG_TOGGLE,
|
|
|
|
S_INFO_MSG_TOGGLE,
|
2012-05-29 17:45:32 +02:00
|
|
|
};
|
2012-05-29 01:27:45 +02:00
|
|
|
|
|
|
|
enum
|
|
|
|
{
|
2012-05-29 18:03:58 +02:00
|
|
|
S_DEF_ASPECT_RATIO = 0,
|
2012-07-17 01:06:13 +02:00
|
|
|
S_DEF_AUDIO_MUTE,
|
2012-07-18 20:38:09 -04:00
|
|
|
S_DEF_AUDIO_CONTROL_RATE,
|
2012-05-29 18:03:58 +02:00
|
|
|
S_DEF_HW_TEXTURE_FILTER,
|
2012-05-29 01:37:09 +02:00
|
|
|
S_DEF_HW_TEXTURE_FILTER_2,
|
|
|
|
S_DEF_OVERSCAN,
|
2012-05-29 21:29:32 +02:00
|
|
|
S_DEF_ROTATION,
|
2012-05-29 01:27:45 +02:00
|
|
|
S_DEF_THROTTLE,
|
|
|
|
S_DEF_TRIPLE_BUFFERING,
|
|
|
|
S_DEF_SAVE_STATE,
|
|
|
|
S_DEF_SCALE_ENABLED,
|
2013-01-13 05:52:00 +01:00
|
|
|
S_DEF_SCALE_FACTOR,
|
|
|
|
S_DEF_REFRESH_RATE,
|
2013-01-13 08:04:06 +01:00
|
|
|
S_DEF_INFO_DEBUG_MSG,
|
|
|
|
S_DEF_INFO_MSG,
|
2012-05-29 17:45:32 +02:00
|
|
|
};
|
2012-05-29 01:27:45 +02:00
|
|
|
|
2012-05-29 16:45:37 +02:00
|
|
|
enum
|
|
|
|
{
|
|
|
|
S_MSG_CACHE_PARTITION = 0,
|
|
|
|
S_MSG_CHANGE_CONTROLS,
|
2012-06-28 12:04:40 +02:00
|
|
|
S_MSG_LOADING_ROM,
|
2012-08-01 17:22:10 +02:00
|
|
|
S_MSG_DIR_LOADING_ERROR,
|
2012-06-28 18:10:04 +02:00
|
|
|
S_MSG_ROM_LOADING_ERROR,
|
2012-05-29 16:45:37 +02:00
|
|
|
S_MSG_NOT_IMPLEMENTED,
|
|
|
|
S_MSG_RESIZE_SCREEN,
|
|
|
|
S_MSG_RESTART_RARCH,
|
|
|
|
S_MSG_SELECT_LIBRETRO_CORE,
|
|
|
|
S_MSG_SELECT_SHADER,
|
2012-05-29 17:45:32 +02:00
|
|
|
S_MSG_SHADER_LOADING_SUCCEEDED
|
2012-05-29 16:45:37 +02:00
|
|
|
};
|
|
|
|
|
2012-05-29 19:51:35 +02:00
|
|
|
enum
|
|
|
|
{
|
|
|
|
S_LBL_ASPECT_RATIO = 0,
|
2012-05-29 21:47:53 +02:00
|
|
|
S_LBL_RARCH_VERSION,
|
2012-05-29 21:29:32 +02:00
|
|
|
S_LBL_ROTATION,
|
2012-05-29 20:34:06 +02:00
|
|
|
S_LBL_SHADER,
|
|
|
|
S_LBL_SHADER_2,
|
2012-05-29 21:40:45 +02:00
|
|
|
S_LBL_SCALE_FACTOR,
|
2012-05-29 22:12:28 +02:00
|
|
|
S_LBL_LOAD_STATE_SLOT,
|
|
|
|
S_LBL_SAVE_STATE_SLOT,
|
2013-01-19 09:23:24 +01:00
|
|
|
S_LBL_REWIND_GRANULARITY,
|
2012-05-29 19:51:35 +02:00
|
|
|
};
|
|
|
|
|
2013-03-09 22:19:25 +01:00
|
|
|
void menu_settings_set(unsigned setting);
|
|
|
|
void menu_settings_set_default(unsigned setting);
|
|
|
|
void menu_settings_msg(unsigned setting, unsigned delay);
|
2012-05-29 01:27:45 +02:00
|
|
|
|
2013-03-09 22:19:25 +01:00
|
|
|
void menu_settings_create_menu_item_label(char * str, unsigned setting, size_t size);
|
2012-05-29 19:51:35 +02:00
|
|
|
|
2012-05-29 01:27:45 +02:00
|
|
|
#endif
|