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

Function load_settings

src/SB/Game/zEntCruiseBubble.cpp:1635–1650  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1633 }
1634
1635 void load_settings()
1636 {
1637 U32 params_size;
1638 xModelAssetParam* params =
1639 zEntGetModelParams(xStrHash("cruise_bubble_bind.MINF"), &params_size);
1640
1641 if (params == NULL)
1642 {
1643 params_size = 0;
1644 }
1645
1646 normal_tweak.load(params, params_size);
1647 memcpy(&cheat_tweak, &normal_tweak, sizeof(tweak_group));
1648 load_cheat_tweak();
1649 refresh_missle_model();
1650 }
1651
1652 void tweak_group::load(xModelAssetParam* params, U32 size)
1653 {

Callers 2

initMethod · 0.70
zMainParseINIGlobalsFunction · 0.70

Calls 6

memcpyFunction · 0.85
load_cheat_tweakFunction · 0.85
refresh_missle_modelFunction · 0.85
zEntGetModelParamsFunction · 0.70
xStrHashFunction · 0.50
loadMethod · 0.45

Tested by

no test coverage detected