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

Method BeginIteration

CryScriptSystem/ScriptObject.cpp:1173–1183  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1171}
1172
1173bool CScriptObject::BeginIteration()
1174{
1175 if(m_nIterationCounter!=-1)
1176 return false;
1177
1178 m_nIterationCounter=lua_gettop(m_pLS);
1179 if (!_GET_THIS())
1180 return false;
1181 lua_pushnil(m_pLS);
1182 return true;
1183}
1184
1185bool CScriptObject::MoveNext()
1186{

Callers 15

DrawTriStripMethod · 0.80
Debug_Full_recursiveMethod · 0.80
Debug_ElementsMethod · 0.80
GetStackAndLocalsMethod · 0.80
ReloadWeaponScriptsMethod · 0.80
SavePlayerElementsMethod · 0.80
DrawRadarMethod · 0.80
InitMethod · 0.80
CreateObjectFromTableMethod · 0.80
SetupStaticFromTableMethod · 0.80
SetupButtonFromTableMethod · 0.80

Calls 2

lua_gettopFunction · 0.85
lua_pushnilFunction · 0.85

Tested by

no test coverage detected