Update of /cvsroot/super-tux/supertux/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13290
Modified Files:
badguy.cpp player.cpp
Log Message:
- draw dead badguys/Tux above foreground tiles
Index: player.cpp
===================================================================
RCS file: /cvsroot/super-tux/supertux/src/player.cpp,v
retrieving revision 1.141
retrieving revision 1.142
diff -u -d -r1.141 -r1.142
--- player.cpp 8 Jun 2004 17:44:28 -0000 1.141
+++ player.cpp 8 Jun 2004 20:31:24 -0000 1.142
@@ -705,7 +705,7 @@
{
if (dying == DYING_SQUISHED)
{
- smalltux_gameover->draw(context, pos, LAYER_OBJECTS+1);
+ smalltux_gameover->draw(context, pos, LAYER_FOREGROUNDTILES+1);
}
else
{
Index: badguy.cpp
===================================================================
RCS file: /cvsroot/super-tux/supertux/src/badguy.cpp,v
retrieving revision 1.104
retrieving revision 1.105
diff -u -d -r1.104 -r1.105
--- badguy.cpp 1 Jun 2004 21:09:37 -0000 1.104
+++ badguy.cpp 8 Jun 2004 20:31:24 -0000 1.105
@@ -970,7 +970,7 @@
return;
if(dying == DYING_FALLING && physic.get_velocity_y() < 0)
- sprite->draw(context, Vector(base.x, base.y), LAYER_OBJECTS, VERTICAL_FLIP);
+ sprite->draw(context, Vector(base.x, base.y), LAYER_FOREGROUNDTILES+1, VERTICAL_FLIP);
else
sprite->draw(context, Vector(base.x, base.y), LAYER_OBJECTS);
|