about summary refs log tree commit diff
path: root/src/game/server/srv_common.h
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2007-11-04 00:19:41 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2007-11-04 00:19:41 +0000
commitdaf89a01ff88c7771f0c252808de2b3eede23927 (patch)
tree903c034b9713a61c21e4d052fd7068afda9acacf /src/game/server/srv_common.h
parentf724ab006c3ca882c3a66c6af0df60d666610895 (diff)
downloadzcatch-daf89a01ff88c7771f0c252808de2b3eede23927.tar.gz
zcatch-daf89a01ff88c7771f0c252808de2b3eede23927.zip
added skins, tweaked prediction like hell
Diffstat (limited to 'src/game/server/srv_common.h')
-rw-r--r--src/game/server/srv_common.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/game/server/srv_common.h b/src/game/server/srv_common.h
index 1e544753..46c17ed8 100644
--- a/src/game/server/srv_common.h
+++ b/src/game/server/srv_common.h
@@ -121,6 +121,8 @@ protected:
 	int warmup;
 	int round_count;
 	
+	bool is_teamplay;
+	
 public:
 	int gametype;
 	gameobject();
@@ -237,7 +239,8 @@ public:
 	
 	//
 	int client_id;
-	char name[64];
+	char skin_name[64];
+	int skin_color;
 
 	// input	
 	player_input previnput;
@@ -287,7 +290,7 @@ public:
 	void respawn();
 	
 	void set_team(int team);
-
+	
 	bool is_grounded();
 	
 	void set_weapon(int w);