summaryrefslogtreecommitdiff
path: root/src/net/manaserv/charhandler.h
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2010-05-17 19:16:11 -0600
committerJared Adams <jaxad0127@gmail.com>2010-05-17 21:49:16 -0600
commit3b4e7795c9ab3036988a1a7dfe6f5ed2ad12199d (patch)
treeed0e8cc5b608c31ac79e6d1de03d9ddfc74fa339 /src/net/manaserv/charhandler.h
parent51945aa1af6f2a6dc15027ef40cf0ccf424d46e1 (diff)
downloadMana-3b4e7795c9ab3036988a1a7dfe6f5ed2ad12199d.tar.gz
Mana-3b4e7795c9ab3036988a1a7dfe6f5ed2ad12199d.tar.bz2
Mana-3b4e7795c9ab3036988a1a7dfe6f5ed2ad12199d.tar.xz
Mana-3b4e7795c9ab3036988a1a7dfe6f5ed2ad12199d.zip
Remove Monster, Player, and NPC classes
Instead of having these three subclasses with minor differences, this commit merges them back into Being. In the future, we can make Beings that are talkable to some, attackable by others, etc. This also puts back support for monster equipment. Also changes remaining references to Being::Type and the constants to refer to ActorSprite::Type. Reviewed-by: Freeyorp
Diffstat (limited to 'src/net/manaserv/charhandler.h')
-rw-r--r--src/net/manaserv/charhandler.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net/manaserv/charhandler.h b/src/net/manaserv/charhandler.h
index 26a7bf4e..dac4a29e 100644
--- a/src/net/manaserv/charhandler.h
+++ b/src/net/manaserv/charhandler.h
@@ -65,11 +65,11 @@ class CharHandler : public MessageHandler, public Net::CharHandler
void switchCharacter();
- int baseSprite() const;
+ unsigned int baseSprite() const;
- int hairSprite() const;
+ unsigned int hairSprite() const;
- int maxSprite() const;
+ unsigned int maxSprite() const;
void clear();