From 52dfd434bb1b04531462d8af070bc882a02131bc Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sat, 15 Dec 2018 17:54:36 +0100 Subject: [PATCH] more fixes for mobiles --- config.cpp | 2 ++ graph.cpp | 5 ----- hud.cpp | 7 +++++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/config.cpp b/config.cpp index 9a988f99..922f86a1 100644 --- a/config.cpp +++ b/config.cpp @@ -306,7 +306,9 @@ void initConfig() { addsaver(vid.linequality, "line quality", 0); + #if CAP_FILES && CAP_SHOT addsaver(anims::animfile, "animation file format"); + #endif addsaver(anims::period, "animation period"); addsaver(anims::noframes, "animation frames"); addsaver(anims::cycle_length, "animation cycle length"); diff --git a/graph.cpp b/graph.cpp index 22b25eac..08c37c54 100644 --- a/graph.cpp +++ b/graph.cpp @@ -5607,11 +5607,6 @@ void drawfullmap() { void gamescreen(int _darken) { - if(ISMOBILE && (cmode & sm::SIDE)) { - cmode ^= sm::SIDE; - _darken += 2; - } - if((cmode & sm::MAYDARK) && !current_display->sidescreen) { _darken += 2; } diff --git a/hud.cpp b/hud.cpp index 236e2a31..cd7f1e07 100644 --- a/hud.cpp +++ b/hud.cpp @@ -352,8 +352,11 @@ void drawStats() { { dynamicval pm(pmodel, mdDisk); - dynamicval v(vid, vid); - vid.alpha = vid.scale = 1; + // dynamicval v(vid, vid); + // vid.alpha = vid.scale = 1; + dynamicval va(vid.alpha, 1); + dynamicval vs(vid.scale, 1); + calcparam(); current_display->set_projection(0, false);