Erwan
- Added a possibility to put a file "Res.txt" instead of the folder "Res". The file Res.txt is a simple 1 line text file, telling where to find the Res folder, terminated by "/". For example: "../../wagic_res". This addresses issue 428 . This could also help us in the future, to develop mods.
This commit is contained in:
@@ -10,7 +10,7 @@ using std::string;
|
||||
#include "SimplePad.h"
|
||||
#include "GameApp.h"
|
||||
|
||||
#define GLOBAL_SETTINGS RESPATH"/settings/options.txt"
|
||||
#define GLOBAL_SETTINGS "settings/options.txt"
|
||||
#define PLAYER_SAVEFILE "data.dat"
|
||||
#define PLAYER_SETTINGS "options.txt"
|
||||
#define PLAYER_COLLECTION "collection.dat"
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
#define _LOGGER_H_
|
||||
|
||||
//TODO Remove this and use the jge logging facility (same system)
|
||||
//#define DOLOG
|
||||
#define DOLOG
|
||||
|
||||
#ifdef DOLOG
|
||||
#define LOG_FILE RESPATH"/debug.txt"
|
||||
#define LOG_FILE "debug.txt"
|
||||
|
||||
class Logger{
|
||||
public:
|
||||
|
||||
@@ -16,5 +16,6 @@
|
||||
#include <assert.h>
|
||||
|
||||
#include "JGE.h"
|
||||
#include "JFileSystem.h"
|
||||
|
||||
#endif //PRECOMPILEDHEADER_H
|
||||
@@ -9,7 +9,7 @@ using namespace std;
|
||||
#include <JGui.h>
|
||||
class GameObserver;
|
||||
class MTGDeck;
|
||||
#define CAMPAIGNS_FOLDER "Res/campaigns/"
|
||||
#define CAMPAIGNS_FOLDER "campaigns/"
|
||||
|
||||
|
||||
class StoryDialogElement:public JGuiObject {
|
||||
|
||||
Reference in New Issue
Block a user