summaryrefslogtreecommitdiff
path: root/src/inventory.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-02-27 03:36:52 +0200
committerAndrei Karas <akaras@inbox.ru>2011-02-27 03:36:52 +0200
commit1b57518ca97c670174f89c5af28659b6ad0c3d42 (patch)
tree369c6e2f8cfbd791f252de68c0f85bd1af47c351 /src/inventory.h
parent037248d338291529e0c044a80ca8345abe05dd2b (diff)
downloadmv-1b57518ca97c670174f89c5af28659b6ad0c3d42.tar.gz
mv-1b57518ca97c670174f89c5af28659b6ad0c3d42.tar.bz2
mv-1b57518ca97c670174f89c5af28659b6ad0c3d42.tar.xz
mv-1b57518ca97c670174f89c5af28659b6ad0c3d42.zip
Implement receiving item color from server.
Diffstat (limited to 'src/inventory.h')
-rw-r--r--src/inventory.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/inventory.h b/src/inventory.h
index e53052f2b..1e2d8a2bc 100644
--- a/src/inventory.h
+++ b/src/inventory.h
@@ -91,13 +91,14 @@ class Inventory
/**
* Adds a new item in a free slot.
*/
- void addItem(int id, int quantity, int refine, bool equipment = false);
+ void addItem(int id, int quantity, int refine, unsigned char color,
+ bool equipment = false);
/**
* Sets the item at the given position.
*/
void setItem(int index, int id, int quantity, int refine,
- bool equipment = false);
+ unsigned char color, bool equipment = false);
/**
* Remove a item from the inventory.