mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-13 14:02:15 -07:00
Deck legality checker.
Took 51 seconds Took 1 minute Took 1 minute Took 5 minutes Took 3 minutes
This commit is contained in:
parent
2e2682aad4
commit
3f06c848e1
31 changed files with 921 additions and 27 deletions
|
|
@ -49,7 +49,8 @@ public:
|
|||
/**
|
||||
* @brief Save sets and cards back to an XML4 file.
|
||||
*/
|
||||
bool saveToFile(SetNameMap _sets,
|
||||
bool saveToFile(FormatRulesNameMap _formats,
|
||||
SetNameMap _sets,
|
||||
CardNameMap cards,
|
||||
const QString &fileName,
|
||||
const QString &sourceUrl = "unknown",
|
||||
|
|
@ -72,6 +73,7 @@ private:
|
|||
*/
|
||||
void loadCardsFromXml(QXmlStreamReader &xml);
|
||||
|
||||
void loadFormats(QXmlStreamReader &xml);
|
||||
/**
|
||||
* @brief Load all <set> elements from the XML stream.
|
||||
* @param xml The open QXmlStreamReader positioned at the <sets> element.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue