1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-23 21:07:17 +00:00

changes to compile on Android/iOS

This commit is contained in:
Zeno Rogue 2017-10-17 20:36:36 +02:00
parent ca007b70cf
commit ee14b3035f
3 changed files with 3 additions and 3 deletions

View File

@ -455,7 +455,7 @@ string buildScoreDescription() {
s += XLAT("HyperRogue for Android");
s += " ( " VER "), http://www.roguetemple.com/z/hyper/\n";
s += XLAT("Date: %1 time: %2 s ", buf, getgametime());
s += XLAT("Date: %1 time: %2 s ", buf, getgametime_s());
s += XLAT("distance: %1\n", its(celldist(cwt.c)));
// s += buf2;
if(cheater) s += XLAT("Cheats: ") + its(cheater) + "\n";

View File

@ -406,7 +406,7 @@ void drawpolyline(const polytodraw& p) {
#endif
#if CAP_XGD==1
gdpush(1); gdpush(col); gdpush(outline); gdpush(polyi);
gdpush(1); gdpush(p.col); gdpush(pp.outline); gdpush(polyi);
for(int i=0; i<polyi; i++) gdpush(polyx[i]), gdpush(polyy[i]);
#elif CAP_SDLGFX==1
filledPolygonColorI(s, polyx, polyy, polyi, p.col);

View File

@ -3321,7 +3321,7 @@ void clearMonsters() {
void clearMemory() {
clearMonsters();
gmatrix.clear();
traplist = {};
while(!traplist.empty()) traplist.pop();
curtime = 0;
nextmove = 0;
nextdragon = 0;