2010-04-25 00:31:27 +00:00
|
|
|
/*
|
2015-05-26 13:36:47 +00:00
|
|
|
* Copyright (C) 2007-2015 Gabest
|
2009-02-09 21:15:56 +00:00
|
|
|
* http://www.gabest.org
|
|
|
|
*
|
|
|
|
* This Program 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 Foundation; either version 2, or (at your option)
|
|
|
|
* any later version.
|
2010-04-25 00:31:27 +00:00
|
|
|
*
|
2009-02-09 21:15:56 +00:00
|
|
|
* This Program 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.
|
2010-04-25 00:31:27 +00:00
|
|
|
*
|
2009-02-09 21:15:56 +00:00
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with GNU Make; see the file COPYING. If not, write to
|
2012-09-09 18:16:11 +00:00
|
|
|
* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA USA.
|
2009-02-09 21:15:56 +00:00
|
|
|
* http://www.gnu.org/copyleft/gpl.html
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2011-11-16 22:17:37 +00:00
|
|
|
#include "stdafx.h"
|
|
|
|
|
2010-04-25 00:31:27 +00:00
|
|
|
struct GSSetting
|
2009-02-09 21:15:56 +00:00
|
|
|
{
|
2016-01-18 22:59:27 +00:00
|
|
|
int32_t value;
|
2010-06-23 05:32:50 +00:00
|
|
|
std::string name;
|
|
|
|
std::string note;
|
2011-02-19 03:36:30 +00:00
|
|
|
|
2016-01-18 22:59:27 +00:00
|
|
|
template< typename T>
|
|
|
|
explicit GSSetting(T value, const char* name, const char* note) :
|
|
|
|
value(static_cast<int32_t>(value)),
|
|
|
|
name(name),
|
|
|
|
note(note)
|
2011-02-19 03:36:30 +00:00
|
|
|
{
|
|
|
|
}
|
2009-02-09 21:15:56 +00:00
|
|
|
};
|
2015-04-16 17:20:17 +00:00
|
|
|
|
|
|
|
const char* dialog_message(int ID, bool* updateText = NULL);
|
|
|
|
|
2016-05-01 09:43:18 +00:00
|
|
|
#ifndef _WIN32
|
2015-04-16 17:20:17 +00:00
|
|
|
enum {
|
2015-07-19 21:27:45 +00:00
|
|
|
IDC_FILTER,
|
2017-02-24 16:55:39 +00:00
|
|
|
IDC_TRI_FILTER,
|
2015-04-16 17:20:17 +00:00
|
|
|
IDC_SKIPDRAWHACK,
|
|
|
|
IDC_SKIPDRAWHACKEDIT,
|
|
|
|
IDC_ALPHAHACK,
|
|
|
|
IDC_OFFSETHACK,
|
|
|
|
IDC_SPRITEHACK,
|
|
|
|
IDC_WILDHACK,
|
|
|
|
IDC_MSAACB,
|
|
|
|
IDC_ALPHASTENCIL,
|
|
|
|
IDC_CHECK_DISABLE_ALL_HACKS,
|
|
|
|
IDC_ALIGN_SPRITE,
|
2015-05-02 06:24:41 +00:00
|
|
|
IDC_ROUND_SPRITE,
|
2015-04-16 17:20:17 +00:00
|
|
|
IDC_TCOFFSETX,
|
|
|
|
IDC_TCOFFSETX2,
|
|
|
|
IDC_TCOFFSETY,
|
|
|
|
IDC_TCOFFSETY2,
|
2015-05-11 12:12:41 +00:00
|
|
|
IDC_PALTEX,
|
2015-07-19 07:34:06 +00:00
|
|
|
IDC_ACCURATE_BLEND_UNIT,
|
2015-05-20 07:42:22 +00:00
|
|
|
IDC_ACCURATE_DATE,
|
2015-06-26 20:07:51 +00:00
|
|
|
IDC_TC_DEPTH,
|
2017-10-04 21:50:36 +00:00
|
|
|
IDC_CPU_FB_CONVERSION,
|
gsdx: Add new tooltips and descriptions.
For Linux and Windows, add tooltip descriptions for AF, AA1, extra
rendering threads, Enable Shade Boost, FX Shader/External Shader, FXAA.
For Windows, also add Alpha Correction and Logarithmic Z tooltips.
For Linux, add software mipmap tooltip.
Thanks to tsunami2311, ssakash, gregory38 and whoever did the wiki for
helping with descriptions.
2015-08-26 22:22:36 +00:00
|
|
|
IDC_CRC_LEVEL,
|
|
|
|
IDC_AFCOMBO,
|
|
|
|
IDC_AA1,
|
|
|
|
IDC_SWTHREADS,
|
|
|
|
IDC_SWTHREADS_EDIT,
|
|
|
|
IDC_SHADEBOOST,
|
|
|
|
IDC_SHADER_FX,
|
|
|
|
IDC_FXAA,
|
2016-11-05 16:49:17 +00:00
|
|
|
IDC_MIPMAP_SW,
|
|
|
|
IDC_MIPMAP_HW,
|
2016-03-20 12:58:55 +00:00
|
|
|
IDC_PRELOAD_GS,
|
|
|
|
IDC_FAST_TC_INV,
|
2016-05-23 17:38:23 +00:00
|
|
|
IDC_LARGE_FB,
|
2016-08-27 17:23:12 +00:00
|
|
|
IDC_LINEAR_PRESENT,
|
2016-09-08 15:34:28 +00:00
|
|
|
IDC_AUTO_FLUSH,
|
2016-09-15 10:48:12 +00:00
|
|
|
IDC_UNSCALE_POINT_LINE,
|
2017-02-04 13:50:36 +00:00
|
|
|
IDC_MEMORY_WRAPPING,
|
2017-03-18 13:19:48 +00:00
|
|
|
IDC_MERGE_PP_SPRITE,
|
2017-02-23 21:51:10 +00:00
|
|
|
IDC_GEOMETRY_SHADER_OVERRIDE,
|
|
|
|
IDC_IMAGE_LOAD_STORE,
|
2017-01-06 15:40:31 +00:00
|
|
|
IDC_OSD_LOG,
|
|
|
|
IDC_OSD_MONITOR,
|
2017-01-10 20:47:33 +00:00
|
|
|
IDC_OSD_MAX_LOG,
|
|
|
|
IDC_OSD_MAX_LOG_EDIT,
|
2017-04-08 16:14:26 +00:00
|
|
|
// Shader
|
|
|
|
IDR_CONVERT_GLSL,
|
|
|
|
IDR_FXAA_FX,
|
|
|
|
IDR_INTERLACE_GLSL,
|
|
|
|
IDR_MERGE_GLSL,
|
|
|
|
IDR_SHADEBOOST_GLSL,
|
|
|
|
IDR_COMMON_GLSL,
|
|
|
|
IDR_TFX_VGS_GLSL,
|
|
|
|
IDR_TFX_FS_GLSL,
|
|
|
|
IDR_TFX_CL,
|
2015-04-16 17:20:17 +00:00
|
|
|
};
|
|
|
|
#endif
|