From: Tobias Gläßer Date: Mon, 8 Mar 2004 15:21:10 +0000 (+0000) Subject: reverted last commit X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=01240445a0eb6ce4cf37c6d1bdd0cc132c4ed21d;p=supertux.git reverted last commit SVN-Revision: 192 --- diff --git a/src/title.c b/src/title.c index 362abeb97..56912f439 100644 --- a/src/title.c +++ b/src/title.c @@ -282,7 +282,7 @@ void display_credits() int done; int scroll, speed; timer_type timer; - int n,d,e; + int n,d; int length; FILE* fi; char temp[1024]; @@ -316,7 +316,6 @@ void display_credits() done = 0; n = d = 0; - e = -20; length = names.num_items; @@ -373,17 +372,12 @@ void display_credits() else if(names.item[i][0] == ' ') text_drawf(&white_text, names.item[i], 0, 60+screen->h+(n*18)+(d*18)-scroll, A_HMIDDLE, A_TOP, 1, NO_UPDATE); else if(names.item[i+1][0] == '-' || names.item[i][0] == '-') - text_drawf(&white_big_text, names.item[i], 0, 60+screen->h+(n*18)+(d*18)-scroll, A_HMIDDLE, A_TOP, 3+e%7, NO_UPDATE); + text_drawf(&white_big_text, names.item[i], 0, 60+screen->h+(n*18)+(d*18)-scroll, A_HMIDDLE, A_TOP, 3, NO_UPDATE); else - text_drawf(&blue_text, names.item[i], 0 + e % 20, 60+screen->h+(n*18)+(d*18)-scroll, A_HMIDDLE, A_TOP, 1, NO_UPDATE); + text_drawf(&blue_text, names.item[i], 0, 60+screen->h+(n*18)+(d*18)-scroll, A_HMIDDLE, A_TOP, 1, NO_UPDATE); } } - if(e == 20) - { - e = -19; - } - e++; - + texture_draw_part(&bkg_title, 0, 0, 0, 0, 640, 130, NO_UPDATE);