mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-11 09:50:34 +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;
|
||||
}
|
||||
|
||||
auto cdc = *current_display;
|
||||
auto gx = vid.xres;
|
||||
auto gy = vid.yres;
|
||||
|
||||
if(dual::split([=] () {
|
||||
*current_display = cdc;
|
||||
vid.xres = gx;
|
||||
vid.yres = gy;
|
||||
dual::in_subscreen([=] () { gamescreen(_darken); });
|
||||
})) {
|
||||
calcparam();
|
||||
return;
|
||||
}
|
||||
|
||||
calcparam();
|
||||
|
||||
if((cmode & sm::MAYDARK) && !current_display->sidescreen) {
|
||||
_darken += 2;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user