remove debugging

This commit is contained in:
Chris Danford
2005-01-29 21:51:03 +00:00
parent db20d39418
commit 4cb179e5ec
-35
View File
@@ -1091,41 +1091,6 @@ int main(int argc, char* argv[])
CheckSettings();
LUA = new LuaManager;
RageTimer t;
float fDelta = 0;
Sprite s;
CString sCommands = "x,SCREEN_LEFT+100";
Commands cmds = ParseCommands("horizalign,left;vertalign,top;zoom,0.8;shadowlength,2");
ActorCommands* pacmds = new ActorCommands( cmds );
LUA->RunScript(
"SCREEN_LEFT = 100\n"
"left = 'left'\n"
"center = 'center'\n"
"right = 'right'\n"
"top = 'top'\n"
"middle = 'middle'\n"
"bottom = 'bottom'\n"
"F2 = function(self)"
" self:vertalign(top)"
" self:horizalign(left)"
" self:zoom(0.8)"
" self:shadowlength(2)"
"end"
);
t.GetDeltaTime();
for( int i=0; i<100000; i++ )
{
// s.RunCommands( *pacmds );
}
LOG->Trace( "Lua2 took %f", t.GetDeltaTime() );
SAFE_DELETE( pacmds );
GAMEMAN = new GameManager;
THEME = new ThemeManager;
ANNOUNCER = new AnnouncerManager;