2012-05-29 01:27:45 +02:00
|
|
|
/* RetroArch - A frontend for libretro.
|
|
|
|
* Copyright (C) 2010-2012 - Hans-Kristian Arntzen
|
|
|
|
* Copyright (C) 2011-2012 - Daniel De Matteis
|
|
|
|
*
|
|
|
|
* 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/>.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef CONSOLE_SETTINGS_H
|
|
|
|
#define CONSOLE_SETTINGS_H
|
|
|
|
|
2012-05-29 16:45:37 +02:00
|
|
|
enum
|
|
|
|
{
|
|
|
|
S_DELAY_180 = 180,
|
|
|
|
S_DELAY_270 = 270,
|
|
|
|
} delays;
|
|
|
|
|
2012-05-29 01:27:45 +02:00
|
|
|
enum
|
|
|
|
{
|
2012-05-29 02:05:23 +02:00
|
|
|
S_FRAME_ADVANCE = 0,
|
|
|
|
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-05-29 04:16:38 +02:00
|
|
|
S_QUIT,
|
2012-05-29 02:17:35 +02:00
|
|
|
S_RETURN_TO_DASHBOARD,
|
2012-05-29 02:05:23 +02:00
|
|
|
S_RETURN_TO_GAME,
|
2012-05-29 02:48:13 +02:00
|
|
|
S_RETURN_TO_LAUNCHER,
|
2012-05-29 02:33:06 +02:00
|
|
|
S_RETURN_TO_MENU,
|
2012-05-29 03:35:59 +02:00
|
|
|
S_REWIND,
|
2012-05-29 01:27:45 +02:00
|
|
|
S_ROTATION_DECREMENT,
|
|
|
|
S_ROTATION_INCREMENT,
|
|
|
|
S_SAVESTATE_DECREMENT,
|
|
|
|
S_SAVESTATE_INCREMENT,
|
|
|
|
S_SCALE_ENABLED,
|
|
|
|
S_SCALE_FACTOR_DECREMENT,
|
|
|
|
S_SCALE_FACTOR_INCREMENT,
|
|
|
|
S_THROTTLE,
|
|
|
|
S_TRIPLE_BUFFERING,
|
|
|
|
} changed_settings;
|
|
|
|
|
|
|
|
enum
|
|
|
|
{
|
2012-05-29 01:37:09 +02:00
|
|
|
S_DEF_HW_TEXTURE_FILTER = 0,
|
|
|
|
S_DEF_HW_TEXTURE_FILTER_2,
|
|
|
|
S_DEF_OVERSCAN,
|
2012-05-29 01:27:45 +02:00
|
|
|
S_DEF_THROTTLE,
|
|
|
|
S_DEF_TRIPLE_BUFFERING,
|
|
|
|
S_DEF_SAVE_STATE,
|
|
|
|
S_DEF_SCALE_ENABLED,
|
|
|
|
S_DEF_SCALE_FACTOR,
|
|
|
|
} default_settings;
|
|
|
|
|
2012-05-29 16:45:37 +02:00
|
|
|
enum
|
|
|
|
{
|
|
|
|
S_MSG_CACHE_PARTITION = 0,
|
|
|
|
S_MSG_CHANGE_CONTROLS,
|
|
|
|
S_MSG_EXTRACTED_ZIPFILE,
|
|
|
|
S_MSG_NOT_IMPLEMENTED,
|
|
|
|
S_MSG_RESIZE_SCREEN,
|
|
|
|
S_MSG_RESTART_RARCH,
|
|
|
|
S_MSG_SELECT_LIBRETRO_CORE,
|
|
|
|
S_MSG_SELECT_SHADER,
|
|
|
|
S_MSG_SHADER_LOADING_SUCCEEDED,
|
|
|
|
};
|
|
|
|
|
2012-05-29 01:27:45 +02:00
|
|
|
void rarch_settings_change (unsigned setting);
|
|
|
|
void rarch_settings_default (unsigned setting);
|
2012-05-29 16:45:37 +02:00
|
|
|
void rarch_settings_msg(unsigned setting, unsigned delay);
|
2012-05-29 01:27:45 +02:00
|
|
|
|
|
|
|
#endif
|