1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-23 21:07:17 +00:00

shot:: new options

This commit is contained in:
Zeno Rogue 2020-07-03 15:24:36 +02:00
parent abd5a0b943
commit 9648642dd2

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();
}