enigma-cvs
[Top][All Lists]
Advanced

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

[Enigma-cvs] enigma/src stones_simple.cc,1.64,1.65


From: Daniel Heck <address@hidden>
Subject: [Enigma-cvs] enigma/src stones_simple.cc,1.64,1.65
Date: Thu, 20 Nov 2003 20:25:35 +0000

Update of /cvsroot/enigma/enigma/src
In directory subversions:/tmp/cvs-serv3076/src

Modified Files:
        stones_simple.cc 
Log Message:

- Cosmetic changes.


Index: stones_simple.cc
===================================================================
RCS file: /cvsroot/enigma/enigma/src/stones_simple.cc,v
retrieving revision 1.64
retrieving revision 1.65
diff -C2 -d -r1.64 -r1.65
*** stones_simple.cc    16 Nov 2003 19:28:58 -0000      1.64
--- stones_simple.cc    20 Nov 2003 20:25:33 -0000      1.65
***************
*** 79,101 ****
  }
  
! //----------------------------------------
! // SimpleStone
! //
! // This kind of stone can be defined from Lua programs with
! // `DefineSimpleStone'.
! //----------------------------------------
  namespace
  {
      class SimpleStone : public Stone {
      public:
!         SimpleStone(const string &knd, const string & snd, bool hollow, bool 
is_glass)
!             : Stone(knd.c_str())
!             , traits(SimpleStoneTraits::Register(snd, hollow, is_glass))
!             , sunglas(false)
          {}
      private:
          SimpleStone(const SimpleStone& other)
!             : Stone(other.get_kind())
!             , traits(other.traits)
          {}
  
--- 79,98 ----
  }
  
! 
! /* -------------------- SimpleStone -------------------- */
! 
  namespace
  {
      class SimpleStone : public Stone {
      public:
!         SimpleStone(const string &knd, const string & snd, 
!                     bool hollow, bool is_glass)
!         : Stone(knd.c_str()), 
!           traits(SimpleStoneTraits::Register(snd, hollow, is_glass)),
!           sunglas(false)
          {}
      private:
          SimpleStone(const SimpleStone& other)
!         : Stone(other.get_kind()), traits(other.traits)
          {}
  
***************
*** 139,148 ****
  }
  
! //----------------------------------------
! // SimpleStoneMovable
! //
! // This kind of stone can be defined from Lua programs with
! // `DefineSimpleStone'.
! //----------------------------------------
  namespace
  {
--- 136,142 ----
  }
  
! 
! /* -------------------- SimpleStoneMovable -------------------- */
! 
  namespace
  {
***************
*** 326,332 ****
  
  
! //----------------------------------------
! // SwapStone
! //----------------------------------------
  namespace
  {
--- 320,325 ----
  
  
! /* -------------------- SwapStone -------------------- */
! 
  namespace
  {





reply via email to

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