- 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:
wagic.the.homebrew@gmail.com
2010-07-11 10:56:12 +00:00
parent 672e53d58c
commit fd8645d1a4
12 changed files with 112 additions and 13 deletions

View File

@@ -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.

View File

@@ -1,7 +1,8 @@
#ifndef _JNETWORK_H_
#define _JNETWORK_H_
//Network support for PSP
//#define NETWORK_SUPPORT
#include "JGE.h"
#include <string>