1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-24 17:10:36 +00:00

use checktide always when sightrange>7

This commit is contained in:
Zeno Rogue 2018-01-29 16:28:06 +01:00
parent 485a77a5f6
commit 1d5259c074
3 changed files with 4 additions and 1 deletions

View File

@ -813,6 +813,7 @@ void displayabutton(int px, int py, string s, int col) {
#endif
void gmodekeys(int sym, int uni) {
if(rug::rugged) rug::handlekeys(sym, uni);
if(uni == '1' && !rug::rugged) { vid.alpha = 999; vid.scale = 998; vid.xposition = vid.yposition = 0; }
if(uni == '2' && !rug::rugged) { vid.alpha = 1; vid.scale = 0.4; vid.xposition = vid.yposition = 0; }
if(uni == '3' && !rug::rugged) { vid.alpha = 1; vid.scale = 1; vid.xposition = vid.yposition = 0; }

View File

@ -3415,7 +3415,7 @@ void drawcell(cell *c, transmatrix V, int spinv, bool mirrored) {
viewBuggyCells(c,V);
if(conformal::on || inHighQual) checkTide(c);
if(conformal::on || inHighQual || sightrange > 7) checkTide(c);
// save the player's view center
if(isPlayerOn(c) && !shmup::on) {

View File

@ -94,6 +94,8 @@ struct rugpoint {
}
};
rugpoint *chosen;
struct triangle {
rugpoint *m[3];
triangle(rugpoint *m1, rugpoint *m2, rugpoint *m3) {