The vendored ocgcore from the Unity repo (Tools/YGOLegacy/ocgcore at dev HEAD). Upstream is nanahira/ygopro-core at 973672dc9ce7cb49f47173277ab1ad0e318b7593; the seven files that differ from it carry the fork's core patches, already applied: 0001 face-down Token setcode, 0004 effect damage step outside a chain, 0008 Sandbox god mode, 0015 tag first seat holds the hand, 0022 attack preview, 0024 attack preview legality. Generated build/ output is left out. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
25 lines
400 B
C++
25 lines
400 B
C++
/*
|
|
* group.cpp
|
|
*
|
|
* Created on: 2010-8-3
|
|
* Author: Argon
|
|
*/
|
|
|
|
#include "group.h"
|
|
#include "card.h"
|
|
#include "duel.h"
|
|
|
|
group::group(duel* pd) {
|
|
pduel = pd;
|
|
it = container.begin();
|
|
}
|
|
group::group(duel* pd, card* pcard) {
|
|
container.insert(pcard);
|
|
pduel = pd;
|
|
it = container.begin();
|
|
}
|
|
group::group(duel* pd, const card_set& cset): container(cset) {
|
|
pduel = pd;
|
|
it = container.begin();
|
|
}
|