core: import the rules core (ygopro-core 973672dc + fork patches)
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>
This commit is contained in:
commit
26f9baf9b4
47 files changed
+40899
No files matched your search
@@ -0,0 +1,24 @@
|
||||
/*
|
||||
* 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();
|
||||
}
|
||||
Reference in new issue
Block a user