more fixes for mobiles

This commit is contained in:
Zeno Rogue 2018-12-15 17:54:36 +01:00
parent 8a6d3173bd
commit 52dfd434bb
3 changed files with 7 additions and 7 deletions

View File

@ -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");

View File

@ -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;
}

View File

@ -352,8 +352,11 @@ void drawStats() {
{
dynamicval<eModel> pm(pmodel, mdDisk);
dynamicval<videopar> v(vid, vid);
vid.alpha = vid.scale = 1;
// dynamicval<videopar> v(vid, vid);
// vid.alpha = vid.scale = 1;
dynamicval<ld> va(vid.alpha, 1);
dynamicval<ld> vs(vid.scale, 1);
calcparam();
current_display->set_projection(0, false);