pingus-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pingus-CVS] CVS: Games/Pingus/src editor_hotspot.hxx,1.3,1.4 worldobj_g


From: grumbel
Subject: [Pingus-CVS] CVS: Games/Pingus/src editor_hotspot.hxx,1.3,1.4 worldobj_group_data.cxx,1.4,1.5
Date: 1 Jul 2002 18:36:41 -0000

Update of /usr/local/cvsroot/Games/Pingus/src
In directory dark:/tmp/cvs-serv24111/src

Modified Files:
        editor_hotspot.hxx worldobj_group_data.cxx 
Log Message:
- removed a few shared_ptr's
- fixed a level
- some std::list and std::vector replacements

Index: editor_hotspot.hxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/editor_hotspot.hxx,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- editor_hotspot.hxx  25 Jun 2002 12:20:31 -0000      1.3
+++ editor_hotspot.hxx  1 Jul 2002 18:36:39 -0000       1.4
@@ -37,8 +37,8 @@
 
   void write_xml(std::ostream& xml) { HotspotData::write_xml (xml); }
 
-  boost::shared_ptr<EditorObj> duplicate() {
-    return boost::shared_ptr<EditorObj>(new 
EditorHotspot(static_cast<HotspotData>(*this)));
+  EditorObj* duplicate() {
+    return new EditorHotspot(static_cast<HotspotData>(*this));
   }
 
   std::string status_line () { return "Hotspot: " 

Index: worldobj_group_data.cxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/worldobj_group_data.cxx,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- worldobj_group_data.cxx     25 Jun 2002 12:20:31 -0000      1.4
+++ worldobj_group_data.cxx     1 Jul 2002 18:36:39 -0000       1.5
@@ -132,7 +132,7 @@
       EditorObjLst sublst ((*i)->create_EditorObj ());
       for (EditorObjLstIter j = sublst.begin (); j != sublst.end (); ++j)
        {
-         group->add (*j);
+         group->add (j->get ());
        }
     }
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]