diff options
author | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2010-10-19 23:17:18 +0200 |
---|---|---|
committer | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2010-10-19 23:17:18 +0200 |
commit | 14b048899065054bf2a8171a566616607479c09f (patch) | |
tree | 3e531350fdcff72e33dde66bed3574b2e882bd06 /src/net/manaserv/attributes.h | |
parent | 1b21442b5eb6dcc41a585715d07c73ed3ad59a1b (diff) | |
download | mana-14b048899065054bf2a8171a566616607479c09f.tar.gz mana-14b048899065054bf2a8171a566616607479c09f.tar.bz2 mana-14b048899065054bf2a8171a566616607479c09f.tar.xz mana-14b048899065054bf2a8171a566616607479c09f.zip |
Heavy GUI fixes related to stats for Manaserv.
Also tested to be compatible with tA.
Now the Status window is much more nicer when using Manaserv.
HP, max hp, ... are now working fine along with corrections made
in the attributes.xml file (in next commit.)
Reviewed-by: Thorbjorn.
Diffstat (limited to 'src/net/manaserv/attributes.h')
-rw-r--r-- | src/net/manaserv/attributes.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/net/manaserv/attributes.h b/src/net/manaserv/attributes.h index 9791d2cb..aced85ec 100644 --- a/src/net/manaserv/attributes.h +++ b/src/net/manaserv/attributes.h @@ -26,6 +26,7 @@ namespace ManaServ { namespace Attributes { + void load(); void unload(); @@ -40,6 +41,12 @@ namespace Attributes { std::vector<std::string>& getLabels(); /** + * Give back the corresponding playerinfo Id from the attribute id + * defined in the xml file. + */ + int getPlayerInfoIdFromAttrId(int attrId); + + /** * Give the attribute points given to a character * at its creation. */ |