Scanline screen effect

It can be activated by the -scanline command line flag, system3.ini, or
the menubar on Windows. Effective especially for games with 200-line
screen mode, such as Little Vampire and Intruder.
This commit is contained in:
kichikuou
2023-04-09 18:23:42 +09:00
parent ec1dfbffcf
commit 7f6a085f56
7 changed files with 73 additions and 2 deletions
+4
View File
@@ -104,6 +104,8 @@ Config::Config(int argc, char *argv[])
title = argv[++i];
else if (strcmp(argv[i], "-timiditycfg") == 0)
timidity_cfg = argv[++i];
else if (strcmp(argv[i], "-scanline") == 0)
scanline = true;
}
}
@@ -158,6 +160,8 @@ void Config::load_ini()
title = val;
else if (!strcasecmp(key, "timiditycfg"))
timidity_cfg = normalize_path(val);
else if (!strcasecmp(key, "scanline"))
scanline = to_bool(val, lineno);
else
WARNING(INIFILENAME ":%d unknown key '%s'", lineno, key);
} else if (current_section == STRING) {