1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-02 16:29:54 +00:00

radius is now ld not int

This commit is contained in:
Zeno Rogue 2018-10-26 21:05:59 +02:00
parent 66910c757f
commit acad978637
2 changed files with 2 additions and 2 deletions

View File

@ -5452,7 +5452,7 @@ void calcparam() {
if(vid.scale > -1e-2 && vid.scale < 1e-2) vid.scale = 1; if(vid.scale > -1e-2 && vid.scale < 1e-2) vid.scale = 1;
int realradius = min(vid.xcenter, vid.ycenter); ld realradius = min(vid.xcenter, vid.ycenter);
vid.scrsize = realradius - (inHighQual ? 0 : ISANDROID ? 2 : ISIOS ? 40 : 40); vid.scrsize = realradius - (inHighQual ? 0 : ISANDROID ? 2 : ISIOS ? 40 : 40);

View File

@ -1002,7 +1002,7 @@ struct videopar {
// paramaters calculated from the above // paramaters calculated from the above
int xcenter, ycenter; int xcenter, ycenter;
int radius; ld radius;
int scrsize; int scrsize;
bool grid; bool grid;