summaryrefslogtreecommitdiff
path: root/src/gui/outfitwindow.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2009-09-29 21:09:13 +0300
committerChuck Miller <shadowmil@gmail.com>2009-09-29 15:09:24 -0400
commit805edb864a489b8af91db18c7b53bd80b60b0fe0 (patch)
tree6ccf7ece48022e39e3d79fdf04a1215180b34b6f /src/gui/outfitwindow.h
parent50c23cbae082f4aba50620e97ab1f08a16f9703d (diff)
downloadmana-805edb864a489b8af91db18c7b53bd80b60b0fe0.tar.gz
mana-805edb864a489b8af91db18c7b53bd80b60b0fe0.tar.bz2
mana-805edb864a489b8af91db18c7b53bd80b60b0fe0.tar.xz
mana-805edb864a489b8af91db18c7b53bd80b60b0fe0.zip
Outfits update
Increased outfits count to 15 Changed unequip outfits feature Added copy outfits feature
Diffstat (limited to 'src/gui/outfitwindow.h')
-rw-r--r--src/gui/outfitwindow.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/gui/outfitwindow.h b/src/gui/outfitwindow.h
index 3e70815c..5132abee 100644
--- a/src/gui/outfitwindow.h
+++ b/src/gui/outfitwindow.h
@@ -26,6 +26,9 @@
#include <guichan/actionlistener.hpp>
+#define OUTFITS_COUNT 15
+#define OUTFIT_ITEM_COUNT 9
+
class Button;
class CheckBox;
class Item;
@@ -63,6 +66,9 @@ class OutfitWindow : public Window, gcn::ActionListener
{ return mItemSelected > -1; }
void wearOutfit(int outfit);
+ void copyOutfit(int outfit);
+
+ void unequipNotInOutfit(int outfit);
private:
Button *mPreviousButton;
@@ -81,7 +87,8 @@ class OutfitWindow : public Window, gcn::ActionListener
void save();
- int mItems[10][9];
+ int mItems[OUTFITS_COUNT][OUTFIT_ITEM_COUNT];
+ bool mItemsUnequip[OUTFITS_COUNT];
int mItemSelected;
int mCurrentOutfit;