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

Method ParseINI

src/SB/Game/zNPCTypeRobot.cpp:381–396  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

379}
380
381void zNPCSleepy::ParseINI()
382{
383 static F32 rad_minimum;
384
385 NPCConfig* cfg = cfg_npc;
386 zNPCRobot::ParseINI();
387 cfg->snd_trax = g_sndTrax_Sleepy;
388 NPCS_SndTablePrepare(g_sndTrax_Sleepy);
389 // Scheduling issue with init.
390 if (init == 0)
391 {
392 rad_minimum = 5.0f;
393 init = 1;
394 }
395 cfg_npc->rad_detect = MAX(rad_minimum, cfg_npc->rad_detect);
396}
397
398void zNPCMonsoon::ParseINI()
399{

Callers

nothing calls this directly

Calls 2

NPCS_SndTablePrepareFunction · 0.70
ParseINIFunction · 0.50

Tested by

no test coverage detected