pingus-cvs
[Top][All Lists]
Advanced

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

[Pingus-CVS] CVS: Games/Pingus/src/worldobjs ConveyorBelt.cc,1.30,1.31 C


From: torangan
Subject: [Pingus-CVS] CVS: Games/Pingus/src/worldobjs ConveyorBelt.cc,1.30,1.31 ConveyorBelt.hh,1.19,1.20 SwitchDoor.cc,1.25,1.26 SwitchDoor.hh,1.19,1.20 Teleporter.cc,1.33,1.34 Teleporter.hh,1.25,1.26
Date: 7 Jun 2002 14:50:39 -0000

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

Modified Files:
        ConveyorBelt.cc ConveyorBelt.hh SwitchDoor.cc SwitchDoor.hh 
        Teleporter.cc Teleporter.hh 
Log Message:
removed dummy_ptr - this reduces compile time, footprint and complexity.
There was no point where it was needed and it's even been removed from boost.


Index: ConveyorBelt.cc
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/worldobjs/ConveyorBelt.cc,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -d -r1.30 -r1.31
--- ConveyorBelt.cc     1 Jun 2002 18:05:37 -0000       1.30
+++ ConveyorBelt.cc     7 Jun 2002 14:50:35 -0000       1.31
@@ -177,7 +177,7 @@
 }
 
 void
-EditorConveyorBeltObj::draw (boost::dummy_ptr<EditorView> view)
+EditorConveyorBeltObj::draw (EditorView * view)
 {
   view->draw (left_sur, pos, int(counter));
   for (int i=0; i < ConveyorBeltData::width; i++)

Index: ConveyorBelt.hh
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/worldobjs/ConveyorBelt.hh,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- ConveyorBelt.hh     24 Jan 2002 23:07:38 -0000      1.19
+++ ConveyorBelt.hh     7 Jun 2002 14:50:35 -0000       1.20
@@ -78,7 +78,7 @@
   EditorConveyorBeltObj (const ConveyorBeltData&);
 
   boost::shared_ptr<EditorObj> duplicate();
-  void draw (boost::dummy_ptr<EditorView> view);
+  void draw (EditorView * view);
   void draw_scroll_map(int x_pos, int y_pos, int arg_width, int arg_height);
 
   int get_width ();

Index: SwitchDoor.cc
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/worldobjs/SwitchDoor.cc,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -d -r1.25 -r1.26
--- SwitchDoor.cc       1 Jun 2002 18:05:37 -0000       1.25
+++ SwitchDoor.cc       7 Jun 2002 14:50:35 -0000       1.26
@@ -278,7 +278,7 @@
 }
 
 void
-EditorSwitchDoorObj::draw (boost::dummy_ptr<EditorView> view)
+EditorSwitchDoorObj::draw (EditorView * view)
 {
   view->draw_line (door_pos, switch_pos, 1.0, 0.0, 0.0);
 

Index: SwitchDoor.hh
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/worldobjs/SwitchDoor.hh,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- SwitchDoor.hh       1 Jun 2002 18:05:37 -0000       1.19
+++ SwitchDoor.hh       7 Jun 2002 14:50:35 -0000       1.20
@@ -132,7 +132,7 @@
 
   void set_position_offset(const CL_Vector &);
 
-  void draw (boost::dummy_ptr<EditorView> view);
+  void draw (EditorView * view);
   void save_xml (std::ofstream* xml);
   std::string status_line();
 };

Index: Teleporter.cc
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/worldobjs/Teleporter.cc,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -d -r1.33 -r1.34
--- Teleporter.cc       1 Jun 2002 18:05:37 -0000       1.33
+++ Teleporter.cc       7 Jun 2002 14:50:35 -0000       1.34
@@ -204,7 +204,7 @@
 }
 
 void
-EditorTeleporterObj::draw (boost::dummy_ptr<EditorView> view)
+EditorTeleporterObj::draw (EditorView * view)
 {
   //std::cout << "Drawing line" << std::endl;
   view->draw_line (int(pos.x), 

Index: Teleporter.hh
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/worldobjs/Teleporter.hh,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -d -r1.25 -r1.26
--- Teleporter.hh       1 Jun 2002 18:05:37 -0000       1.25
+++ Teleporter.hh       7 Jun 2002 14:50:35 -0000       1.26
@@ -90,7 +90,7 @@
       for the editor */
   static std::list<boost::shared_ptr<EditorObj> > create (const CL_Vector& 
pos);
 
-  void draw (boost::dummy_ptr<EditorView> view);
+  void draw (EditorView * view);
   void save_xml (std::ofstream* xml);
   std::string status_line();
 };




reply via email to

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