diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-08-09 12:43:10 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-08-09 21:37:15 +0300 |
commit | 7de8936d864564b2a9fafaa74af84ec10e755388 (patch) | |
tree | aaae9812510121cdc894e375b387b9f4b1a77c28 /src/gui/whoisonline.h | |
parent | 39172957623e0b91343e51e2694c78d9c3b1a5fe (diff) | |
download | plus-7de8936d864564b2a9fafaa74af84ec10e755388.tar.gz plus-7de8936d864564b2a9fafaa74af84ec10e755388.tar.bz2 plus-7de8936d864564b2a9fafaa74af84ec10e755388.tar.xz plus-7de8936d864564b2a9fafaa74af84ec10e755388.zip |
Hightlight gms in online list with "friends" color and letters (GM).
Diffstat (limited to 'src/gui/whoisonline.h')
-rw-r--r-- | src/gui/whoisonline.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/gui/whoisonline.h b/src/gui/whoisonline.h index 4f70b24f9..1158ce03c 100644 --- a/src/gui/whoisonline.h +++ b/src/gui/whoisonline.h @@ -56,7 +56,8 @@ class OnlinePlayer mStatus(status), mLevel(level), mVersion(version), - mGender(gender) + mGender(gender), + mIsGM(false) { } @@ -66,6 +67,9 @@ class OnlinePlayer unsigned char getStaus() const { return mStatus; } + void setIsGM(bool b) + { mIsGM = b; } + char getVersion() const { return mVersion; } @@ -92,6 +96,8 @@ class OnlinePlayer char mVersion; unsigned char mGender; + + bool mIsGM; }; /** |