shot:: new options

This commit is contained in:
Zeno Rogue 2020-07-03 15:24:36 +02:00
parent abd5a0b943
commit 9648642dd2
1 changed files with 6 additions and 0 deletions

View File

@ -212,6 +212,9 @@ int read_args() {
else if(argis("-svggamma")) {
shift_arg_formula(shot::gamma);
}
else if(argis("-svgfade")) {
shift_arg_formula(shot::fade);
}
else if(argis("-svgshot")) {
PHASE(3); shift(); start_game();
printf("saving SVG screenshot to %s\n", argcs());
@ -821,6 +824,9 @@ int png_read_args() {
else if(argis("-shotxy")) {
shift(); shotformat = -1; shotx = argi(); shift(); shoty = argi();
}
else if(argis("-shothud")) {
shift(); hide_hud = !argi();
}
else if(argis("-shott")) {
shift(); shot::transparent = argi();
}