projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
preload sounds
[supertux.git]
/
src
/
shrinkfade.cpp
diff --git
a/src/shrinkfade.cpp
b/src/shrinkfade.cpp
index
0b99900
..
d921efb
100644
(file)
--- a/
src/shrinkfade.cpp
+++ b/
src/shrinkfade.cpp
@@
-1,4
+1,4
@@
-// $Id
: screen.hpp 3327 2006-04-13 15:02:40Z ravu_al_hemio
$
+// $Id$
//
// SuperTux
// Copyright (C) 2006 Matthias Braun <matze@braunis.de>
//
// SuperTux
// Copyright (C) 2006 Matthias Braun <matze@braunis.de>
@@
-51,7
+51,7
@@
ShrinkFade::draw(DrawingContext& context)
float top = speedtop * accum_time;
float right = SCREEN_WIDTH - speedright * accum_time;
float bottom = SCREEN_HEIGHT - speedbottom * accum_time;
float top = speedtop * accum_time;
float right = SCREEN_WIDTH - speedright * accum_time;
float bottom = SCREEN_HEIGHT - speedbottom * accum_time;
-
+
context.draw_filled_rect(Vector(0, 0),
Vector(left, SCREEN_HEIGHT),
black, LAYER_GUI+1);
context.draw_filled_rect(Vector(0, 0),
Vector(left, SCREEN_HEIGHT),
black, LAYER_GUI+1);