mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-27 14:37:16 +00:00
changes to compile on Android/iOS
This commit is contained in:
parent
ca007b70cf
commit
ee14b3035f
2
init.cpp
2
init.cpp
@ -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";
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user