[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pingus-CVS] CVS: Games/Pingus/src/worldobjsdata conveyor_belt_data.cxx
From: |
grumbel |
Subject: |
[Pingus-CVS] CVS: Games/Pingus/src/worldobjsdata conveyor_belt_data.cxx,1.6,1.7 |
Date: |
18 Feb 2003 00:15:34 -0000 |
Update of /usr/local/cvsroot/Games/Pingus/src/worldobjsdata
In directory dark:/tmp/cvs-serv11347/worldobjsdata
Modified Files:
conveyor_belt_data.cxx
Log Message:
Deja'Vu...
Index: conveyor_belt_data.cxx
===================================================================
RCS file:
/usr/local/cvsroot/Games/Pingus/src/worldobjsdata/conveyor_belt_data.cxx,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- conveyor_belt_data.cxx 28 Sep 2002 11:52:26 -0000 1.6
+++ conveyor_belt_data.cxx 18 Feb 2003 00:15:32 -0000 1.7
@@ -36,16 +36,8 @@
{
cur = cur->children;
- while (cur)
- {
- if (xmlIsBlankNode(cur))
- {
- cur = cur->next;
- continue;
- }
- else if (XMLhelper::equal_str(cur->name, "position"))
- {
- pos = XMLhelper::parse_vector(doc, cur);
+ XMLReader reader(doc, cur);
+ reader.read_vector("position", pos);
}
else if (XMLhelper::equal_str(cur->name, "width"))
{
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pingus-CVS] CVS: Games/Pingus/src/worldobjsdata conveyor_belt_data.cxx,1.6,1.7,
grumbel <=
- Prev by Date:
[Pingus-CVS] CVS: Games/Pingus/src Makefile.am,1.130,1.131 xml_reader.cxx,1.1,NONE xml_reader.hxx,1.1,NONE
- Next by Date:
[Pingus-CVS] CVS: Games/Pingus/src/actions walker.cxx,1.29,1.30
- Previous by thread:
[Pingus-CVS] CVS: Games/Pingus/src Makefile.am,1.130,1.131 xml_reader.cxx,1.1,NONE xml_reader.hxx,1.1,NONE
- Next by thread:
[Pingus-CVS] CVS: Games/Pingus/src/actions walker.cxx,1.29,1.30
- Index(es):