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

Method Start

src/SB/Game/zNPCHazard.cpp:253–265  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

251}
252
253void NPCHazard::Start(const xVec3* pos, F32 tym)
254{
255 if (tym > 0.0f)
256 {
257 tmr_remain = tym;
258 }
259 tym_lifespan = tmr_remain;
260 if (pos != NULL)
261 {
262 PosSet(pos);
263 }
264 flg_hazard |= 0x1a;
265}
266
267void NPCHazard::PosSet(const xVec3* pos)
268{

Callers 11

SDS_StartExplodeMethod · 0.80
DetonateMethod · 0.80
EnterMethod · 0.80
DieTheGoodDeathMethod · 0.80
MaryzFuryMethod · 0.80
zNPCTiki_ExplodeFXFunction · 0.80
KickSteamyStinkyMethod · 0.80
KickBlooshBlobMethod · 0.80
KickOilBurstMethod · 0.80
KickOilGlobbyMethod · 0.80
NCIN_HazProjShootFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected