1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-01-19 01:20:23 +00:00

shot:: default_screenshot_content now calls gamescreen, which correctly renders multi-game and some other things

This commit is contained in:
Zeno Rogue
2020-11-14 13:17:55 +01:00
parent 62b6b4ec3b
commit 8a5d4db2c3
2 changed files with 4 additions and 16 deletions

View File

@@ -4998,12 +4998,10 @@ 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); });
@@ -5014,7 +5012,7 @@ EX void gamescreen(int _darken) {
calcparam();
if((cmode & sm::MAYDARK) && !current_display->sidescreen) {
if((cmode & sm::MAYDARK) && !current_display->sidescreen && !inHighQual) {
_darken += 2;
}
@@ -5039,7 +5037,7 @@ EX void gamescreen(int _darken) {
buttonclicked = false;
if((cmode & sm::NORMAL) && vid.stereo_mode != sLR) {
if((cmode & sm::NORMAL) && vid.stereo_mode != sLR && !inHighQual) {
if(andmode == 0 && shmup::on) {
using namespace shmupballs;
calc();