MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / create_force_progress

Function create_force_progress

ogsr_engine/xrGame/Missile.cpp:33–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31CUIProgressShape* g_MissileForceShape = NULL;
32
33void create_force_progress()
34{
35 VERIFY(!g_MissileForceShape);
36 CUIXml uiXml;
37 bool xml_result = uiXml.Init(CONFIG_PATH, UI_PATH, "grenade.xml");
38 R_ASSERT3(xml_result, "xml file not found", "grenade.xml");
39
40 CUIXmlInit xml_init;
41 g_MissileForceShape = xr_new<CUIProgressShape>();
42 xml_init.InitProgressShape(uiXml, "progress", 0, g_MissileForceShape);
43}
44
45CMissile::CMissile(void)
46{

Callers 1

OnDrawUIMethod · 0.85

Calls 2

InitProgressShapeMethod · 0.80
InitMethod · 0.45

Tested by

no test coverage detected