mirror of https://github.com/PCSX2/pcsx2.git
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.
This commit is contained in:
parent
55adc7e728
commit
e5f045c375
|
@ -314,6 +314,7 @@ void populate_hw_table(GtkWidget* hw_table)
|
|||
AddTooltip(acc_bld_label, acc_bld_combo_box, IDC_ACCURATE_BLEND_UNIT);
|
||||
AddTooltip(tc_depth_check, IDC_TC_DEPTH);
|
||||
AddTooltip(filter_label, filter_combo_box, IDC_FILTER);
|
||||
AddTooltip(af_label, af_combo_box, IDC_AFCOMBO);
|
||||
|
||||
s_table_line = 0;
|
||||
InsertWidgetInTable(hw_table, paltex_check, tc_depth_check);
|
||||
|
@ -357,6 +358,10 @@ void populate_sw_table(GtkWidget* sw_table)
|
|||
GtkWidget* mipmap_check = CreateCheckBox("Mipmap", "mipmap", true);
|
||||
GtkWidget* spin_thread_check= CreateCheckBox("Disable thread sleeping (6+ cores CPU)", "spin_thread");
|
||||
|
||||
AddTooltip(aa_check, IDC_AA1);
|
||||
AddTooltip(mipmap_check, IDC_MIPMAP);
|
||||
AddTooltip(threads_label, threads_spin, IDC_SWTHREADS);
|
||||
|
||||
s_table_line = 0;
|
||||
InsertWidgetInTable(sw_table , threads_label , threads_spin);
|
||||
InsertWidgetInTable(sw_table , aa_check, mipmap_check);
|
||||
|
@ -384,6 +389,10 @@ void populate_shader_table(GtkWidget* shader_table)
|
|||
GtkWidget* sb_saturation = CreateScale("ShadeBoost_Saturation", 50);
|
||||
GtkWidget* sb_saturation_label = gtk_label_new("Shade Boost Saturation");
|
||||
|
||||
AddTooltip(shadeboost_check, IDC_SHADEBOOST);
|
||||
AddTooltip(shaderfx_check, IDC_SHADER_FX);
|
||||
AddTooltip(fxaa_check, IDC_FXAA);
|
||||
|
||||
s_table_line = 0;
|
||||
InsertWidgetInTable(shader_table , fxaa_check);
|
||||
InsertWidgetInTable(shader_table , shadeboost_check);
|
||||
|
|
|
@ -104,6 +104,30 @@ const char* dialog_message(int ID, bool* updateText) {
|
|||
"Ultra:\nThe blending unit will be completely emulated by the shader. It is ultra slow! It is intended for debug.";
|
||||
case IDC_TC_DEPTH:
|
||||
return "Allows the conversion of Depth buffer from/to Color buffer. It is used for blur & depth of field effects";
|
||||
case IDC_AFCOMBO:
|
||||
return "Reduces texture aliasing at extreme viewing angles. High performance impact.";
|
||||
case IDC_AA1:
|
||||
return "Internal GS feature. Reduces edge aliasing of lines and triangles when the game requests it.";
|
||||
case IDC_SWTHREADS:
|
||||
case IDC_SWTHREADS_EDIT:
|
||||
return "Increases number of threads used for rendering. Optimal setting depends on CPU.";
|
||||
case IDC_SHADEBOOST:
|
||||
return "Allows brightness, contrast and saturation to be manually adjusted.";
|
||||
case IDC_SHADER_FX:
|
||||
return "Enables external shader for additional post-processing effects.";
|
||||
case IDC_FXAA:
|
||||
return "Enables fast approximate anti-aliasing. Small performance impact.";
|
||||
#ifdef _WIN32
|
||||
// DX9 only
|
||||
case IDC_FBA:
|
||||
return "Makes textures partially or fully transparent as required by emulation. May cause unusual slowdowns for some games.";
|
||||
case IDC_LOGZ:
|
||||
return "Treat depth as logarithmic instead of linear. Recommended setting is on unless it causes graphical glitches.";
|
||||
#endif
|
||||
#ifdef __linux__
|
||||
case IDC_MIPMAP:
|
||||
return "Enables mipmapping, which some games require to render correctly. Turn off only for debug purposes.";
|
||||
#endif
|
||||
default:
|
||||
if (updateText)
|
||||
*updateText = false;
|
||||
|
|
|
@ -62,6 +62,14 @@ enum {
|
|||
IDC_ACCURATE_BLEND_UNIT,
|
||||
IDC_ACCURATE_DATE,
|
||||
IDC_TC_DEPTH,
|
||||
IDC_CRC_LEVEL
|
||||
IDC_CRC_LEVEL,
|
||||
IDC_AFCOMBO,
|
||||
IDC_AA1,
|
||||
IDC_SWTHREADS,
|
||||
IDC_SWTHREADS_EDIT,
|
||||
IDC_SHADEBOOST,
|
||||
IDC_SHADER_FX,
|
||||
IDC_FXAA,
|
||||
IDC_MIPMAP
|
||||
};
|
||||
#endif
|
||||
|
|
|
@ -190,6 +190,15 @@ void GSSettingsDlg::OnInit()
|
|||
AddTooltip(IDC_ACCURATE_DATE);
|
||||
AddTooltip(IDC_ACCURATE_BLEND_UNIT);
|
||||
AddTooltip(IDC_TC_DEPTH);
|
||||
AddTooltip(IDC_AFCOMBO);
|
||||
AddTooltip(IDC_AA1);
|
||||
AddTooltip(IDC_SWTHREADS);
|
||||
AddTooltip(IDC_SWTHREADS_EDIT);
|
||||
AddTooltip(IDC_SHADEBOOST);
|
||||
AddTooltip(IDC_SHADER_FX);
|
||||
AddTooltip(IDC_FXAA);
|
||||
AddTooltip(IDC_FBA);
|
||||
AddTooltip(IDC_LOGZ);
|
||||
|
||||
UpdateControls();
|
||||
}
|
||||
|
@ -423,7 +432,7 @@ void GSSettingsDlg::UpdateControls()
|
|||
|
||||
// Hacks
|
||||
EnableWindow(GetDlgItem(m_hWnd, IDC_HACKS_ENABLED), hw);
|
||||
EnableWindow(GetDlgItem(m_hWnd, IDC_HACKSBUTTON), hw /*&& IsDlgButtonChecked(m_hWnd, IDC_HACKS_ENABLED) == BST_CHECKED*/);
|
||||
EnableWindow(GetDlgItem(m_hWnd, IDC_HACKSBUTTON), hw && IsDlgButtonChecked(m_hWnd, IDC_HACKS_ENABLED));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue