summaryrefslogtreecommitdiffstats
path: root/sigmod/Move.cpp
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2009-02-24 13:34:47 -0500
committerBen Boeckel <MathStuf@gmail.com>2009-02-24 13:34:47 -0500
commitecfd6c40473a9eabaa1fd7d8c343fe5e5bb195c3 (patch)
tree78058197c6e222a1f5e53874fcf66af2b4887980 /sigmod/Move.cpp
parent97fac7d7b30058574dc15d7c18382f104bafd833 (diff)
downloadsigen-ecfd6c40473a9eabaa1fd7d8c343fe5e5bb195c3.tar.gz
sigen-ecfd6c40473a9eabaa1fd7d8c343fe5e5bb195c3.tar.xz
sigen-ecfd6c40473a9eabaa1fd7d8c343fe5e5bb195c3.zip
Rename Sigmod::Sigmod to Sigmod::Game so that the identifiers don't clash when using namespace Sigmod
Diffstat (limited to 'sigmod/Move.cpp')
-rw-r--r--sigmod/Move.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/sigmod/Move.cpp b/sigmod/Move.cpp
index 40e79999..42832c12 100644
--- a/sigmod/Move.cpp
+++ b/sigmod/Move.cpp
@@ -23,8 +23,8 @@
#include "Move.h"
// Sigmod includes
+#include "Game.h"
#include "Macros.h"
-#include "Sigmod.h"
// Qt includes
#include <QtCore/QSet>
@@ -38,7 +38,7 @@ Move::Move(const Move& move) :
*this = move;
}
-Move::Move(const Sigmod* parent, const int id) :
+Move::Move(const Game* parent, const int id) :
Object(parent, id),
m_name(""),
m_accuracy(1, 1),
@@ -54,13 +54,13 @@ Move::Move(const Sigmod* parent, const int id) :
{
}
-Move::Move(const Move& move, const Sigmod* parent, const int id) :
+Move::Move(const Move& move, const Game* parent, const int id) :
Object(parent, id)
{
*this = move;
}
-Move::Move(const QDomElement& xml, const Sigmod* parent, const int id) :
+Move::Move(const QDomElement& xml, const Game* parent, const int id) :
Object(parent, id)
{
LOAD_ID();
@@ -142,7 +142,7 @@ CHECK_BEGIN(Move, Fraction&, accuracy)
TBOUNDS_MOD(accuracy, 1, INT_MAX, accuracy.numerator());
CHECK_END()
CHECK_BOUNDS(Move, int, power, 0, INT_MAX)
-CHECK_INDEX(Move, int, type, sigmod(), type)
+CHECK_INDEX(Move, int, type, game(), type)
CHECK(Move, bool, special)
CHECK_BOUNDS(Move, int, powerPoints, 1, INT_MAX)
CHECK(Move, int, priority)