mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-13 21:40:00 -08:00
Continuumatrice: add Limbo Refuge Oblivion support to player_logic.cpp
This commit is contained in:
parent
5ccfbf7a23
commit
034b7189e3
1 changed files with 4 additions and 0 deletions
|
|
@ -54,6 +54,9 @@ void PlayerLogic::initializeZones()
|
||||||
addZone(new PileZoneLogic(this, ZoneNames::DECK, false, true, false, this));
|
addZone(new PileZoneLogic(this, ZoneNames::DECK, false, true, false, this));
|
||||||
addZone(new PileZoneLogic(this, ZoneNames::GRAVE, false, false, true, this));
|
addZone(new PileZoneLogic(this, ZoneNames::GRAVE, false, false, true, this));
|
||||||
addZone(new PileZoneLogic(this, ZoneNames::EXILE, false, false, true, this));
|
addZone(new PileZoneLogic(this, ZoneNames::EXILE, false, false, true, this));
|
||||||
|
addZone(new PileZoneLogic(this, ZoneNames::LIMBO, false, false, true, this));
|
||||||
|
addZone(new PileZoneLogic(this, ZoneNames::REFUGE, false, false, true, this));
|
||||||
|
addZone(new PileZoneLogic(this, ZoneNames::OBLIVION, false, false, true, this));
|
||||||
addZone(new PileZoneLogic(this, ZoneNames::SIDEBOARD, false, false, false, this));
|
addZone(new PileZoneLogic(this, ZoneNames::SIDEBOARD, false, false, false, this));
|
||||||
addZone(new TableZoneLogic(this, ZoneNames::TABLE, true, false, true, this));
|
addZone(new TableZoneLogic(this, ZoneNames::TABLE, true, false, true, this));
|
||||||
addZone(new StackZoneLogic(this, ZoneNames::STACK, true, false, true, this));
|
addZone(new StackZoneLogic(this, ZoneNames::STACK, true, false, true, this));
|
||||||
|
|
@ -111,6 +114,7 @@ void PlayerLogic::processPlayerInfo(const ServerInfo_Player &info)
|
||||||
{
|
{
|
||||||
static QSet<QString> builtinZones{/* PileZones */
|
static QSet<QString> builtinZones{/* PileZones */
|
||||||
ZoneNames::DECK, ZoneNames::GRAVE, ZoneNames::EXILE, ZoneNames::SIDEBOARD,
|
ZoneNames::DECK, ZoneNames::GRAVE, ZoneNames::EXILE, ZoneNames::SIDEBOARD,
|
||||||
|
ZoneNames::LIMBO, ZoneNames::REFUGE, ZoneNames::OBLIVION,
|
||||||
/* TableZone */
|
/* TableZone */
|
||||||
ZoneNames::TABLE,
|
ZoneNames::TABLE,
|
||||||
/* StackZone */
|
/* StackZone */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue