1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-26 03:17:39 +00:00

updated to 10.0c

This commit is contained in:
Zeno Rogue
2017-07-23 01:33:27 +02:00
parent ce5650a81f
commit 8cb8e2a3ec
45 changed files with 2384 additions and 1359 deletions

View File

@@ -3,15 +3,7 @@
// basic utility functions
#ifdef MOBWEB
#define MWP
#endif
#ifdef PANDORA
#define MWP
#endif
#ifdef MWP
#if ISMOBILE || ISWEB || ISPANDORA
typedef double ld;
#define LDF "%lf"
#define PLDF "lf"
@@ -50,7 +42,7 @@ string itsh(int i) {static char buf[16]; sprintf(buf, "%03X", i); return buf; }
extern FILE *debugfile;
extern int debugflags;
#ifdef ANDROID
#if ISANDROID
#define DEBB(r,x)
#else
#define DEBB(r,x) { if(debugfile && (!(r) || (debugflags & (r)))) { fprintf x; fflush(debugfile); } }
@@ -63,7 +55,7 @@ extern int debugflags;
#define DF_TURN 4
#define DF_FIELD 8
#ifdef PROFILING
#if CAP_PROFILING
#include <sys/time.h>
long long getms() {