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

Function CreateScriptSystem

CryScriptSystem/ScriptSystem.cpp:1766–1776  ·  view source on GitHub ↗

/////////////////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

1764
1765//////////////////////////////////////////////////////////////////////
1766IScriptSystem *CreateScriptSystem(ISystem *pSystem,IScriptSystemSink *pSink, IScriptDebugSink *pDebugSink, bool bStdLibs)
1767{
1768 gISystem = pSystem;
1769 CScriptSystem *pScriptSystem = new CScriptSystem;
1770 pScriptSystem->Validate();
1771 if (!pScriptSystem->Init(pSink, pDebugSink, bStdLibs, 1024))
1772 {
1773 pScriptSystem->Release();
1774 }
1775 return pScriptSystem;
1776}
1777
1778CScriptObject *CScriptSystem::CreateScriptObject()
1779{

Callers 1

InitScriptSystemMethod · 0.85

Calls 3

ValidateMethod · 0.45
InitMethod · 0.45
ReleaseMethod · 0.45

Tested by

no test coverage detected