diff --git a/sc2/src/sc2code/libs/graphics/gfx_common.h b/sc2/src/sc2code/libs/graphics/gfx_common.h index 9a08bf451..96b6f70ca 100644 --- a/sc2/src/sc2code/libs/graphics/gfx_common.h +++ b/sc2/src/sc2code/libs/graphics/gfx_common.h @@ -41,6 +41,7 @@ enum #define TFB_GFXFLAGS_SCANLINES (1<<2) #define TFB_GFXFLAGS_SCALE_BILINEAR (1<<3) #define TFB_GFXFLAGS_SCALE_BIADAPT (1<<4) +#define TFB_GFXFLAGS_SCALE_BIADAPTADV (1<<5) #define TFB_GFX_NUMSCREENS 3 diff --git a/sc2/src/starcon2.c b/sc2/src/starcon2.c index d31546d85..9d654f767 100644 --- a/sc2/src/starcon2.c +++ b/sc2/src/starcon2.c @@ -154,6 +154,10 @@ main (int argc, char *argv[]) { gfxflags |= TFB_GFXFLAGS_SCALE_BIADAPT; } + else if (!strcmp (optarg, "biadv")) + { + gfxflags |= TFB_GFXFLAGS_SCALE_BIADAPTADV; + } break; case 's': gfxflags |= TFB_GFXFLAGS_SCANLINES; @@ -247,7 +251,7 @@ main (int argc, char *argv[]) printf(" -d, --bpp=BITSPERPIXEL (default 16)\n"); printf(" -f, --fullscreen (default off)\n"); printf(" -o, --opengl (default off)\n"); - printf(" -c, --scale=mode (bilinear or biadapt, default is none)\n"); + printf(" -c, --scale=mode (bilinear, biadapt or biadv, default is none)\n"); printf(" -s, --scanlines (default off)\n"); printf(" -p, --fps (default off)\n"); printf(" -n, --contentdir=CONTENTDIR\n");