[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pingus-CVS] CVS: Games/Pingus/src/worldobjs conveyor_belt.cxx,1.1,1.2 i
From: |
torangan |
Subject: |
[Pingus-CVS] CVS: Games/Pingus/src/worldobjs conveyor_belt.cxx,1.1,1.2 ice_block.cxx,1.1,1.2 |
Date: |
19 Jun 2002 15:19:29 -0000 |
Update of /usr/local/cvsroot/Games/Pingus/src/worldobjs
In directory dark:/tmp/cvs-serv18271/worldobjs
Modified Files:
conveyor_belt.cxx ice_block.cxx
Log Message:
- Initialized some unitialized members
- moved some initializations from body to initlist
This fixes the bug that the level end is not recognized and maybe some bugs
in the actions too
Index: conveyor_belt.cxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/worldobjs/conveyor_belt.cxx,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- conveyor_belt.cxx 12 Jun 2002 19:03:10 -0000 1.1
+++ conveyor_belt.cxx 19 Jun 2002 15:19:26 -0000 1.2
@@ -28,10 +28,8 @@
#include "../pingu.hxx"
#include "../boost/smart_ptr.hpp"
-ConveyorBeltData::ConveyorBeltData ()
+ConveyorBeltData::ConveyorBeltData () : width(5), speed(2)
{
- width = 5;
- speed = 2;
}
/** Writte the content of this object formated as xml to the given
Index: ice_block.cxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/worldobjs/ice_block.cxx,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- ice_block.cxx 12 Jun 2002 19:03:10 -0000 1.1
+++ ice_block.cxx 19 Jun 2002 15:19:26 -0000 1.2
@@ -29,9 +29,8 @@
#include "../pingu.hxx"
#include "../boost/smart_ptr.hpp"
-IceBlockData::IceBlockData ()
+IceBlockData::IceBlockData () : width(1)
{
- width = 1;
}
void
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pingus-CVS] CVS: Games/Pingus/src/worldobjs conveyor_belt.cxx,1.1,1.2 ice_block.cxx,1.1,1.2,
torangan <=
- Prev by Date:
[Pingus-CVS] CVS: Games/Pingus/src/actions angel.cxx,1.1,1.2 basher.cxx,1.2,1.3 boarder.cxx,1.1,1.2 boarder.hxx,1.1,1.2 bomber.cxx,1.1,1.2 bridger.cxx,1.1,1.2 bridger.hxx,1.1,1.2 digger.cxx,1.1,1.2 faller.cxx,1.1,1.2 faller.hxx,1.1,1.2 floater.cxx,1.2,1.3
- Next by Date:
[Pingus-CVS] CVS: Games/Pingus/src/editor editor.cxx,1.3,1.4 editorobj_group.hxx,1.2,1.3
- Previous by thread:
[Pingus-CVS] CVS: Games/Pingus/src/actions angel.cxx,1.1,1.2 basher.cxx,1.2,1.3 boarder.cxx,1.1,1.2 boarder.hxx,1.1,1.2 bomber.cxx,1.1,1.2 bridger.cxx,1.1,1.2 bridger.hxx,1.1,1.2 digger.cxx,1.1,1.2 faller.cxx,1.1,1.2 faller.hxx,1.1,1.2 floater.cxx,1.2,1.3
- Next by thread:
[Pingus-CVS] CVS: Games/Pingus/src/editor editor.cxx,1.3,1.4 editorobj_group.hxx,1.2,1.3
- Index(es):