[Top][All Lists]
[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
{
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Enigma-cvs] enigma/src stones_simple.cc,1.64,1.65,
Daniel Heck <address@hidden> <=
- Prev by Date:
[Enigma-cvs] enigma/src enigma-lua.hh, 1.26, 1.27 enigma-lua.cc, 1.27, 1.28 display-lua.hh, 1.3, 1.4 display-lua.cc, 1.3, 1.4
- Next by Date:
[Enigma-cvs] enigma ChangeLog,1.56,1.57
- Previous by thread:
[Enigma-cvs] enigma/src enigma-lua.hh, 1.26, 1.27 enigma-lua.cc, 1.27, 1.28 display-lua.hh, 1.3, 1.4 display-lua.cc, 1.3, 1.4
- Next by thread:
[Enigma-cvs] enigma ChangeLog,1.56,1.57
- Index(es):