Erwan
- fix issue 392 (broken tests) - Fix a bunch of memory leaks (guys please be careful!) - Added Logging facility in JGE - HBL Compatibility (cleaned up some code with MP3 in JGE) - Added "winGame" ability. Currently used mostly by the story mode, but some cards could probably need it too - Improved story mode and uncommented it from the source. -- The current campaign is of course very basic, anybody who wants to improve it or create other ones feel free to do so -- TODO (short term): save progress, rewards system, improve tutorial campaign -- I'll talk a bit more about this on the forums/email after a night of sleep
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
#include "../../JGE/include/JApp.h"
|
||||
#include "../../JGE/include/JGameLauncher.h"
|
||||
#include "../../JGE/include/JRenderer.h"
|
||||
#include "../../JGE/include/JLogger.h"
|
||||
|
||||
|
||||
#ifndef JGEApp_Title
|
||||
@@ -360,8 +361,10 @@ void Run()
|
||||
// The main loop
|
||||
int main()
|
||||
{
|
||||
JLOG("SetupCallbacks()");
|
||||
SetupCallbacks();
|
||||
#ifdef DEVHOOK
|
||||
JLOG("initExceptionHandler()");
|
||||
initExceptionHandler();
|
||||
#endif
|
||||
g_engine = NULL;
|
||||
@@ -372,12 +375,16 @@ int main()
|
||||
if ((flags&JINIT_FLAG_ENABLE3D) != 0)
|
||||
JRenderer::Set3DFlag(true);
|
||||
|
||||
JLOG("sceRtcGetTickResolution()");
|
||||
gTickFrequency = sceRtcGetTickResolution();
|
||||
JLOG("JGE::GetInstance()");
|
||||
g_engine = JGE::GetInstance();
|
||||
|
||||
JLOG("Create Game");
|
||||
game = launcher->GetGameApp();
|
||||
game->Create();
|
||||
|
||||
JLOG("Run Game");
|
||||
g_engine->SetApp(game);
|
||||
g_engine->Run();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user