diff --git a/plugins/GSdx/GSLinuxDialog.cpp b/plugins/GSdx/GSLinuxDialog.cpp index 72a3836f3e..1ee76ff820 100644 --- a/plugins/GSdx/GSLinuxDialog.cpp +++ b/plugins/GSdx/GSLinuxDialog.cpp @@ -326,7 +326,7 @@ bool RunLinuxDialog() gtk_widget_set_tooltip_text(hack_tco_entry, dialog_message(IDC_TCOFFSETX)); gtk_widget_set_tooltip_text(hack_logz_check, "Use a logarithm depth instead of a linear depth (superseeded by ARB_clip_control)"); gtk_widget_set_tooltip_text(align_sprite_check, dialog_message(IDC_ALIGN_SPRITE)); - gtk_widget_set_tooltip_text(stretch_hack_check, dialog_message(IDC_STRETCH_SPRITE)); + gtk_widget_set_tooltip_text(stretch_hack_check, dialog_message(IDC_ROUND_SPRITE)); // Tables are strange. The numbers are for their position: left, right, top, bottom. diff --git a/plugins/GSdx/GSSetting.cpp b/plugins/GSdx/GSSetting.cpp index 13149d6916..7124869355 100644 --- a/plugins/GSdx/GSSetting.cpp +++ b/plugins/GSdx/GSSetting.cpp @@ -77,9 +77,12 @@ const char* dialog_message(int ID, bool* updateText) { case IDC_ALIGN_SPRITE: return "Sprite Alignment Hack\n\n" "Fixes issues with upscaling(vertical lines) in Namco games like Ace Combat, Tekken, Soul Calibur, etc."; - case IDC_STRETCH_SPRITE: + case IDC_ROUND_SPRITE: return "Corrects the sampling of 2D sprite textures when upscaling.\n\n" - "Fixes lines in sprites of games like Ar tonelico when upscaling."; + "Fixes lines in sprites of games like Ar tonelico when upscaling.\n\n" + + "carries total of three states, Unchecked (off), Squared check box (on for all sprites) checked box (on for flat sprites)"; + case IDC_TCOFFSETX: case IDC_TCOFFSETX2: case IDC_STATIC_TCOFFSETX: diff --git a/plugins/GSdx/GSSetting.h b/plugins/GSdx/GSSetting.h index cb71307bfe..0c3b0a90ae 100644 --- a/plugins/GSdx/GSSetting.h +++ b/plugins/GSdx/GSSetting.h @@ -56,7 +56,7 @@ enum { IDC_CHECK_NVIDIA_HACK, IDC_CHECK_DISABLE_ALL_HACKS, IDC_ALIGN_SPRITE, - IDC_STRETCH_SPRITE, + IDC_ROUND_SPRITE, IDC_TCOFFSETX, IDC_TCOFFSETX2, IDC_STATIC_TCOFFSETX, diff --git a/plugins/GSdx/GSSettingsDlg.cpp b/plugins/GSdx/GSSettingsDlg.cpp index c0482afb0d..33d6a5252d 100644 --- a/plugins/GSdx/GSSettingsDlg.cpp +++ b/plugins/GSdx/GSSettingsDlg.cpp @@ -601,7 +601,7 @@ void GSHacksDlg::OnInit() CheckDlgButton(m_hWnd, IDC_ALPHASTENCIL, theApp.GetConfig("UserHacks_AlphaStencil", 0)); CheckDlgButton(m_hWnd, IDC_CHECK_NVIDIA_HACK, theApp.GetConfig("UserHacks_NVIDIAHack", 0)); CheckDlgButton(m_hWnd, IDC_CHECK_DISABLE_ALL_HACKS, theApp.GetConfig("UserHacks_DisableCrcHacks", 0)); - CheckDlgButton(m_hWnd, IDC_STRETCH_SPRITE, theApp.GetConfig("UserHacks_stretch_sprite", 0)); + CheckDlgButton(m_hWnd, IDC_ROUND_SPRITE, theApp.GetConfig("UserHacks_round_sprite", 0)); CheckDlgButton(m_hWnd, IDC_ALIGN_SPRITE, theApp.GetConfig("UserHacks_align_sprite_X", 0)); SendMessage(GetDlgItem(m_hWnd, IDC_SKIPDRAWHACK), UDM_SETRANGE, 0, MAKELPARAM(1000, 0)); @@ -664,7 +664,7 @@ bool GSHacksDlg::OnMessage(UINT message, WPARAM wParam, LPARAM lParam) theApp.SetConfig("UserHacks_AlphaStencil", (int)IsDlgButtonChecked(m_hWnd, IDC_ALPHASTENCIL)); theApp.SetConfig("UserHacks_NVIDIAHack", (int)IsDlgButtonChecked(m_hWnd, IDC_CHECK_NVIDIA_HACK)); theApp.SetConfig("UserHacks_DisableCrcHacks", (int)IsDlgButtonChecked(m_hWnd, IDC_CHECK_DISABLE_ALL_HACKS)); - theApp.SetConfig("Userhacks_stretch_sprite", (int)IsDlgButtonChecked(m_hWnd, IDC_STRETCH_SPRITE)); + theApp.SetConfig("Userhacks_round_sprite", (int)IsDlgButtonChecked(m_hWnd, IDC_ROUND_SPRITE)); theApp.SetConfig("Userhacks_align_sprite_X", (int)IsDlgButtonChecked(m_hWnd, IDC_ALIGN_SPRITE)); unsigned int TCOFFSET = SendMessage(GetDlgItem(m_hWnd, IDC_TCOFFSETX), UDM_GETPOS, 0, 0) & 0xFFFF; diff --git a/plugins/GSdx/GSdx.rc b/plugins/GSdx/GSdx.rc index 0f51a08204..28949db577 100644 --- a/plugins/GSdx/GSdx.rc +++ b/plugins/GSdx/GSdx.rc @@ -110,7 +110,7 @@ BEGIN CONTROL "Aggressive-CRC",IDC_AGGRESSIVECRC,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,119,66,10 CONTROL "Alpha Stencil",IDC_ALPHASTENCIL,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,136,66,10 CONTROL "Disable CRCs",IDC_CHECK_DISABLE_ALL_HACKS,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,168,58,10 - CONTROL "Stretch Sprite",IDC_STRETCH_SPRITE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,184,66,10 + CONTROL "Round Sprite",IDC_ROUND_SPRITE,"Button",BS_AUTO3STATE | WS_TABSTOP,14,184,66,10 CONTROL "Align Sprite",IDC_ALIGN_SPRITE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,200,60,10 LTEXT "TC Offset X",IDC_STATIC_TCOFFSETX,14,218,37,8 EDITTEXT IDC_TCOFFSETX2,53,216,35,14,ES_RIGHT | ES_AUTOHSCROLL diff --git a/plugins/GSdx/resource.h b/plugins/GSdx/resource.h index f41d3d7475..a03a1dcb77 100644 --- a/plugins/GSdx/resource.h +++ b/plugins/GSdx/resource.h @@ -72,7 +72,7 @@ #define IDC_ANISOTROPIC 2089 #define IDC_AFCOMBO 2090 #define IDC_OPENCL_DEVICE 2091 -#define IDC_STRETCH_SPRITE 2092 +#define IDC_ROUND_SPRITE 2092 #define IDC_ALIGN_SPRITE 2093 #define IDC_COLORSPACE 3000 #define IDR_CONVERT_FX 10000