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

Function xPTankPoolSceneEnter

src/SB/Core/x/xPtankPool.cpp:241–256  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

239} // namespace
240
241void xPTankPoolSceneEnter()
242{
243 inited = 1;
244 init_groups();
245
246 group_data* it = groups;
247 group_data* end = groups + MAX_PGT;
248 while (it != end)
249 {
250 F64 f = it->max_size - 0.f;
251 F32 scaled = F32(f) * 0.25f + 0.5f;
252 create_ptanks(*it, (U32)scaled);
253
254 it++;
255 }
256}
257
258namespace
259{

Callers 1

zSceneInitFunction · 0.50

Calls 2

create_ptanksFunction · 0.85
init_groupsFunction · 0.70

Tested by

no test coverage detected