diff --git a/hyperroid/app/src/main/jni/hyper.cpp b/hyperroid/app/src/main/jni/hyper.cpp index 4c9b4143..ddbd37a6 100644 --- a/hyperroid/app/src/main/jni/hyper.cpp +++ b/hyperroid/app/src/main/jni/hyper.cpp @@ -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++]; } +#include +#include + +namespace hr { void gdpush(int t); -#include void shareScore(MOBPAR_FORMAL); const char *scorefile, *conffile; -#include std::string levelfile, picfile; bool settingsChanged = false; struct transmatrix getOrientation(); +} #include "/home/eryx/proj/rogue/hyper/init.cpp" +using namespace hr; + // #define delref env->DeleteLocalRef(_thiz) int semaphore = 0;