summaryrefslogtreecommitdiff
path: root/src/actorspritemanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-02-11 14:58:14 +0300
committerAndrei Karas <akaras@inbox.ru>2012-02-11 14:58:14 +0300
commitc14086d6a08fb2ea644eec9fafa0374604c98991 (patch)
tree29a00277b215a32e019fd06cab4b9ac709ac775c /src/actorspritemanager.h
parent7e19d626711ecf70035b32ee99098fc7fc3419fe (diff)
downloadmanaplus-c14086d6a08fb2ea644eec9fafa0374604c98991.tar.gz
manaplus-c14086d6a08fb2ea644eec9fafa0374604c98991.tar.bz2
manaplus-c14086d6a08fb2ea644eec9fafa0374604c98991.tar.xz
manaplus-c14086d6a08fb2ea644eec9fafa0374604c98991.zip
Add relative pixel based position to item drops (floor items).
Diffstat (limited to 'src/actorspritemanager.h')
-rw-r--r--src/actorspritemanager.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/actorspritemanager.h b/src/actorspritemanager.h
index a78e3ad49..d30bad426 100644
--- a/src/actorspritemanager.h
+++ b/src/actorspritemanager.h
@@ -63,7 +63,8 @@ class ActorSpriteManager: public ConfigListener
* Create a FloorItem and add it to the list of ActorSprites.
*/
FloorItem *createItem(int id, int itemId, int x, int y,
- int amount, unsigned char color);
+ int amount, unsigned char color,
+ int subX, int subY);
/**
* Destroys the given ActorSprite at the end of