summaryrefslogtreecommitdiff
path: root/src/localplayer.h
diff options
context:
space:
mode:
authorDavid Athay <ko2fan@gmail.com>2008-03-05 18:44:03 +0000
committerDavid Athay <ko2fan@gmail.com>2008-03-05 18:44:03 +0000
commit431a0b17e7eee6b27f98b74f4d073f2131a089dd (patch)
tree446344a335696f12d1eec05a731b094c2d44d991 /src/localplayer.h
parent8d2f8756b0e85f14b5d80ec63dc5e5a7f5f5de3d (diff)
downloadMana-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.h31
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;