[Top][All Lists]
[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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pingus-CVS] CVS: Games/Pingus/src/worldobjs worldobj_group.cxx,1.2,1.3 worldobj_group.hxx,1.2,1.3,
grumbel <=
- Prev by Date:
[Pingus-CVS] CVS: Games/Pingus/src/worldobjsdata worldobj_group_data.cxx,1.2,1.3 worldobj_group_data.hxx,1.2,1.3
- Next by Date:
[Pingus-CVS] CVS: Games/Pingus/src xml_plf.cxx,1.16,1.17 xml_plf.hxx,1.7,1.8
- Previous by thread:
[Pingus-CVS] CVS: Games/Pingus/src/worldobjsdata worldobj_group_data.cxx,1.2,1.3 worldobj_group_data.hxx,1.2,1.3
- Next by thread:
[Pingus-CVS] CVS: Games/Pingus/src xml_plf.cxx,1.16,1.17 xml_plf.hxx,1.7,1.8
- Index(es):