MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / MasterTellSlaves

Method MasterTellSlaves

src/SB/Game/zTalkBox.cpp:1530–1548  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1528 }
1529}
1530void ztalkbox::MasterTellSlaves(S32 isBeginning)
1531{
1532 for (S32 i = 0; i < (S32)linkCount; i++)
1533 {
1534 xLinkAsset* link = &this->link[i];
1535
1536 if (link->dstEvent == 0x133)
1537 {
1538 xSceneID2Name(globals.sceneCur, id);
1539 xSceneID2Name(globals.sceneCur, link->dstAssetID);
1540
1541 xBase* mychild = zSceneFindObject(link->dstAssetID);
1542 if (mychild)
1543 {
1544 MasterLoveSlave(mychild, isBeginning);
1545 }
1546 }
1547 }
1548}
1549void ztalkbox::MasterLoveSlave(xBase* slave, S32 starting)
1550{
1551 switch (slave->baseType)

Callers 1

stopFunction · 0.80

Calls 3

xSceneID2NameFunction · 0.85
zSceneFindObjectFunction · 0.85
MasterLoveSlaveFunction · 0.85

Tested by

no test coverage detected