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

Function xBaseLoad

src/SB/Core/x/xBase.cpp:31–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29}
30
31void xBaseLoad(xBase* ent, xSerial* s)
32{
33 S32 b = 0;
34 s->Read_b1(&b);
35
36 if (b)
37 {
38 xBaseEnable(ent);
39 }
40 else
41 {
42 xBaseDisable(ent);
43 }
44}
45
46void xBaseReset(xBase* xb, xBaseAsset* asset)
47{

Callers 15

xGroupLoadFunction · 0.70
xMovePointLoadFunction · 0.70
xSFXLoadFunction · 0.70
LoadMethod · 0.70
xTimerLoadFunction · 0.70
xCounterLoadFunction · 0.70
xFogLoadFunction · 0.70
xEntLoadFunction · 0.70
xSurfaceLoadFunction · 0.70
zCamMarkerLoadFunction · 0.50
zCameraFly_LoadFunction · 0.50
zPortalLoadFunction · 0.50

Calls 3

xBaseEnableFunction · 0.85
xBaseDisableFunction · 0.85
Read_b1Method · 0.80

Tested by

no test coverage detected