[Top][All Lists]
[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();
};
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [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,
torangan <=
- Prev by Date:
[Pingus-CVS] CVS: Games/Pingus/src CaptureRectangle.cc,1.15,1.16 Client.cc,1.78,1.79 Client.hh,1.35,1.36 Controller.cc,1.10,1.11 Controller.hh,1.11,1.12 MultiplayerClient.cc,1.4,1.5 MultiplayerClient.hh,1.6,1.7 MultiplayerClientChild.cc,1.9,1.10 MultiplayerClientChild.hh,1.6,1.7 MultiplayerGame.cc,1.5,1.6 PingusCounterBar.cc,1.5,1.6 PingusCounterBar.hh,1.1,1.2 PingusGameSession.cc,1.11,1.12 PingusMenu.hh,1.20,1.21 PingusMenuManager.cc,1.7,1.8 PingusMenuManager.hh,1.3,1.4 PlayfieldView.cc,1.5,1.6 PlayfieldView.hh,1.4,1.5 SmallMapImage.cc,1.7,1.8 SmallMapImage.hh,1.1,1.2
- Next by Date:
[Pingus-CVS] CVS: Games/Pingus/src/editor EditorObj.hh,1.38,1.39 EditorObjGroup.cc,1.12,1.13 EditorObjGroup.hh,1.8,1.9 ObjectManager.cc,1.60,1.61 ObjectManager.hh,1.23,1.24 PLFObj.cc,1.59,1.60 PLFObj.hh,1.27,1.28 RectEditorObj.cc,1.1,1.2 RectEditorObj.hh,1.1,1.2 ScrollMap.hh,1.4,1.5 SpriteEditorObj.cc,1.2,1.3 SpriteEditorObj.hh,1.2,1.3 StatusLine.cc,1.9,1.10 StatusLine.hh,1.7,1.8 WeatherObj.cc,1.10,1.11 WeatherObj.hh,1.5,1.6
- Previous by thread:
[Pingus-CVS] CVS: Games/Pingus/src CaptureRectangle.cc,1.15,1.16 Client.cc,1.78,1.79 Client.hh,1.35,1.36 Controller.cc,1.10,1.11 Controller.hh,1.11,1.12 MultiplayerClient.cc,1.4,1.5 MultiplayerClient.hh,1.6,1.7 MultiplayerClientChild.cc,1.9,1.10 MultiplayerClientChild.hh,1.6,1.7 MultiplayerGame.cc,1.5,1.6 PingusCounterBar.cc,1.5,1.6 PingusCounterBar.hh,1.1,1.2 PingusGameSession.cc,1.11,1.12 PingusMenu.hh,1.20,1.21 PingusMenuManager.cc,1.7,1.8 PingusMenuManager.hh,1.3,1.4 PlayfieldView.cc,1.5,1.6 PlayfieldView.hh,1.4,1.5 SmallMapImage.cc,1.7,1.8 SmallMapImage.hh,1.1,1.2
- Next by thread:
[Pingus-CVS] CVS: Games/Pingus/src/editor EditorObj.hh,1.38,1.39 EditorObjGroup.cc,1.12,1.13 EditorObjGroup.hh,1.8,1.9 ObjectManager.cc,1.60,1.61 ObjectManager.hh,1.23,1.24 PLFObj.cc,1.59,1.60 PLFObj.hh,1.27,1.28 RectEditorObj.cc,1.1,1.2 RectEditorObj.hh,1.1,1.2 ScrollMap.hh,1.4,1.5 SpriteEditorObj.cc,1.2,1.3 SpriteEditorObj.hh,1.2,1.3 StatusLine.cc,1.9,1.10 StatusLine.hh,1.7,1.8 WeatherObj.cc,1.10,1.11 WeatherObj.hh,1.5,1.6
- Index(es):