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

Method Init

src/SB/Game/zNPCTypePrawn.cpp:628–640  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

626}
627
628void zNPCPrawn::Init(xEntAsset* a)
629{
630 boss_cam.init();
631 init_sound();
632 zNPCCommon::Init(a);
633 memset(&this->flag, 0, 1);
634 this->flg_move = 1;
635 this->flg_vuln = 0x11;
636 this->chkby = 0x10;
637 this->penby = 0x10;
638 this->beam.load(this->beam.cfg, xStrHash("glow_ring_add.dff"));
639 closeup.create(0x100, 0x100);
640}
641
642void zNPCPrawn::Destroy()
643{

Callers

nothing calls this directly

Calls 7

memsetFunction · 0.85
init_soundFunction · 0.70
InitFunction · 0.50
xStrHashFunction · 0.50
initMethod · 0.45
loadMethod · 0.45
createMethod · 0.45

Tested by

no test coverage detected