summaryrefslogtreecommitdiff
path: root/src/being.h
diff options
context:
space:
mode:
authorGuillaume Melquiond <guillaume.melquiond@gmail.com>2006-09-02 11:58:35 +0000
committerGuillaume Melquiond <guillaume.melquiond@gmail.com>2006-09-02 11:58:35 +0000
commit2b322bf18d80acb464a9dc1820e581e7204cca1e (patch)
tree6938f1d8f63c8d8c1142b972117b42d2c50d1883 /src/being.h
parentda43e09d2b043d5c75ad0adb87dd43f1fe36fe8f (diff)
downloadmana-client-2b322bf18d80acb464a9dc1820e581e7204cca1e.tar.gz
mana-client-2b322bf18d80acb464a9dc1820e581e7204cca1e.tar.bz2
mana-client-2b322bf18d80acb464a9dc1820e581e7204cca1e.tar.xz
mana-client-2b322bf18d80acb464a9dc1820e581e7204cca1e.zip
Switched to short IDs for beings.
Diffstat (limited to 'src/being.h')
-rw-r--r--src/being.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/being.h b/src/being.h
index 7c08ab81..b2495a29 100644
--- a/src/being.h
+++ b/src/being.h
@@ -112,7 +112,7 @@ class Being : public Sprite
/**
* Constructor.
*/
- Being(Uint32 id, Uint16 job, Map *map);
+ Being(Uint16 id, Uint16 job, Map *map);
/**
* Destructor.
@@ -274,14 +274,14 @@ class Being : public Sprite
/**
* Gets the sprite id.
*/
- Uint32
+ Uint16
getId() const { return mId; }
/**
* Sets the sprite id.
*/
void
- setId(Uint32 id) { mId = id; }
+ setId(Uint16 id) { mId = id; }
/**
* Sets the map the being is on
@@ -348,7 +348,7 @@ class Being : public Sprite
SpriteDirection
getSpriteDirection() const;
- Uint32 mId; /**< Unique sprite id */
+ Uint16 mId; /**< Unique being id */
Uint8 mSex; /**< Character's gender */
Uint16 mWeapon; /**< Weapon picture id */
Uint16 mWalkSpeed; /**< Walking speed */