[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pingus-CVS] CVS: Games/Pingus/src/worldobjs worldobj_group.cxx,1.3,1.4
From: |
grumbel |
Subject: |
[Pingus-CVS] CVS: Games/Pingus/src/worldobjs worldobj_group.cxx,1.3,1.4 worldobj_group.hxx,1.3,1.4 |
Date: |
16 Sep 2002 10:18:53 -0000 |
Update of /usr/local/cvsroot/Games/Pingus/src/worldobjs
In directory dark:/tmp/cvs-serv17239/worldobjs
Modified Files:
worldobj_group.cxx worldobj_group.hxx
Log Message:
- fixed grouping support in the world, WorldObjGroup didn't work out as expected
Index: worldobj_group.cxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/worldobjs/worldobj_group.cxx,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- worldobj_group.cxx 15 Sep 2002 21:49:58 -0000 1.3
+++ worldobj_group.cxx 16 Sep 2002 10:18:51 -0000 1.4
@@ -38,7 +38,7 @@
WorldObjGroup::draw (GraphicContext& gc)
{
for (std::vector<WorldObj*>::iterator i = objs.begin (); i != objs.end ();
++i)
- (*i)->draw (gc);
+ (*i)->draw (gc);
}
} // namespace WorldObjs
Index: worldobj_group.hxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/worldobjs/worldobj_group.hxx,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- worldobj_group.hxx 15 Sep 2002 21:49:58 -0000 1.3
+++ worldobj_group.hxx 16 Sep 2002 10:18:51 -0000 1.4
@@ -37,6 +37,7 @@
void update (float delta);
void draw (GraphicContext& gc);
+ // FIXME: Position handling is incorrect...
float get_z_pos() const { return 10; }
private:
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pingus-CVS] CVS: Games/Pingus/src/worldobjs worldobj_group.cxx,1.3,1.4 worldobj_group.hxx,1.3,1.4,
grumbel <=
- Prev by Date:
[Pingus-CVS] CVS: Games/Pingus/src xml_plf.cxx,1.16,1.17 xml_plf.hxx,1.7,1.8
- Next by Date:
[Pingus-CVS] CVS: Games/Pingus/data/levels/test group.xml,1.1,1.2
- Previous by thread:
[Pingus-CVS] CVS: Games/Pingus/src xml_plf.cxx,1.16,1.17 xml_plf.hxx,1.7,1.8
- Next by thread:
[Pingus-CVS] CVS: Games/Pingus/data/levels/test group.xml,1.1,1.2
- Index(es):