mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-07-30 14:22:48 +00:00
hr:: namespaces in the Android version
This commit is contained in:
parent
adb65430a6
commit
147f3f89f2
@ -48,21 +48,26 @@ void Xprintf(const char *fmt, T... t) {
|
|||||||
while(i > last_cr) android_log_buf[android_log_bufpos++] = android_log_buf[last_cr++];
|
while(i > last_cr) android_log_buf[android_log_bufpos++] = android_log_buf[last_cr++];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#include <jni.h>
|
||||||
|
#include <string>
|
||||||
|
|
||||||
|
namespace hr {
|
||||||
void gdpush(int t);
|
void gdpush(int t);
|
||||||
|
|
||||||
#include <jni.h>
|
|
||||||
void shareScore(MOBPAR_FORMAL);
|
void shareScore(MOBPAR_FORMAL);
|
||||||
|
|
||||||
const char *scorefile, *conffile;
|
const char *scorefile, *conffile;
|
||||||
#include <string>
|
|
||||||
std::string levelfile, picfile;
|
std::string levelfile, picfile;
|
||||||
|
|
||||||
bool settingsChanged = false;
|
bool settingsChanged = false;
|
||||||
|
|
||||||
struct transmatrix getOrientation();
|
struct transmatrix getOrientation();
|
||||||
|
}
|
||||||
|
|
||||||
#include "/home/eryx/proj/rogue/hyper/init.cpp"
|
#include "/home/eryx/proj/rogue/hyper/init.cpp"
|
||||||
|
|
||||||
|
using namespace hr;
|
||||||
|
|
||||||
// #define delref env->DeleteLocalRef(_thiz)
|
// #define delref env->DeleteLocalRef(_thiz)
|
||||||
|
|
||||||
int semaphore = 0;
|
int semaphore = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user