Update of /cvsroot/super-tux/supertux/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19620/src
Modified Files:
resources.cpp
Log Message:
Tux growing animation and door opening alpha was not being applied. Fixed.
Why haven't anyone noticed it yet?!
Index: resources.cpp
===================================================================
RCS file: /cvsroot/super-tux/supertux/src/resources.cpp,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -d -r1.45 -r1.46
--- resources.cpp 26 Jul 2004 15:48:38 -0000 1.45
+++ resources.cpp 28 Jul 2004 10:48:49 -0000 1.46
@@ -125,10 +125,10 @@
for (int i = 0; i < GROWING_FRAMES; i++)
{
sprintf(img_name, "%s/images/shared/tux-grow-left-%i.png", datadir.c_str(), i+1);
- growingtux_left[i] = new Surface(img_name, false);
+ growingtux_left[i] = new Surface(img_name, true);
sprintf(img_name, "%s/images/shared/tux-grow-right-%i.png", datadir.c_str(), i+1);
- growingtux_right[i] = new Surface(img_name, false);
+ growingtux_right[i] = new Surface(img_name, true);
}
smalltux.stand_left = sprite_manager->load("smalltux-stand-left");
@@ -264,7 +264,7 @@
for (int i = 0; i < DOOR_OPENING_FRAMES; i++)
{
sprintf(img_name, "%s/images/shared/door-%i.png", datadir.c_str(), i+1);
- door_opening[i] = new Surface(img_name, false);
+ door_opening[i] = new Surface(img_name, true);
}
/* Distros: */
|