diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-10-24 10:58:58 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-10-24 10:58:58 -0600 |
commit | c3ac3fb3b95d0abcd2cbc51e8ff1f2498cc6841b (patch) | |
tree | 709fda8a3974b5e73d4cd4d7e688c544ce03ed96 /src/gui/statuswindow.cpp | |
parent | 86e5e4c5bd29abcd90d21a64fdea7eac73665356 (diff) | |
download | mana-c3ac3fb3b95d0abcd2cbc51e8ff1f2498cc6841b.tar.gz mana-c3ac3fb3b95d0abcd2cbc51e8ff1f2498cc6841b.tar.bz2 mana-c3ac3fb3b95d0abcd2cbc51e8ff1f2498cc6841b.tar.xz mana-c3ac3fb3b95d0abcd2cbc51e8ff1f2498cc6841b.zip |
REplace instances of TMW with Mana
Diffstat (limited to 'src/gui/statuswindow.cpp')
-rw-r--r-- | src/gui/statuswindow.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
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; |