From c3ac3fb3b95d0abcd2cbc51e8ff1f2498cc6841b Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Sat, 24 Oct 2009 10:58:58 -0600 Subject: REplace instances of TMW with Mana --- src/gui/statuswindow.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/gui/statuswindow.cpp') diff --git a/src/gui/statuswindow.cpp b/src/gui/statuswindow.cpp index e89b7437..81b83fe6 100644 --- a/src/gui/statuswindow.cpp +++ b/src/gui/statuswindow.cpp @@ -81,7 +81,7 @@ class ChangeDisplay : public AttrDisplay, gcn::ActionListener int mNeeded; Label *mPoints; -#ifdef TMWSERV_SUPPORT +#ifdef MANASERV_SUPPORT Button *mDec; #endif Button *mInc; @@ -163,7 +163,7 @@ StatusWindow::StatusWindow(): mCharacterPointsLabel = new Label("C"); place(0, 6, mCharacterPointsLabel, 5); -#ifdef TMWSERV_SUPPORT +#ifdef MANASERV_SUPPORT mCorrectionPointsLabel = new Label("C"); place(0, 7, mCorrectionPointsLabel, 5); #endif @@ -231,7 +231,7 @@ std::string StatusWindow::update(int id) player_node->getCharacterPoints())); mCharacterPointsLabel->adjustSize(); -#ifdef TMWSERV_SUPPORT +#ifdef MANASERV_SUPPORT mCorrectionPointsLabel->setCaption(strprintf(_("Correction points: %d"), player_node->getCorrectionPoints())); mCorrectionPointsLabel->adjustSize(); @@ -486,7 +486,7 @@ ChangeDisplay::ChangeDisplay(int id, const std::string &name): place(6, 0, mInc); place(7, 0, mPoints); -#ifdef TMWSERV_SUPPORT +#ifdef MANASERV_SUPPORT mDec = new Button(_("-"), "dec", this); mDec->setWidth(mInc->getWidth()); @@ -500,7 +500,7 @@ std::string ChangeDisplay::update() { mPoints->setCaption(toString(mNeeded)); -#ifdef TMWSERV_SUPPORT +#ifdef MANASERV_SUPPORT mDec->setEnabled(player_node->getCorrectionPoints()); #endif mInc->setEnabled(player_node->getCharacterPoints() >= mNeeded); @@ -517,7 +517,7 @@ void ChangeDisplay::setPointsNeeded(int needed) void ChangeDisplay::action(const gcn::ActionEvent &event) { -#ifdef TMWSERV_SUPPORT +#ifdef MANASERV_SUPPORT if (event.getSource() == mDec) { int newcorpoints = player_node->getCorrectionPoints() - 1; -- cgit v1.2.3-60-g2f50