From 01240445a0eb6ce4cf37c6d1bdd0cc132c4ed21d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tobias=20Gl=C3=A4=C3=9Fer?= Date: Mon, 8 Mar 2004 15:21:10 +0000 Subject: [PATCH] reverted last commit SVN-Revision: 192 --- src/title.c | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) 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); -- 2.11.0