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:
@@ -79,7 +79,7 @@ void GameStateShop::Start(){
|
||||
MTGAllCards * ac = GameApp::collection;
|
||||
playerdata = NEW PlayerData(ac);
|
||||
myCollection = NEW DeckDataWrapper(playerdata->collection);
|
||||
pricelist = NEW PriceList(RESPATH"/settings/prices.dat",ac);
|
||||
pricelist = NEW PriceList(JGE_GET_RES("settings/prices.dat").c_str(),ac);
|
||||
for(int i=0;i<SHOP_SLOTS;i++){
|
||||
WGuiCardDistort * dist;
|
||||
if(i < BOOSTER_SLOTS)
|
||||
|
||||
Reference in New Issue
Block a user