1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-21 08:57:39 +00:00

CAP_TOUR guards added, more exported in hyper.h, general cleanup

This commit is contained in:
Zeno Rogue
2018-02-08 22:27:12 +01:00
parent 6c5ce655bb
commit 2a59ff7ab2
12 changed files with 101 additions and 53 deletions

View File

@@ -68,22 +68,6 @@ ld frac(ld x) {
// debug utilities
extern FILE *debugfile;
extern int debugflags;
#if ISANDROID
#define DEBB(r,x)
#else
#define DEBB(r,x) { if(debugfile && (!(r) || (debugflags & (r)))) { fprintf x; fflush(debugfile); } }
#endif
#define DF_INIT 0 // always display these
#define DF_MSG 0 // always display these
#define DF_STEAM 1
#define DF_GRAPH 2
#define DF_TURN 4
#define DF_FIELD 8
#if CAP_PROFILING
#include <sys/time.h>