[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pingus-CVS] CVS: Games/Pingus/src/actions faller.cxx,1.18,1.19 walker.c
From: |
grumbel |
Subject: |
[Pingus-CVS] CVS: Games/Pingus/src/actions faller.cxx,1.18,1.19 walker.cxx,1.19,1.20 |
Date: |
4 Sep 2002 22:10:49 -0000 |
Update of /usr/local/cvsroot/Games/Pingus/src/actions
In directory dark:/tmp/cvs-serv1910/actions
Modified Files:
faller.cxx walker.cxx
Log Message:
sprites are now animated again
Index: faller.cxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/actions/faller.cxx,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- faller.cxx 4 Sep 2002 20:30:29 -0000 1.18
+++ faller.cxx 4 Sep 2002 22:10:47 -0000 1.19
@@ -98,12 +98,12 @@
{
if (newp.y > 0)
{
- pingu->set_x(pingu->get_y() + 1);
+ pingu->set_y(pingu->get_y() + 1);
newp.y--;
}
else
{
- pingu->set_x(pingu->get_y() - 1);
+ pingu->set_y(pingu->get_y() - 1);
newp.y++;
}
}
Index: walker.cxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/actions/walker.cxx,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- walker.cxx 4 Sep 2002 20:30:29 -0000 1.19
+++ walker.cxx 4 Sep 2002 22:10:47 -0000 1.20
@@ -203,7 +203,7 @@
else
walker.set_direction(Sprite::RIGHT);
- gc.draw (walker, pingu->get_pos());
+ gc.draw (walker, pingu->get_pos() + CL_Vector (0, +2));
}
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pingus-CVS] CVS: Games/Pingus/src/actions faller.cxx,1.18,1.19 walker.cxx,1.19,1.20,
grumbel <=
- Prev by Date:
[Pingus-CVS] CVS: Games/Pingus/src entrance.cxx,1.5,1.6 pingu.cxx,1.22,1.23 pingu.hxx,1.13,1.14
- Next by Date:
[Pingus-CVS] CVS: Games/Pingus/src/actions faller.cxx,1.19,1.20
- Previous by thread:
[Pingus-CVS] CVS: Games/Pingus/src entrance.cxx,1.5,1.6 pingu.cxx,1.22,1.23 pingu.hxx,1.13,1.14
- Next by thread:
[Pingus-CVS] CVS: Games/Pingus/src/actions faller.cxx,1.19,1.20
- Index(es):