mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +00:00
Ensure editions linked to cards properly
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -90,9 +90,12 @@ forge-gui/target
|
||||
forge-gui/tools/PerSetTrackingResults
|
||||
forge-gui/tools/oracleScript.log
|
||||
forge-m-android/bin
|
||||
forge-m-android/target
|
||||
forge-m-base/bin
|
||||
forge-m-base/target
|
||||
forge-m-desktop/bin
|
||||
forge-m-desktop/res
|
||||
forge-m-desktop/target
|
||||
forge-net/target
|
||||
/forge.profile.properties
|
||||
/nbactions.xml
|
||||
|
||||
@@ -86,7 +86,7 @@ public class Forge implements ApplicationListener {
|
||||
}
|
||||
};
|
||||
final CardStorageReader reader = new CardStorageReader(Constants.CARD_DATA_DIR, progressBarBridge, null);
|
||||
magicDb = new StaticData(reader, "res/editions", "res/blockdata");
|
||||
magicDb = new StaticData(reader, Constants.EDITIONS_DIR, Constants.BLOCK_DATA_DIR);
|
||||
|
||||
bar.setDescription("Opening main window...");
|
||||
|
||||
|
||||
@@ -40,12 +40,12 @@ public class MatchController {
|
||||
|
||||
// It's important to run match in a different thread to allow GUI inputs to be invoked from inside game.
|
||||
// Game is set on pause while gui player takes decisions
|
||||
game.getAction().invoke(new Runnable() {
|
||||
/*game.getAction().invoke(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
match.startGame(game);
|
||||
}
|
||||
});
|
||||
});*/
|
||||
}
|
||||
|
||||
public final void endCurrentGame() {
|
||||
|
||||
@@ -44,6 +44,8 @@ public final class Constants {
|
||||
public static final String PRICES_BOOSTER_FILE = _QUEST_DIR + "booster-prices.txt";
|
||||
public static final String BAZAAR_FILE = _QUEST_DIR + "bazaar/index.xml";
|
||||
public static final String CARD_DATA_DIR = _ASSETS_ROOT + "cardsfolder/";
|
||||
public static final String EDITIONS_DIR = _ASSETS_ROOT + "editions/";
|
||||
public static final String BLOCK_DATA_DIR = _ASSETS_ROOT + "blockdata/";
|
||||
public static final String DECK_CUBE_DIR = _ASSETS_ROOT + "cube";
|
||||
public static final String QUEST_WORLD_DIR = _QUEST_DIR + "worlds/";
|
||||
public static final String QUEST_PRECON_DIR = _QUEST_DIR + "precons/";
|
||||
|
||||
Reference in New Issue
Block a user