Exemple #1
0
CScriptEngine::CScriptEngine			()
{
	m_stack_level			= 0;
	m_reload_modules		= false;
	m_last_no_file_length	= 0;
	*m_last_no_file			= 0;

#ifdef USE_DEBUGGER
	m_scriptDebugger		= NULL;
	restartDebugger			();	
#endif
}
Exemple #2
0
CScriptEngine::CScriptEngine()
{
    m_stack_level = 0;
    m_reload_modules = false;
    m_last_no_file_length = 0;
    *m_last_no_file = 0;

#ifdef USE_DEBUGGER
#	ifndef USE_LUA_STUDIO
    m_scriptDebugger	= NULL;
    restartDebugger		();
#	else //USE_LUA_STUDIO
    m_lua_studio_world	= 0;
#	endif //!USE_LUA_STUDIO
#endif
}