From 50a1e2b2fe3c207c7227df4941f2f66990db0c2c Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Mon, 4 Aug 2008 18:24:36 +0000 Subject: network protocol version 5, netserver per-client updates, zone change protocol --- src/core/player.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/core/player.h') 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; + + }; } -- cgit v1.2.3