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

Method ModelAtomicShow

src/SB/Game/zNPCTypeCommon.cpp:2640–2650  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2638}
2639
2640xModelInstance* zNPCCommon::ModelAtomicShow(S32 index, xModelInstance* mdl)
2641{
2642 xModelInstance* minst = mdl ? mdl : this->ModelAtomicFind(index, -1, NULL);
2643 if (!minst)
2644 return minst;
2645
2646 minst->Flags |= 0x2;
2647 minst->Flags |= 0x1;
2648
2649 return minst;
2650}
2651
2652xModelInstance* zNPCCommon::ModelAtomicFind(S32 index, S32 idx_prev, xModelInstance* mdl_prev)
2653{

Callers 5

EnterMethod · 0.80
ProcessMethod · 0.80
ExitMethod · 0.80
ResetMethod · 0.80
VFXCycleLightsMethod · 0.80

Calls 1

ModelAtomicFindMethod · 0.95

Tested by

no test coverage detected