Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-07-13 16:37:18 +0000
committerStijn Buys <ingar@osirion.org>2008-07-13 16:37:18 +0000
commit3a3ba622dbf9c035b0f26979601b2d4d192b4167 (patch)
tree1439700a9df9ba1dd32ae1f7ca86c5caa0fd4d1c /src/core/player.h
parent2e789cb9894ac5a9565013b134f1c1e51174f430 (diff)
connection sequence updates, breaks network protocol
Diffstat (limited to 'src/core/player.h')
-rw-r--r--src/core/player.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/core/player.h b/src/core/player.h
index b8dd100..fa13b22 100644
--- a/src/core/player.h
+++ b/src/core/player.h
@@ -47,6 +47,9 @@ public:
/// player base color
inline math::Color const & color() const { return player_color; }
+ /// player has been muted by admin or console
+ inline bool mute() const { return player_mute; }
+
/*----- mutators -------------------------------------------------- */
/// serialize player info to a stream
@@ -96,10 +99,15 @@ public:
/// player color
math::Color player_color;
+ /// player is muted by admin
+ bool player_mute;
+
/// the entity the Player is currently controling
EntityControlable *player_control;
std::list<EntityControlable*> assets;
+
+
};
}