Moved error reporting to ScreenSystemLayer error.lua. ScreenSystemLayer overlay/default.lua restored to previous. Error messages are now broadcast with the ScriptError message instead of SystemMessage. Added show/hide error messages toggle and clear error messages to debug menu. Nuked ScreenConsoleOverlay for being unfinished and duplicating ScreenSystemLayer. Changed Actor:tween and Tween::CreateFromStack to use ReportScriptError on invalid tween params. Changed some OptionRowList things to use ReportScriptError on invalid metrics.

This commit is contained in:
Kyzentun
2014-07-08 20:01:33 -06:00
parent bee284d0c7
commit 63311ab62f
13 changed files with 321 additions and 179 deletions
+4 -1
View File
@@ -1458,7 +1458,10 @@ public:
return 0;
}
ITween *pTween = ITween::CreateFromStack( L, 2 );
p->BeginTweening(fTime, pTween);
if(pTween != NULL)
{
p->BeginTweening(fTime, pTween);
}
return 0;
}
static int stoptweening( T* p, lua_State * ) { p->StopTweening(); return 0; }