1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-07 10:52:23 +00:00

screenshots are more configurable now

This commit is contained in:
Zeno Rogue
2018-12-13 13:33:08 +01:00
parent 6274beb6f6
commit c73b598d93
10 changed files with 243 additions and 166 deletions

View File

@@ -482,8 +482,10 @@ void texture_config::saveFullTexture(string tn) {
texture::saving = true;
drawscreen();
dynamicval<int> dv(pngres, data.twidth);
saveHighQualityShot(tn.c_str());
dynamicval<int> dvx(shot::shotx, data.twidth);
dynamicval<int> dvy(shot::shoty, data.twidth);
dynamicval<int> dvf(shot::shotformat, -1);
shot::take(tn.c_str());
texture::saving = false;
drawscreen();