projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b9511e7
)
reverted last commit
author
Tobias Gläßer
<tobi.web@gmx.de>
Mon, 8 Mar 2004 15:21:10 +0000
(15:21 +0000)
committer
Tobias Gläßer
<tobi.web@gmx.de>
Mon, 8 Mar 2004 15:21:10 +0000
(15:21 +0000)
SVN-Revision: 192
src/title.c
patch
|
blob
|
history
diff --git
a/src/title.c
b/src/title.c
index
362abeb
..
56912f4
100644
(file)
--- a/
src/title.c
+++ b/
src/title.c
@@
-282,7
+282,7
@@
void display_credits()
int done;
int scroll, speed;
timer_type timer;
int done;
int scroll, speed;
timer_type timer;
- int n,d
,e
;
+ int n,d;
int length;
FILE* fi;
char temp[1024];
int length;
FILE* fi;
char temp[1024];
@@
-316,7
+316,6
@@
void display_credits()
done = 0;
n = d = 0;
done = 0;
n = d = 0;
- e = -20;
length = names.num_items;
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] == '-')
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
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);
texture_draw_part(&bkg_title, 0, 0, 0, 0, 640, 130, NO_UPDATE);