Home
last modified time | relevance | path

Searched refs:relatedCards (Results 1 – 9 of 9) sorted by relevance

/dports/games/cockatrice/Cockatrice-2021-01-26-Release-2.8.0/cockatrice/src/
H A Dcardinfotext.cpp51 auto relatedCards = card->getAllRelatedCards(); in setCard() local
52 if (!relatedCards.empty()) { in setCard()
55 for (auto *relatedCard : relatedCards) { in setCard()
H A Dcarddatabase.h166 QList<CardRelation *> relatedCards; variable
280 return relatedCards; in getRelatedCards()
H A Dplayer.cpp1309 auto relatedCards = sourceCard->getInfo()->getAllRelatedCards(); in actCreateRelatedCard() local
1329 auto relatedCards = sourceCard->getInfo()->getAllRelatedCards(); in actCreateAllRelatedCards() local
1330 if (relatedCards.isEmpty()) { in actCreateAllRelatedCards()
1337 if (relatedCards.length() == 1) { in actCreateAllRelatedCards()
1338 cardRelation = relatedCards.at(0); in actCreateAllRelatedCards()
1345 for (CardRelation *cardRelationTemp : relatedCards) { in actCreateAllRelatedCards()
3151 for (const CardRelation *cardRelation : relatedCards) { in addRelatedCardView()
3166 for (const CardRelation *relatedCard : relatedCards) { in addRelatedCardView()
3184 if (relatedCards.isEmpty()) { in addRelatedCardActions()
3191 for (const CardRelation *cardRelation : relatedCards) { in addRelatedCardActions()
[all …]
H A Dtab_deck_editor.cpp473 auto relatedCards = info->getAllRelatedCards(); in databaseCustomMenu() local
474 if (relatedCards.isEmpty()) { in databaseCustomMenu()
477 for (const CardRelation *rel : relatedCards) { in databaseCustomMenu()
H A Dcarddatabase.cpp230 …: name(_name), text(_text), isToken(_isToken), properties(std::move(_properties)), relatedCards(_r… in CardInfo()
/dports/games/cockatrice/Cockatrice-2021-01-26-Release-2.8.0/oracle/src/
H A Doracleimporter.cpp101 QList<CardRelation *> &relatedCards, in addCard() argument
170 …CardInfoPtr newCard = CardInfo::newInstance(name, text, isToken, properties, relatedCards, reverse… in addCard()
210 QList<CardRelation *> relatedCards; in importCardsFromSet() local
353 relatedCards.clear(); in importCardsFromSet()
362 relatedCards.append(new CardRelation(additionalName, true)); in importCardsFromSet()
367 relatedCards.append(new CardRelation(additionalName, true)); in importCardsFromSet()
374 …rdInfoPtr newCard = addCard(name + numComponent, text, isToken, properties, relatedCards, setInfo); in importCardsFromSet()
391 relatedCards.clear(); in importCardsFromSet()
427 CardInfoPtr newCard = addCard(nameSplit, text, isToken, properties, relatedCards, setInfo); in importCardsFromSet()
H A Doracleimporter.h103 QList<CardRelation *> &relatedCards,
/dports/games/cockatrice/Cockatrice-2021-01-26-Release-2.8.0/cockatrice/src/carddbparser/
H A Dcockatricexml4.cpp130 QList<CardRelation *> relatedCards, reverseRelatedCards; in loadCardsFromXml() local
206 relatedCards << relation; in loadCardsFromXml()
215 … CardInfoPtr newCard = CardInfo::newInstance(name, text, isToken, properties, relatedCards, in loadCardsFromXml()
H A Dcockatricexml3.cpp154 QList<CardRelation *> relatedCards, reverseRelatedCards; in loadCardsFromXml() local
255 relatedCards << relation; in loadCardsFromXml()
265 … CardInfoPtr newCard = CardInfo::newInstance(name, text, isToken, properties, relatedCards, in loadCardsFromXml()