mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-07-27 13:02:49 +00:00
shots:: take now sets cells_generated_limit only in single shots via GUI
This commit is contained in:
parent
362daec90c
commit
1f9a79d45d
@ -313,7 +313,6 @@ void take(string fname, const function<void()>& what) {
|
|||||||
dynamicval<bool> v2(inHighQual, true);
|
dynamicval<bool> v2(inHighQual, true);
|
||||||
dynamicval<bool> v6(auraNOGL, true);
|
dynamicval<bool> v6(auraNOGL, true);
|
||||||
dynamicval<bool> vn(nohud, nohud || hide_hud);
|
dynamicval<bool> vn(nohud, nohud || hide_hud);
|
||||||
dynamicval<int> cgl(vid.cells_generated_limit, 9999999);
|
|
||||||
|
|
||||||
vid.smart_range_detail *= multiplier;
|
vid.smart_range_detail *= multiplier;
|
||||||
darken = 0;
|
darken = 0;
|
||||||
@ -459,6 +458,7 @@ void menu() {
|
|||||||
static string svgfile = "svgshot.svg";
|
static string svgfile = "svgshot.svg";
|
||||||
string& file = make_svg ? svgfile : pngfile;
|
string& file = make_svg ? svgfile : pngfile;
|
||||||
dialog::openFileDialog(file, XLAT("screenshot"), make_svg ? ".svg" : ".png", [&file] () {
|
dialog::openFileDialog(file, XLAT("screenshot"), make_svg ? ".svg" : ".png", [&file] () {
|
||||||
|
dynamicval<int> cgl(vid.cells_generated_limit, 9999999);
|
||||||
shot::take(file);
|
shot::take(file);
|
||||||
return true;
|
return true;
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user