diff options
author | Thorbjørn Lindeijer <bjorn@lindeijer.nl> | 2024-03-04 16:29:14 +0100 |
---|---|---|
committer | Thorbjørn Lindeijer <bjorn@lindeijer.nl> | 2024-03-04 20:20:52 +0100 |
commit | 5c7f9d1d216fd1edca231ed274ac3077cb34909f (patch) | |
tree | 234405f8f9d0b422a02d8cc44854aaa6992cf2d9 /src/net/charhandler.h | |
parent | d5ebad4e74da011777f9ba1a13fbb37d18c827b9 (diff) | |
download | mana-5c7f9d1d216fd1edca231ed274ac3077cb34909f.tar.gz mana-5c7f9d1d216fd1edca231ed274ac3077cb34909f.tar.bz2 mana-5c7f9d1d216fd1edca231ed274ac3077cb34909f.tar.xz mana-5c7f9d1d216fd1edca231ed274ac3077cb34909f.zip |
Fixed character display
This change fixes hair style to take into account "race", which makes
the faces visible again. Hair colors should also be fixed now, with
partial support for itemcolors.xml added.
The Mana client now also supports per-character gender, and it now hides
the hair style and color buttons on character creation, when there are
none to choose from.
Closes #43
Diffstat (limited to 'src/net/charhandler.h')
-rw-r--r-- | src/net/charhandler.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/net/charhandler.h b/src/net/charhandler.h index ee8f2298..cebf0b93 100644 --- a/src/net/charhandler.h +++ b/src/net/charhandler.h @@ -78,6 +78,12 @@ class CharHandler virtual unsigned int maxSprite() const = 0; /** + * Returns the min permitted hair color Id at character creation time, + * or 0 if there is no minimum. + */ + virtual int getCharCreateMinHairColorId() const { return 0; } + + /** * Returns the max permitted hair color Id at character creation time, * or 0 if no limit should be applied. */ |