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

Method ClearDecals

CrySystem/ScriptObjectAnimation.cpp:121–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

119}
120
121int CScriptObjectAnimation::ClearDecals(IFunctionHandler* pH)
122{
123 GET_ANIM_MANAGER(pAnimationManager);
124 switch (pH->GetParamCount())
125 {
126 case 0:
127 pAnimationManager->ExecScriptCommand(CASCMD_CLEAR_DECALS);
128 break;
129 default:
130 m_pScriptSystem->RaiseError("System.ClearDecals wrong number of arguments (%d)", pH->GetParamCount());
131 return pH->EndFunctionNull();
132 }
133 return pH->EndFunction(0);
134}
135
136int CScriptObjectAnimation::DumpDecals(IFunctionHandler* pH)
137{

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