mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-25 01:20:37 +00:00
more fixes for mobiles
This commit is contained in:
parent
8a6d3173bd
commit
52dfd434bb
@ -306,7 +306,9 @@ void initConfig() {
|
|||||||
|
|
||||||
addsaver(vid.linequality, "line quality", 0);
|
addsaver(vid.linequality, "line quality", 0);
|
||||||
|
|
||||||
|
#if CAP_FILES && CAP_SHOT
|
||||||
addsaver(anims::animfile, "animation file format");
|
addsaver(anims::animfile, "animation file format");
|
||||||
|
#endif
|
||||||
addsaver(anims::period, "animation period");
|
addsaver(anims::period, "animation period");
|
||||||
addsaver(anims::noframes, "animation frames");
|
addsaver(anims::noframes, "animation frames");
|
||||||
addsaver(anims::cycle_length, "animation cycle length");
|
addsaver(anims::cycle_length, "animation cycle length");
|
||||||
|
@ -5607,11 +5607,6 @@ void drawfullmap() {
|
|||||||
|
|
||||||
void gamescreen(int _darken) {
|
void gamescreen(int _darken) {
|
||||||
|
|
||||||
if(ISMOBILE && (cmode & sm::SIDE)) {
|
|
||||||
cmode ^= sm::SIDE;
|
|
||||||
_darken += 2;
|
|
||||||
}
|
|
||||||
|
|
||||||
if((cmode & sm::MAYDARK) && !current_display->sidescreen) {
|
if((cmode & sm::MAYDARK) && !current_display->sidescreen) {
|
||||||
_darken += 2;
|
_darken += 2;
|
||||||
}
|
}
|
||||||
|
7
hud.cpp
7
hud.cpp
@ -352,8 +352,11 @@ void drawStats() {
|
|||||||
|
|
||||||
{
|
{
|
||||||
dynamicval<eModel> pm(pmodel, mdDisk);
|
dynamicval<eModel> pm(pmodel, mdDisk);
|
||||||
dynamicval<videopar> v(vid, vid);
|
// dynamicval<videopar> v(vid, vid);
|
||||||
vid.alpha = vid.scale = 1;
|
// vid.alpha = vid.scale = 1;
|
||||||
|
dynamicval<ld> va(vid.alpha, 1);
|
||||||
|
dynamicval<ld> vs(vid.scale, 1);
|
||||||
|
|
||||||
calcparam();
|
calcparam();
|
||||||
current_display->set_projection(0, false);
|
current_display->set_projection(0, false);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user