diff options
author | Stijn Buys <ingar@osirion.org> | 2008-07-24 00:47:13 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-07-24 00:47:13 +0000 |
commit | aaa4ff61f7b17759c4f4ccb3ac9011dd5f8a93f5 (patch) | |
tree | fafec5ef0c99f28cfa6b5b652d98b63b7a4673de /src/core/player.h | |
parent | 11c122eb1cc86ca1a40c84eb411ccd97791dc47d (diff) |
primary, secondary, tertiary color rendering
Diffstat (limited to 'src/core/player.h')
-rw-r--r-- | src/core/player.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/core/player.h b/src/core/player.h index fa13b22..e37c577 100644 --- a/src/core/player.h +++ b/src/core/player.h @@ -44,9 +44,12 @@ public: /// the entity the Player is currently controling inline EntityControlable *control() const { return player_control; } - /// player base color + /// player primary color inline math::Color const & color() const { return player_color; } + /// player secondary color + inline math::Color const & color_second() const { return player_color_second; } + /// player has been muted by admin or console inline bool mute() const { return player_mute; } @@ -93,12 +96,15 @@ public: /// id of the player int player_id; - // name of the player + /// name of the player std::string player_name; - /// player color + /// player primary color math::Color player_color; + /// player secondary color + math::Color player_color_second; + /// player is muted by admin bool player_mute; |