X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=src%2Fgame.cpp;fp=src%2Fgame.cpp;h=5fc6b0732fa1fbc9953a26db681eeea71dec6c65;hb=041a1785b32d89154d1bf7c46a11ea6e9071da78;hp=7c9f8296008a3b54d75e8dda35e4358c3fda3d74;hpb=462596a2acca873edad9db35bf3fb42913864632;p=evilplumber diff --git a/src/game.cpp b/src/game.cpp index 7c9f829..5fc6b07 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -154,6 +154,10 @@ bool GameField::setPiece(int row, int col, const Piece* piece, bool fixed) QLabel* label = (QLabel*)fieldUi->indexWidget(index); label->setPixmap(QPixmap(iconId)); + if (fixed) { + label->setStyleSheet("background-color: #263d49"); + } + return true; } return false; @@ -190,7 +194,7 @@ void GameField::indicateFlow(int row, int col, Direction dir) if (row < 0 || col < 0 || row >= rows || col >= cols) { return; } - if (dir == DirDone || dir == DirFailed || dir == DirPassed) { + if (dir == DirFailed || dir == DirPassed) { // No need to indicate these pseudo-directions return; } @@ -742,14 +746,15 @@ void LevelSwitcher::writeSavedGames() file.close(); } -// Todo next: -// better graphics -// save & load -// level collections: introduction + basic -// more levels +// TODO: +// --- 0.1 --- +// more levels to the basic collection // make fixed pipes look different than non-fixed ones +// get rid of debug prints +// --- 0.2 --- +// ability to install level sets as different packages +// better graphics // color theme -// -------------- // re-placing pieces // graphical hints on what to do next // graphical help, showing the ui elements: demo