diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-05-06 08:22:19 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-05-06 08:22:19 -0600 |
commit | 429e82f91487d48ecb5a1742ec6fb6987a2bc9bd (patch) | |
tree | d3789c7ef91680ba6a6a0eee56664ba3de690d94 /src/gui/inventorywindow.h | |
parent | 678c2316e34021bb16ac08eb48186f5570dc691b (diff) | |
download | mana-429e82f91487d48ecb5a1742ec6fb6987a2bc9bd.tar.gz mana-429e82f91487d48ecb5a1742ec6fb6987a2bc9bd.tar.bz2 mana-429e82f91487d48ecb5a1742ec6fb6987a2bc9bd.tar.xz mana-429e82f91487d48ecb5a1742ec6fb6987a2bc9bd.zip |
Remove more inventory handling support #ifdefs
This also fixes some minor bugs and centralizes some logic.
Diffstat (limited to 'src/gui/inventorywindow.h')
-rw-r--r-- | src/gui/inventorywindow.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/gui/inventorywindow.h b/src/gui/inventorywindow.h index a39ea34b..1c8db89c 100644 --- a/src/gui/inventorywindow.h +++ b/src/gui/inventorywindow.h @@ -49,11 +49,7 @@ class InventoryWindow : public Window, /** * Constructor. */ -#ifdef TMWSERV_SUPPORT InventoryWindow(int invSize = (INVENTORY_SIZE)); -#else - InventoryWindow(int invSize = (INVENTORY_SIZE - 2)); -#endif /** * Destructor. @@ -80,7 +76,6 @@ class InventoryWindow : public Window, */ void mouseClicked(gcn::MouseEvent &event); -#ifdef TMWSERV_SUPPORT /** * Handles the key presses. */ @@ -90,7 +85,6 @@ class InventoryWindow : public Window, * Handles the key releases. */ void keyReleased(gcn::KeyEvent &event); -#endif /** * Updates labels to currently selected item. @@ -109,9 +103,7 @@ class InventoryWindow : public Window, int mMaxWeight; gcn::Button *mUseButton; gcn::Button *mDropButton; -#ifdef TMWSERV_SUPPORT gcn::Button *mSplitButton; -#endif gcn::Label *mWeightLabel; gcn::Label *mSlotsLabel; |