From 9648642dd29838d2d5187e74daa1376f1a54f204 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Fri, 3 Jul 2020 15:24:36 +0200 Subject: [PATCH] shot:: new options --- screenshot.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/screenshot.cpp b/screenshot.cpp index 77d16c3c..1a4b3a86 100644 --- a/screenshot.cpp +++ b/screenshot.cpp @@ -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(); }