pingus-cvs
[Top][All Lists]
Advanced

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

[Pingus-CVS] CVS: Games/Pingus/src/backgrounds solidcolor_background.hxx


From: grumbel
Subject: [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
Date: 1 Jul 2002 18:36:42 -0000

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

Modified Files:
        solidcolor_background.hxx starfield_background.hxx 
        surface_background_data.hxx thunderstorm_background_data.hxx 
Log Message:
- removed a few shared_ptr's
- fixed a level
- some std::list and std::vector replacements

Index: solidcolor_background.hxx
===================================================================
RCS file: 
/usr/local/cvsroot/Games/Pingus/src/backgrounds/solidcolor_background.hxx,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- solidcolor_background.hxx   25 Jun 2002 12:20:33 -0000      1.4
+++ solidcolor_background.hxx   1 Jul 2002 18:36:39 -0000       1.5
@@ -81,9 +81,8 @@
   /// Return the object height
   int get_height() { return 256; }
 
-  boost::shared_ptr<EditorObj> duplicate() {
-    return boost::shared_ptr<EditorObj>
-      (new EditorSolidColorBackground 
(static_cast<SolidColorBackgroundData>(*this)));
+  EditorObj* duplicate() {
+    return new EditorSolidColorBackground 
(static_cast<SolidColorBackgroundData>(*this));
   }
 
   float get_z_pos () { return pos.z; }

Index: starfield_background.hxx
===================================================================
RCS file: 
/usr/local/cvsroot/Games/Pingus/src/backgrounds/starfield_background.hxx,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- starfield_background.hxx    25 Jun 2002 12:20:33 -0000      1.4
+++ starfield_background.hxx    1 Jul 2002 18:36:39 -0000       1.5
@@ -107,9 +107,8 @@
 
   void write_xml(std::ostream& xml) { this->StarfieldBackgroundData::write_xml 
(xml); }
 
-  boost::shared_ptr<EditorObj> duplicate() {
-    return boost::shared_ptr<EditorObj>
-      (new EditorStarfieldBackground 
(static_cast<StarfieldBackgroundData>(*this)));
+  EditorObj* duplicate() {
+    return new EditorStarfieldBackground 
(static_cast<StarfieldBackgroundData>(*this));
   }
 
   std::string status_line () { return "StarfieldBackground: " 

Index: surface_background_data.hxx
===================================================================
RCS file: 
/usr/local/cvsroot/Games/Pingus/src/backgrounds/surface_background_data.hxx,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- surface_background_data.hxx 29 Jun 2002 11:54:22 -0000      1.5
+++ surface_background_data.hxx 1 Jul 2002 18:36:39 -0000       1.6
@@ -94,9 +94,8 @@
 
   void write_xml(std::ostream& xml) { this->SurfaceBackgroundData::write_xml 
(xml); }
 
-  boost::shared_ptr<EditorObj> duplicate() {
-    return boost::shared_ptr<EditorObj>
-      (new EditorSurfaceBackground 
(static_cast<SurfaceBackgroundData>(*this)));
+  EditorObj* duplicate() {
+    return new EditorSurfaceBackground 
(static_cast<SurfaceBackgroundData>(*this));
   }
 
   std::string status_line () { return "SurfaceBackground: " 

Index: thunderstorm_background_data.hxx
===================================================================
RCS file: 
/usr/local/cvsroot/Games/Pingus/src/backgrounds/thunderstorm_background_data.hxx,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- thunderstorm_background_data.hxx    25 Jun 2002 12:20:33 -0000      1.4
+++ thunderstorm_background_data.hxx    1 Jul 2002 18:36:39 -0000       1.5
@@ -58,9 +58,8 @@
 
   void write_xml(std::ostream& xml) { 
this->ThunderstormBackgroundData::write_xml (xml); }
   
-  boost::shared_ptr<EditorObj> duplicate() {
-    return boost::shared_ptr<EditorObj>
-      (new EditorThunderstormBackground 
(static_cast<ThunderstormBackgroundData>(*this)));
+  EditorObj* duplicate() {
+    return new EditorThunderstormBackground 
(static_cast<ThunderstormBackgroundData>(*this));
   }
   
   std::string status_line () { return "ThunderstormBackground"; }




reply via email to

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