Commit 1b425561 authored by Dirk Mueller's avatar Dirk Mueller
Browse files

pedantic

svn path=/trunk/playground/games/ksirk/; revision=645378
parent d13c1c04
......@@ -71,6 +71,6 @@ private:
QList<QString> m_strings;
QList<ElemType> m_order;
} ; // class KsirkChatItem
Q_DECLARE_METATYPE(KsirkChatItem);
Q_DECLARE_METATYPE(KsirkChatItem)
#endif // KSIRKCHATITEM_H
......@@ -1012,7 +1012,7 @@ QDataStream& operator>>(QDataStream& s, GameAutomaton::GameState& state)
s >> istate;
state = GameAutomaton::GameState(istate);
return s;
};
}
bool GameAutomaton::setupPlayersNumberAndSkin(bool& networkGame, int& port, uint& newPlayersNumber)
......@@ -2227,7 +2227,7 @@ void GameAutomaton::explosionFinished()
}
}
}; // closing namespace GameLogic
}; // closing namespace Ksirk
} // closing namespace GameLogic
} // closing namespace Ksirk
#include "gameautomaton.moc"
......@@ -97,7 +97,7 @@ enum KsirkMessagesIds {
Winner, // 305
NbPlayers, // 306
FinalizePlayers, // 307
Acknowledge, // 308
Acknowledge // 308
};
/** Messages formats:
......
......@@ -46,7 +46,7 @@ public:
NoGoal, /**< The goal is to conquer all the world. */
GoalPlayer, /**< The goal is to eliminate one player. */
Countries, /**< The goal is to conquier a given number of countries. */
Continents, /**< The goal is to conquier a few continents. */
Continents /**< The goal is to conquier a few continents. */
};
......
......@@ -73,7 +73,7 @@ Player::Player(
bool Player::operator==(const Player& player) const
{
return (name() == player.name());
};
}
/** */
......
......@@ -95,7 +95,7 @@ AnimSprite::~AnimSprite()
void AnimSprite::repaint()
{
update();
};
}
void AnimSprite::setLook(TDir newLook)
{
......
......@@ -35,12 +35,12 @@ BackGnd::BackGnd(QGraphicsScene *scene, const GameLogic::ONU* theWorld) :
setPixmap(theWorld->map());
setZValue(1);
show();
};
}
BackGnd::~BackGnd()
{
// m_frame = 0;
};
}
......
......@@ -45,4 +45,4 @@ void CannonSprite::setupTravel(
}
}
};
}
......@@ -51,4 +51,4 @@ void CavalrySprite::setupTravel(
}
};
}
......@@ -75,6 +75,6 @@ private:
static const unsigned int m_nbArmies = 5;
};
};
}
#endif
......@@ -57,6 +57,6 @@ public:
virtual ~FlagSprite() {}
};
};
}
#endif
......@@ -50,4 +50,4 @@ void InfantrySprite::setupTravel(
}
}
};
}
......@@ -76,6 +76,6 @@ private:
static const unsigned int m_nbArmies = 1;
};
};
}
#endif
......@@ -115,5 +115,5 @@ void SkinSpritesData::intData(const QString& name, int data)
}
}; // closing namespace GameLogic
}; // closing namespace Ksirk
} // closing namespace GameLogic
} // closing namespace Ksirk
......@@ -106,7 +106,7 @@ private:
std::map<QString, QString> m_strDatas;
};
}; // closing namespace Sprites
}; // closing namespace Ksirk
} // closing namespace Sprites
} // closing namespace Ksirk
#endif // KSIRK_SPRITES_SKINSPRITESDATA_H
......@@ -310,7 +310,7 @@ void KGameWindow::newSkin(const QString& onuFileName)
// toolBar("mainToolBar")-> setBarPos(KToolBar::Bottom);
// toolBar("gameActionsToolBar")-> setBarPos(KToolBar::Bottom);
m_frame->setFocus();
};
}
void KGameWindow::initView()
{
......
......@@ -161,7 +161,7 @@ void KGameWindow::evenementTimer()
// kDebug() << "restarting timer" << endl;
m_timer.start(200);
}
};
}
void KGameWindow::slotLeftButtonDown(const QPointF& point)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment