summaryrefslogtreecommitdiff
path: root/src/localplayer.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-03-27 17:45:36 +0100
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-03-27 17:45:45 +0100
commit1dcaa196fd8339dbdd28f9c09c62636b663a3846 (patch)
treec7faf82210e428787804204e3dc8e5dc6c725947 /src/localplayer.h
parent17b2b19e7b907ae955e500d44dd167d2f31ce7bd (diff)
downloadmana-1dcaa196fd8339dbdd28f9c09c62636b663a3846.tar.gz
mana-1dcaa196fd8339dbdd28f9c09c62636b663a3846.tar.bz2
mana-1dcaa196fd8339dbdd28f9c09c62636b663a3846.tar.xz
mana-1dcaa196fd8339dbdd28f9c09c62636b663a3846.zip
Fixed some positioning issues
Started with not being able to click NPCs properly, and I ended up correcting the draw positions of overhead text, targets and sprite ordering. It's now a bit more straight-forward. The position of a being is simply in the middle of the sprite at the bottom. When drawing the sprite, an offset remains because all the sprites are compensating for getting drawn half a tile to the left and one tile up.
Diffstat (limited to 'src/localplayer.h')
-rw-r--r--src/localplayer.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/localplayer.h b/src/localplayer.h
index 99cb00d6..77e9ac02 100644
--- a/src/localplayer.h
+++ b/src/localplayer.h
@@ -145,7 +145,7 @@ class LocalPlayer : public Player
#ifdef TMWSERV_SUPPORT
LocalPlayer();
#else
- LocalPlayer(Uint32 id, Uint16 job, Map *map);
+ LocalPlayer(int id, int job, Map *map);
#endif
/**
@@ -170,13 +170,13 @@ class LocalPlayer : public Player
/**
* Returns the player's inventory.
*/
- Inventory* getInventory() const { return mInventory; }
+ Inventory *getInventory() const { return mInventory; }
#ifdef EATHENA_SUPPORT
/**
* Returns the player's storage
*/
- Inventory* getStorage() const { return mStorage; }
+ Inventory *getStorage() const { return mStorage; }
#endif
#ifdef TMWSERV_SUPPORT
@@ -275,9 +275,6 @@ class LocalPlayer : public Player
/**
* Triggers whether or not to show the name as a GM name.
- * NOTE: This doesn't mean that just anyone can use this.
- * If the server doesn't acknowlege you, you won't be shown
- * as a GM on other people's clients.
*/
virtual void setGM();