projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
New flying platform object.
[supertux.git]
/
src
/
screen.cpp
diff --git
a/src/screen.cpp
b/src/screen.cpp
index
66248b3
..
d20543f
100644
(file)
--- a/
src/screen.cpp
+++ b/
src/screen.cpp
@@
-82,8
+82,6
@@
void drawgradient(Color top_clr, Color bot_clr)
{
#endif
-//void fillrect(float x, float y, float w, float h, int r, int g, int b, int a)
-
for(float y = 0; y < screen->h; y += 2)
fillrect(0, (int)y, screen->w, 2,
(int)(((float)(top_clr.red-bot_clr.red)/(0-screen->h)) * y + top_clr.red),