diff options
author | Stijn Buys <ingar@osirion.org> | 2008-08-04 18:24:36 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-08-04 18:24:36 +0000 |
commit | 50a1e2b2fe3c207c7227df4941f2f66990db0c2c (patch) | |
tree | 5c4293babed4434d81cf9284f522dd0e74482cf0 /src/core/player.h | |
parent | ebd5cd9daabb2d2eb6f5e06f9433cc8e6a4e0f7a (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.h | 7 |
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; + + }; } |