[Top][All Lists]
[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 ());
}
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pingus-CVS] CVS: Games/Pingus/src editor_hotspot.hxx,1.3,1.4 worldobj_group_data.cxx,1.4,1.5,
grumbel <=
- Prev by Date:
[Pingus-CVS] CVS: Games/Pingus/src/backgrounds solidcolor_background.hxx,1.4,1.5 starfield_background.hxx,1.4,1.5 surface_background_data.hxx,1.5,1.6 thunderstorm_background_data.hxx,1.4,1.5
- Next by Date:
[Pingus-CVS] CVS: Games/Pingus/src/worldobjs conveyor_belt.cxx,1.3,1.4 conveyor_belt.hxx,1.3,1.4 ice_block.cxx,1.5,1.6 ice_block.hxx,1.3,1.4 info_box.cxx,1.2,1.3 info_box.hxx,1.4,1.5 switch_door.cxx,1.3,1.4 switch_door.hxx,1.4,1.5 teleporter.cxx,1.2,1.3 teleporter.hxx,1.4,1.5
- Previous by thread:
[Pingus-CVS] CVS: Games/Pingus/src/backgrounds solidcolor_background.hxx,1.4,1.5 starfield_background.hxx,1.4,1.5 surface_background_data.hxx,1.5,1.6 thunderstorm_background_data.hxx,1.4,1.5
- Next by thread:
[Pingus-CVS] CVS: Games/Pingus/src/worldobjs conveyor_belt.cxx,1.3,1.4 conveyor_belt.hxx,1.3,1.4 ice_block.cxx,1.5,1.6 ice_block.hxx,1.3,1.4 info_box.cxx,1.2,1.3 info_box.hxx,1.4,1.5 switch_door.cxx,1.3,1.4 switch_door.hxx,1.4,1.5 teleporter.cxx,1.2,1.3 teleporter.hxx,1.4,1.5
- Index(es):