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-08-04 18:24:36 +0000
committerStijn Buys <ingar@osirion.org>2008-08-04 18:24:36 +0000
commit50a1e2b2fe3c207c7227df4941f2f66990db0c2c (patch)
tree5c4293babed4434d81cf9284f522dd0e74482cf0 /src/core/player.h
parentebd5cd9daabb2d2eb6f5e06f9433cc8e6a4e0f7a (diff)
network protocol version 5, netserver per-client updates, zone change protocol
Diffstat (limited to 'src/core/player.h')
-rw-r--r--src/core/player.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/player.h b/src/core/player.h
index cdcdbd1..7bf533c 100644
--- a/src/core/player.h
+++ b/src/core/player.h
@@ -56,6 +56,8 @@ public:
/// set the zone the player is currently in
void set_zone(Zone *zone);
+ inline bool zonechange() const { return player_zonechange; }
+
/// player primary color
inline math::Color const & color() const { return player_color; }
@@ -102,6 +104,9 @@ public:
/// dirty state
bool player_dirty;
+ /// player has changed zone
+ bool player_zonechange;
+
/// indicates rcon access
bool player_rcon;
@@ -128,6 +133,8 @@ private:
// the zone the player is currently in
Zone *player_zone;
+
+
};
}