From aaa4ff61f7b17759c4f4ccb3ac9011dd5f8a93f5 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Thu, 24 Jul 2008 00:47:13 +0000 Subject: primary, secondary, tertiary color rendering --- src/core/player.h | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'src/core/player.h') 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; -- cgit v1.2.3