[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pingus-CVS] CVS: Games/Pingus/src/traps Bumper.cc,1.22,1.23
From: |
torangan |
Subject: |
[Pingus-CVS] CVS: Games/Pingus/src/traps Bumper.cc,1.22,1.23 |
Date: |
11 Jun 2002 09:55:15 -0000 |
Update of /usr/local/cvsroot/Games/Pingus/src/traps
In directory dark:/tmp/cvs-serv9718/traps
Modified Files:
Bumper.cc
Log Message:
moved member initialization from constructor body into initialization list
Index: Bumper.cc
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/traps/Bumper.cc,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- Bumper.cc 10 Jun 2002 15:01:23 -0000 1.22
+++ Bumper.cc 11 Jun 2002 09:55:12 -0000 1.23
@@ -28,11 +28,10 @@
#include "Bumper.hh"
#include "../Pingu.hh"
-Bumper::Bumper(const TrapData& data)
+Bumper::Bumper(const TrapData& data) : count(0)
{
pos = data.pos;
surface = PingusResource::load_surface("Traps/bumper", "traps");
- count = 0;
}
Bumper::~Bumper()
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pingus-CVS] CVS: Games/Pingus/src/traps Bumper.cc,1.22,1.23,
torangan <=
- Prev by Date:
[Pingus-CVS] CVS: Games/Pingus/src ActionButton.cc,1.34,1.35 ActionButton.hh,1.23,1.24 ActionData.hh,1.3,1.4 AlphaButton.cc,1.6,1.7 AnimCounter.cc,1.4,1.5 ButtonPanel.cc,1.33,1.34 Client.cc,1.86,1.87
- Next by Date:
[Pingus-CVS] CVS: Games/Pingus/src GameDelta.hh,NONE,1.1 GameEvent.hh,NONE,1.1 InputEvent.hh,NONE,1.1 Screen.cc,NONE,1.1 Screen.hh,NONE,1.1 ScreenManager.cc,NONE,1.1 ScreenManager.hh,NONE,1.1
- Previous by thread:
[Pingus-CVS] CVS: Games/Pingus/src ActionButton.cc,1.34,1.35 ActionButton.hh,1.23,1.24 ActionData.hh,1.3,1.4 AlphaButton.cc,1.6,1.7 AnimCounter.cc,1.4,1.5 ButtonPanel.cc,1.33,1.34 Client.cc,1.86,1.87
- Next by thread:
[Pingus-CVS] CVS: Games/Pingus/src GameDelta.hh,NONE,1.1 GameEvent.hh,NONE,1.1 InputEvent.hh,NONE,1.1 Screen.cc,NONE,1.1 Screen.hh,NONE,1.1 ScreenManager.cc,NONE,1.1 ScreenManager.hh,NONE,1.1
- Index(es):