[Super-tux-commit] supertux/src gameloop.cpp,1.107,1.108
Brought to you by:
wkendrick
From: Ricardo C. <rm...@us...> - 2004-04-26 14:24:16
|
Update of /cvsroot/super-tux/supertux/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23306/src Modified Files: gameloop.cpp Log Message: Removed (just commented) the clear screen code before the level starts. It looks bad when the intro info is gradient and then it displays a black screen and then the level. Index: gameloop.cpp =================================================================== RCS file: /cvsroot/super-tux/supertux/src/gameloop.cpp,v retrieving revision 1.107 retrieving revision 1.108 diff -u -d -r1.107 -r1.108 --- gameloop.cpp 26 Apr 2004 13:18:40 -0000 1.107 +++ gameloop.cpp 26 Apr 2004 14:24:06 -0000 1.108 @@ -157,7 +157,7 @@ white_text->drawf(str, 0, 224, A_HMIDDLE, A_TOP, 1); sprintf(str, "by %s", world->get_level()->author.c_str()); - white_small_text->drawf(str, 0, 400, A_HMIDDLE, A_TOP, 1); + white_small_text->drawf(str, 0, 360, A_HMIDDLE, A_TOP, 1); flipscreen(); @@ -527,8 +527,8 @@ update_time = last_update_time = st_get_ticks(); /* Clear screen: */ - clearscreen(0, 0, 0); - updatescreen(); +// clearscreen(0, 0, 0); +// updatescreen(); // Eat unneeded events SDL_Event event; |