mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-11 00:24:47 -07:00
XML card database
This commit is contained in:
parent
a3f6adddc9
commit
b8bf18801f
5 changed files with 126 additions and 94 deletions
|
|
@ -228,9 +228,9 @@ MainWindow::MainWindow(QWidget *parent)
|
|||
QPixmapCache::setCacheLimit(200000);
|
||||
|
||||
db = new CardDatabase;
|
||||
db->loadFromFile("../cards.dat");
|
||||
db->loadFromFile("../cards.xml");
|
||||
// db->importOracleDir();
|
||||
// db->saveToFile("../cards.dat");
|
||||
// db->saveToFile("../cards.xml");
|
||||
|
||||
scene = new QGraphicsScene(0, 0, 1096, 1160, this);
|
||||
view = new GameView(scene);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue