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

Function init

src/SB/Game/zEntPlayerBungeeState.cpp:1436–1453  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1434 }
1435
1436 void init()
1437 {
1438 if ((shared.flags & 0x1) != 0x1)
1439 {
1440 return;
1441 }
1442
1443 shared.flags = 3;
1444 shared.state = NULL;
1445 shared.hook = NULL;
1446
1447 static attaching_state_type attaching_state;
1448 shared.states[0] = &attaching_state;
1449 static hanging_state_type hanging_state;
1450 shared.states[1] = &hanging_state;
1451
1452 init_cache();
1453 }
1454
1455 void destroy()
1456 {

Callers 5

InitMethod · 0.70
initMethod · 0.70
mainFunction · 0.70
zSceneInitFunction · 0.70
zGameInitFunction · 0.70

Calls 1

init_cacheFunction · 0.70

Tested by

no test coverage detected