Erwan
- JGE updates : main accepts argv/argc. Compilation variables for MP3 and Network support - Minor fix in Wagic (potentially fixes crashes when using activated abilities several times in onr turn. Couldn't reproduce the issue)
This commit is contained in:
@@ -18,6 +18,8 @@
|
||||
#include <stdarg.h>
|
||||
#include <queue>
|
||||
#include <map>
|
||||
#include <vector>
|
||||
#include <string>
|
||||
|
||||
#include "JTypes.h"
|
||||
|
||||
@@ -96,7 +98,7 @@ class JGE
|
||||
bool mCriticalAssert;
|
||||
const char *mAssertFile;
|
||||
int mAssertLine;
|
||||
|
||||
std::vector<std::string> mArgv;
|
||||
|
||||
static JGE* mInstance;
|
||||
|
||||
@@ -126,6 +128,13 @@ class JGE
|
||||
void Pause();
|
||||
void Resume();
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
/// Return argv.
|
||||
///
|
||||
/// @return argv vector.
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
std::vector<std::string> GetARGV();
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
/// Return system timer in milliseconds.
|
||||
///
|
||||
@@ -278,6 +287,13 @@ class JGE
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
void SetApp(JApp *app);
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
/// Setsn argv.
|
||||
///
|
||||
///
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
void SetARGV(int argc, char * argv[]);
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
/// Print debug message.
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
#ifndef _JNETWORK_H_
|
||||
#define _JNETWORK_H_
|
||||
|
||||
|
||||
//Network support for PSP
|
||||
//#define NETWORK_SUPPORT
|
||||
|
||||
#include "JGE.h"
|
||||
#include <string>
|
||||
|
||||
Reference in New Issue
Block a user