Created
August 19, 2015 12:27
-
-
Save Vavius/aeaf807717518726801e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <moai-core/host.h> | |
#include <moai-android/moaiext-jni.h> | |
#include <jni.h> | |
#include "game_script.h" | |
#include "crash_handler.h" | |
void AKURunGame () { | |
AKULoadFuncFromBuffer ( crash_handler, crash_handler_SIZE, AKU_DATA_STRING, AKU_DATA_ZIPPED ); | |
AKUCallFunc (); | |
AKULoadFuncFromBuffer ( game_script, game_script_SIZE, AKU_DATA_STRING, AKU_DATA_ZIPPED ); | |
AKUCallFunc (); | |
} | |
extern "C" void Java_com_ziplinegames_moai_Moai_AKURunGame ( JNIEnv* env, jclass obj ) { | |
AKURunGame (); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment