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

Method Subscribe

src/SB/Game/zNPCSpawner.cpp:73–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71}
72
73void zNPCSpawner::Subscribe(zNPCCommon* owner)
74{
75 this->npc_owner = owner;
76 this->tym_delay = _805_Spawner;
77 this->max_spawn = -1;
78 this->wavestat = SM_STAT_BEGIN;
79 XOrdInit(&this->pendlist, 0x10, 0);
80 XOrdInit(&this->actvlist, 0x10, 0);
81}
82
83void zNPCSpawner::SetWaveMode(en_SM_WAVE_MODE mode, F32 delay, S32 lifemax)
84{

Callers 15

SelfSetupMethod · 0.45
SelfSetupMethod · 0.45
SelfSetupMethod · 0.45
SelfSetupMethod · 0.45
SelfSetupMethod · 0.45
SelfSetupMethod · 0.45
SelfSetupMethod · 0.45
SelfSetupMethod · 0.45
make_spawnerMethod · 0.45
SelfSetupMethod · 0.45
SelfSetupMethod · 0.45
SelfSetupMethod · 0.45

Calls 1

XOrdInitFunction · 0.85

Tested by

no test coverage detected