mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-25 16:37:00 +00:00
gamescreen should now be able to draw multiple screens in screenshot
This commit is contained in:
parent
5dbb15edda
commit
00f900a04c
@ -4978,13 +4978,22 @@ EX void gamescreen(int _darken) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
auto cdc = *current_display;
|
||||||
|
auto gx = vid.xres;
|
||||||
|
auto gy = vid.yres;
|
||||||
|
|
||||||
if(dual::split([=] () {
|
if(dual::split([=] () {
|
||||||
|
*current_display = cdc;
|
||||||
|
vid.xres = gx;
|
||||||
|
vid.yres = gy;
|
||||||
dual::in_subscreen([=] () { gamescreen(_darken); });
|
dual::in_subscreen([=] () { gamescreen(_darken); });
|
||||||
})) {
|
})) {
|
||||||
calcparam();
|
calcparam();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
calcparam();
|
||||||
|
|
||||||
if((cmode & sm::MAYDARK) && !current_display->sidescreen) {
|
if((cmode & sm::MAYDARK) && !current_display->sidescreen) {
|
||||||
_darken += 2;
|
_darken += 2;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user