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 worldobj_group.cxx,1.2,1.3


From: grumbel
Subject: [Pingus-CVS] CVS: Games/Pingus/src/worldobjs worldobj_group.cxx,1.2,1.3 worldobj_group.hxx,1.2,1.3
Date: 15 Sep 2002 21:50:00 -0000

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

Modified Files:
        worldobj_group.cxx worldobj_group.hxx 
Log Message:
- bug squashed... a typo in the namespace

Index: worldobj_group.cxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/worldobjs/worldobj_group.cxx,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- worldobj_group.cxx  15 Sep 2002 21:21:47 -0000      1.2
+++ worldobj_group.cxx  15 Sep 2002 21:49:58 -0000      1.3
@@ -20,7 +20,7 @@
 #include "../graphic_context.hxx"
 #include "worldobj_group.hxx"
 
-namespace WorldObj {
+namespace WorldObjs {
 
 WorldObjGroup::WorldObjGroup (const WorldObjsData::WorldObjGroupData& data_)
   : data (new WorldObjsData::WorldObjGroupData(data_))
@@ -41,6 +41,6 @@
     (*i)->draw (gc);  
 }
 
-} // namespace WorldObj
+} // namespace WorldObjs
 
 /* EOF */

Index: worldobj_group.hxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/worldobjs/worldobj_group.hxx,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- worldobj_group.hxx  15 Sep 2002 21:21:47 -0000      1.2
+++ worldobj_group.hxx  15 Sep 2002 21:49:58 -0000      1.3
@@ -17,13 +17,13 @@
 //  along with this program; if not, write to the Free Software
 //  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 
-#ifndef HEADER_WORLDOBJ_GROUP_HXX
-#define HEADER_WORLDOBJ_GROUP_HXX
+#ifndef HEADER_PINGUS_WORLDOBJ_GROUP_HXX
+#define HEADER_PINGUS_WORLDOBJ_GROUP_HXX
 
 #include "../worldobj.hxx"
 #include "../worldobjsdata/worldobj_group_data.hxx"
 
-namespace WorldObj {
+namespace WorldObjs {
 
 /** */
 class WorldObjGroup : public WorldObj
@@ -37,12 +37,14 @@
   void update (float delta);
   void draw (GraphicContext& gc);
 
+  float get_z_pos() const { return 10; }
+
 private:
   WorldObjGroup (const WorldObjGroup&);
   WorldObjGroup operator= (const WorldObjGroup&);
 };
 
-} // namespace WorldObj
+} // namespace WorldObjs
 
 #endif
 





reply via email to

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