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

Method Init

src/SB/Game/zNPCTypeBossPlankton.cpp:1058–1073  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1056}
1057
1058void zNPCBPlankton::Init(xEntAsset* asset) //66%
1059{
1060 ::init_sound();
1061 zNPCCommon::Init(asset);
1062 flg_move = 1;
1063 flg_vuln = 1;
1064 xNPCBasic::RestoreColFlags();
1065 territory_size = 0;
1066 played_intro = 0;
1067 zNPCBPlankton::init_beam();
1068 xAnimPlay* play = 0;
1069
1070 // Is being called incorrectly.
1071 // play is a temp fix to get it to build
1072 zNPCBPlankton::aim_gun(play, &gun_tilt, &move.dest, 0);
1073}
1074
1075void zNPCBPlankton::Setup()
1076{

Callers

nothing calls this directly

Calls 3

aim_gunFunction · 0.85
init_soundFunction · 0.70
InitFunction · 0.50

Tested by

no test coverage detected