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

Method WipeIt

src/SB/Game/zNPCHazard.cpp:161–172  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

159}
160
161void NPCHazard::WipeIt()
162{
163 this->typ_hazard = NPC_HAZ_UNKNOWN;
164 this->flg_hazard = 0;
165 xVec3Copy(&this->pos_hazard, &g_O3);
166 this->tym_lifespan = _959_Hazard;
167 this->tmr_remain = _1041_Hazard;
168 this->pam_interp = _958_Hazard;
169 this->cb_notify = NULL;
170 this->npc_owner = NULL;
171 memset(&this->custdata, 0, sizeof(this->custdata));
172}
173
174// WIP.
175S32 NPCHazard::ConfigHelper(en_npchaz haztype)

Callers 2

ReconfigureMethod · 0.95
HAZ_AcquireFunction · 0.80

Calls 2

xVec3CopyFunction · 0.85
memsetFunction · 0.85

Tested by

no test coverage detected