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:
@@ -55,7 +55,7 @@ void GameStateStory::loadStoriesMenu(const char * root){
|
||||
void GameStateStory::Start() {
|
||||
flow = NULL;
|
||||
menu = NULL;
|
||||
loadStoriesMenu( RESPATH"/campaigns/");
|
||||
loadStoriesMenu(JGE_GET_RES("campaigns/").c_str());
|
||||
}
|
||||
|
||||
void GameStateStory::Update(float dt) {
|
||||
|
||||
Reference in New Issue
Block a user