MCPcopy Create free account
hub / github.com/StrongPC123/Far-Cry-1-Source-Full / DumpDecals

Method DumpDecals

CrySystem/ScriptObjectAnimation.cpp:136–149  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

134}
135
136int CScriptObjectAnimation::DumpDecals(IFunctionHandler* pH)
137{
138 GET_ANIM_MANAGER(pAnimationManager);
139 switch (pH->GetParamCount())
140 {
141 case 0:
142 pAnimationManager->ExecScriptCommand(CASCMD_DUMP_DECALS);
143 break;
144 default:
145 m_pScriptSystem->RaiseError("System.DumpDecals wrong number of arguments (%d)", pH->GetParamCount());
146 return pH->EndFunctionNull();
147 }
148 return pH->EndFunction(0);
149}
150
151int CScriptObjectAnimation::Start2Anims(IFunctionHandler* pH)
152{

Callers

nothing calls this directly

Calls 5

RaiseErrorMethod · 0.80
EndFunctionNullMethod · 0.80
EndFunctionMethod · 0.80
GetParamCountMethod · 0.45
ExecScriptCommandMethod · 0.45

Tested by

no test coverage detected