[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdegames/kmines
From: Nicolas Hadacek <hadacek () kde ! org>
Date: 2004-02-03 4:07:11
Message-ID: 20040203040711.115A998F1 () office ! kde ! org
[Download RAW message or body]
CVS commit by hadacek:
fix code (thanks Waldo)
CCMAIL: bastian@kde.org
M +1 -2 field.h 1.42
M +1 -1 status.cpp 1.72
--- kdegames/kmines/field.h #1.41:1.42
@@ -48,5 +48,4 @@ class Field : public FieldFrame, public
void pause();
void setGameOver() { _state = GameOver; }
- bool hasCompleteReveal() const { return _completeReveal; }
void moveCursor(Neighbour);
@@ -84,5 +83,5 @@ class Field : public FieldFrame, public
private:
GameState _state;
- bool _reveal, _completeReveal;
+ bool _reveal;
SolvingState _solvingState;
KGrid2D::Coord _cursor, _advisedCoord;
--- kdegames/kmines/status.cpp #1.71:1.72
@@ -205,5 +205,5 @@ void Status::setGameOver(bool won)
_logRoot.setAttribute("count", dg->nbActions());
- if ( field->hasCompleteReveal() )
+ if ( Settings::magicReveal() )
_logRoot.setAttribute("complete_reveal", "true");
QString sa = "none";
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic