summaryrefslogtreecommitdiff
path: root/src/localplayer.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-03-08 18:40:48 -0600
committerJared Adams <jaxad0127@gmail.com>2009-03-08 18:40:48 -0600
commit6099a24784843ac2c6eb4036f5c08bba2f9299c3 (patch)
tree7bc6684986ec10d9fa241b98b9a27e511233cc63 /src/localplayer.cpp
parent989be6b1e7634726f5f49e19d6e7dabad7c793e6 (diff)
downloadmana-6099a24784843ac2c6eb4036f5c08bba2f9299c3.tar.gz
mana-6099a24784843ac2c6eb4036f5c08bba2f9299c3.tar.bz2
mana-6099a24784843ac2c6eb4036f5c08bba2f9299c3.tar.xz
mana-6099a24784843ac2c6eb4036f5c08bba2f9299c3.zip
Add an interface for eAthena's storage system
Diffstat (limited to 'src/localplayer.cpp')
-rw-r--r--src/localplayer.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp
index abeb134c..296bc28c 100644
--- a/src/localplayer.cpp
+++ b/src/localplayer.cpp
@@ -38,6 +38,7 @@
#include "gui/gui.h"
#include "gui/ministatus.h"
+#include "gui/storagewindow.h"
#include "net/messageout.h"
#include "net/protocol.h"
@@ -742,3 +743,9 @@ void LocalPlayer::loadTargetCursor(std::string filename, int width, int height,
mTargetCursor[index][size] = currentCursor;
}
+void LocalPlayer::setInStorage(bool inStorage)
+{
+ mInStorage = inStorage;
+
+ storageWindow->setVisible(inStorage);
+}