about summary refs log tree commit diff
path: root/src/game/client/gameclient.hpp
diff options
context:
space:
mode:
authorAlfred Eriksson <somerunce@gmail.com>2009-01-11 10:40:14 +0000
committerAlfred Eriksson <somerunce@gmail.com>2009-01-11 10:40:14 +0000
commit39a12060d68b1a5169d643a8c6f56df3d82ac4c1 (patch)
treebb104b9b446a00687e533924b5765ff3918780cc /src/game/client/gameclient.hpp
parent371e8623161095b8f74d51d37f3de368b5cd584c (diff)
downloadzcatch-39a12060d68b1a5169d643a8c6f56df3d82ac4c1.tar.gz
zcatch-39a12060d68b1a5169d643a8c6f56df3d82ac4c1.zip
removed the tuning filtering and warning. modded servers can use tuning for free. added pure server checking - ctf, dm and tdm gametypes are not allowed to have different tuning.
Diffstat (limited to 'src/game/client/gameclient.hpp')
-rw-r--r--src/game/client/gameclient.hpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/game/client/gameclient.hpp b/src/game/client/gameclient.hpp
index e470dc09..dfd642e6 100644
--- a/src/game/client/gameclient.hpp
+++ b/src/game/client/gameclient.hpp
@@ -39,6 +39,14 @@ public:
 
 	// TODO: move this
 	TUNING_PARAMS tuning;
+	
+	enum
+	{
+		SERVERMODE_PURE=0,
+		SERVERMODE_MOD,
+		SERVERMODE_PUREMOD,
+	};
+	int servermode;
 
 	vec2 local_character_pos;
 	vec2 local_target_pos;