* Change the name of debug.h into config.h and use the new RESPATH define.
This commit is contained in:
jean.chalard
2008-12-25 16:28:03 +00:00
parent 161da1d3cb
commit 3e9ff2b580
61 changed files with 191 additions and 178 deletions

View File

@@ -1,5 +1,5 @@
#include "../include/debug.h"
#include "../include/config.h"
#include <JGE.h>
#include <JRenderer.h>
#if defined (WIN32) || defined (LINUX)
@@ -62,13 +62,13 @@ void GameApp::Create()
LOG("starting Game");
//Test for Music files presence
std::ifstream file("Res/sound/Track0.mp3");
std::ifstream file(RESPATH"/sound/Track0.mp3");
if(file){
file.close();
}else{
HasMusic = 0;
}
std::ifstream file2("Res/sound/Track1.mp3");
std::ifstream file2(RESPATH"/sound/Track1.mp3");
if(file2){
file2.close();
}else{