pingus-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pingus-CVS] CVS: Games/Pingus/src/traps fake_exit.cxx,1.4,1.5 hammer.cx


From: torangan
Subject: [Pingus-CVS] CVS: Games/Pingus/src/traps fake_exit.cxx,1.4,1.5 hammer.cxx,1.7,1.8 laser_exit.cxx,1.5,1.6 smasher.cxx,1.6,1.7
Date: 25 Aug 2002 09:08:51 -0000

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

Modified Files:
        fake_exit.cxx hammer.cxx laser_exit.cxx smasher.cxx 
Log Message:
- moved actions into own namespace
- some little cleanup


Index: fake_exit.cxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/traps/fake_exit.cxx,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- fake_exit.cxx       28 Jun 2002 15:12:23 -0000      1.4
+++ fake_exit.cxx       25 Aug 2002 09:08:49 -0000      1.5
@@ -25,7 +25,7 @@
 
 #include "fake_exit.hxx"
 
-using namespace Pingus::Actions;
+using namespace Actions;
 
 FakeExit::FakeExit(const TrapData& data) : smashing(false)
 {

Index: hammer.cxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/traps/hammer.cxx,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- hammer.cxx  23 Aug 2002 15:49:56 -0000      1.7
+++ hammer.cxx  25 Aug 2002 09:08:49 -0000      1.8
@@ -24,7 +24,7 @@
 #include "../pingu_holder.hxx"
 #include "../pingu.hxx"
 
-using namespace Pingus::Actions;
+using namespace Actions;
 
 Hammer::Hammer(const TrapData& data)
 {

Index: laser_exit.cxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/traps/laser_exit.cxx,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- laser_exit.cxx      23 Aug 2002 15:49:56 -0000      1.5
+++ laser_exit.cxx      25 Aug 2002 09:08:49 -0000      1.6
@@ -77,7 +77,7 @@
          if (!(pingu->get_action() && pingu->get_action()->get_name() == 
"LaserKill")) 
            {
              killing = true;
-             pingu->set_action(Pingus::Actions::Laserkill);
+             pingu->set_action(Actions::Laserkill);
            }
        }
     }

Index: smasher.cxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/traps/smasher.cxx,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- smasher.cxx 17 Aug 2002 17:56:24 -0000      1.6
+++ smasher.cxx 25 Aug 2002 09:08:49 -0000      1.7
@@ -29,7 +29,7 @@
 #include "../pingu_action_factory.hxx"
 #include "../pingu.hxx"
 
-using namespace Pingus::Actions;
+using namespace Actions;
 
 Smasher::Smasher(const TrapData& data) : smashing(false), downwards(false), 
count(0)
 {





reply via email to

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