diff options
Diffstat (limited to 'src/gui/outfitwindow.h')
-rw-r--r-- | src/gui/outfitwindow.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/outfitwindow.h b/src/gui/outfitwindow.h index 8c73b13e0..7fd29608c 100644 --- a/src/gui/outfitwindow.h +++ b/src/gui/outfitwindow.h @@ -64,6 +64,8 @@ class OutfitWindow : public Window, gcn::ActionListener void setItemSelected(int itemId) { mItemSelected = itemId; } + void setItemSelected(Item *item); + bool isItemSelected() { return mItemSelected > 0; } @@ -120,8 +122,10 @@ class OutfitWindow : public Window, gcn::ActionListener void save(); int mItems[OUTFITS_COUNT + 1][OUTFIT_ITEM_COUNT]; + unsigned char mItemColors[OUTFITS_COUNT + 1][OUTFIT_ITEM_COUNT]; bool mItemsUnequip[OUTFITS_COUNT]; int mItemSelected; + int mItemColorSelected; int mCurrentOutfit; int mAwayOutfit; |