quick fix for Endy's code - should be redone properly later
svn-id: r6186
This commit is contained in:
parent
1dab4170a9
commit
e744697dbd
1 changed files with 4 additions and 3 deletions
|
@ -280,10 +280,10 @@ public:
|
||||||
int scummLoop(int delta);
|
int scummLoop(int delta);
|
||||||
void initScummVars();
|
void initScummVars();
|
||||||
|
|
||||||
const char *getResDataPath() const {return _gameDataPath;}
|
const char *getResDataPath() const { return _gameDataPath; }
|
||||||
const char *getGameDataPath() const {
|
const char *getGameDataPath() const {
|
||||||
if (_features & GF_AFTER_V8) {
|
if (_features & GF_AFTER_V8) {
|
||||||
char resourcePath[255];
|
static char resourcePath[256];
|
||||||
sprintf(resourcePath, "%s/resource", _gameDataPath);
|
sprintf(resourcePath, "%s/resource", _gameDataPath);
|
||||||
return resourcePath;
|
return resourcePath;
|
||||||
}
|
}
|
||||||
|
@ -294,13 +294,13 @@ public:
|
||||||
void shutDown(int i);
|
void shutDown(int i);
|
||||||
void setOptions(void);
|
void setOptions(void);
|
||||||
|
|
||||||
|
|
||||||
// GUI
|
// GUI
|
||||||
NewGui *_newgui;
|
NewGui *_newgui;
|
||||||
|
|
||||||
Dialog *_pauseDialog;
|
Dialog *_pauseDialog;
|
||||||
Dialog *_optionsDialog;
|
Dialog *_optionsDialog;
|
||||||
Dialog *_saveLoadDialog;
|
Dialog *_saveLoadDialog;
|
||||||
|
// Debugger access this one, too...
|
||||||
ConsoleDialog *_debuggerDialog;
|
ConsoleDialog *_debuggerDialog;
|
||||||
|
|
||||||
int runDialog(Dialog *dialog);
|
int runDialog(Dialog *dialog);
|
||||||
|
@ -322,6 +322,7 @@ public:
|
||||||
/* Random number generation */
|
/* Random number generation */
|
||||||
RandomSource _rnd;
|
RandomSource _rnd;
|
||||||
|
|
||||||
|
|
||||||
/* Core variable definitions */
|
/* Core variable definitions */
|
||||||
byte _gameId;
|
byte _gameId;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue