1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-02-07 10:10:15 +00:00

moving the screen center

This commit is contained in:
Zeno Rogue
2017-12-25 10:26:50 +01:00
parent b35c3a21a4
commit ae70662495
6 changed files with 54 additions and 28 deletions

View File

@@ -5111,6 +5111,9 @@ void calcparam() {
}
if(dronemode) { vid.ycenter -= vid.radius; vid.ycenter += vid.fsize/2; vid.ycenter += vid.fsize/2; vid.radius *= 2; }
vid.xcenter += vid.scrsize * vid.xposition;
vid.ycenter += vid.scrsize * vid.yposition;
ld eye = vid.eye; if(pmodel || rug::rugged) eye = 0;
vid.beta = 1 + vid.alpha + eye;
@@ -5248,6 +5251,9 @@ void gamescreen(int _darken) {
#endif
darken = 0;
if(texture::tstate == texture::tsAdjusting)
texture::drawRawTexture();
}
void normalscreen() {