diff options
author | David Athay <ko2fan@gmail.com> | 2008-03-05 18:44:03 +0000 |
---|---|---|
committer | David Athay <ko2fan@gmail.com> | 2008-03-05 18:44:03 +0000 |
commit | 431a0b17e7eee6b27f98b74f4d073f2131a089dd (patch) | |
tree | 446344a335696f12d1eec05a731b094c2d44d991 /src/localplayer.h | |
parent | 8d2f8756b0e85f14b5d80ec63dc5e5a7f5f5de3d (diff) | |
download | mana-431a0b17e7eee6b27f98b74f4d073f2131a089dd.tar.gz mana-431a0b17e7eee6b27f98b74f4d073f2131a089dd.tar.bz2 mana-431a0b17e7eee6b27f98b74f4d073f2131a089dd.tar.xz mana-431a0b17e7eee6b27f98b74f4d073f2131a089dd.zip |
Fixed guild creation.
Diffstat (limited to 'src/localplayer.h')
-rw-r--r-- | src/localplayer.h | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/src/localplayer.h b/src/localplayer.h index 9b4c7eb3..9bad9436 100644 --- a/src/localplayer.h +++ b/src/localplayer.h @@ -24,7 +24,6 @@ #ifndef _TMW_LOCALPLAYER_H #define _TMW_LOCALPLAYER_H -#include "guild.h" #include "player.h" // TODO move into some sane place... @@ -153,33 +152,6 @@ class LocalPlayer : public Player drawName(Graphics *, int, int) {}; /** - * Adds a guild to the local player. - */ - void addGuild(short guildId, bool inviteRights); - - /** - * Removers a guild from the local player. - */ - void removeGuild(short guildId); - - /** - * Finds a guild the local player belongs to, by the guildId - * @return returns the guild associated with the guildId - */ - Guild* findGuildById(short guildId); - - /** - * Finds a guild the local player belongs to, by the guild's name. - * @return returns the guild with that name - */ - Guild* findGuildByName(const std::string &guildName); - - /** - * Get number of guilds the player belongs to - */ - short getNumberOfGuilds(); - - /** * Check the player has permission to invite users */ bool checkInviteRights(const std::string &guildName); @@ -369,9 +341,6 @@ class LocalPlayer : public Player protected: void walk(unsigned char dir); - // Character guild information - std::vector<Guild*> mGuilds; - // Character status: std::vector<int> mAttributeBase; std::vector<int> mAttributeEffective; |