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

Function zEntTeleportBox_Load

src/SB/Game/zEntTeleportBox.cpp:374–391  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

372}
373
374void zEntTeleportBox_Load(_zEntTeleportBox* ent, xSerial* s)
375{
376 zEntLoad(ent, s);
377
378 S32 open = 0;
379 s->Read_b1(&open);
380
381 if (open)
382 {
383 zEntTeleportBox_Open(ent);
384 }
385 else
386 {
387 zEntTeleportBox_Close(ent);
388 }
389
390 s->Read(&ent->currPlrState);
391}
392
393void zEntTeleportBox_Open(_zEntTeleportBox* ent)
394{

Callers 1

zSceneLoadFunction · 0.70

Calls 5

zEntLoadFunction · 0.85
zEntTeleportBox_OpenFunction · 0.85
zEntTeleportBox_CloseFunction · 0.85
Read_b1Method · 0.80
ReadMethod · 0.80

Tested by

no test coverage detected