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

Function xEntLoad

src/SB/Core/x/xEnt.cpp:637–654  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

635}
636
637void xEntLoad(xEnt* ent, xSerial* s)
638{
639 S32 b;
640
641 xBaseLoad(ent, s);
642
643 b = 0;
644 s->Read_b1(&b);
645
646 if (b)
647 {
648 xEntShow(ent);
649 }
650 else
651 {
652 xEntHide(ent);
653 }
654}
655
656void xEntReset(xEnt* ent)
657{

Callers 1

zEntLoadFunction · 0.50

Calls 4

xEntShowFunction · 0.85
xEntHideFunction · 0.85
Read_b1Method · 0.80
xBaseLoadFunction · 0.70

Tested by

no test coverage detected