From: Toni Wilen Date: Wed, 13 May 2026 18:49:48 +0000 (+0300) Subject: Added scanline offset and rotation to filter presets X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=33287cedb17d653ea882b067de1f5b56dbd2e8a3;p=francis%2Fwinuae.git Added scanline offset and rotation to filter presets --- diff --git a/od-win32/win32gui.cpp b/od-win32/win32gui.cpp index ab41cbe8..2d99e28e 100644 --- a/od-win32/win32gui.cpp +++ b/od-win32/win32gui.cpp @@ -20579,6 +20579,7 @@ static const int filtertypes[] = { 0, 0, 0, 0, 0, 0, + 0, 0, -1 }; static void *filtervars_wp[] = { @@ -20596,6 +20597,8 @@ static void *filtervars_wp[] = { &workprefs.gf[0].gfx_filter_keep_autoscale_aspect, &workprefs.gf[0].gfx_filter_integerscalelimit, &workprefs.gf[0].gfx_filter_left_border, &workprefs.gf[0].gfx_filter_right_border, &workprefs.gf[0].gfx_filter_top_border, &workprefs.gf[0].gfx_filter_bottom_border, + &workprefs.gf[0].gfx_filter_scanlineoffset, + &workprefs.gf[0].gfx_filter_rotation, NULL }; static void *filtervars_cp[] = { @@ -20613,17 +20616,19 @@ static void *filtervars_cp[] = { &currprefs.gf[0].gfx_filter_keep_autoscale_aspect, &currprefs.gf[0].gfx_filter_integerscalelimit, &currprefs.gf[0].gfx_filter_left_border, &currprefs.gf[0].gfx_filter_right_border, &currprefs.gf[0].gfx_filter_top_border, &currprefs.gf[0].gfx_filter_bottom_border, + &currprefs.gf[0].gfx_filter_scanlineoffset, + &currprefs.gf[0].gfx_filter_rotation, NULL }; struct filterpreset { const TCHAR *name; - int conf[27]; + int conf[29]; }; static const struct filterpreset filterpresets[] = { - { _T("D3D Autoscale"), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 4, 0, 0 }, - { _T("D3D Full Scaling"), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0 }, + { _T("D3D Autoscale"), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 4, 0, 0, 0, 0 }, + { _T("D3D Full Scaling"), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0 }, { NULL } };