about summary refs log tree commit diff
path: root/src/game/client/components/voting.hpp
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2008-09-29 11:34:49 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2008-09-29 11:34:49 +0000
commiteac9658b7395a45d0b48cad340fd9ccf7bec0fde (patch)
treed5bd824038a9b095dd8ea5d9ab4cca88ce1afb0f /src/game/client/components/voting.hpp
parent6d44adb7114a0be6ecb1b0fabc6fe69d308cad1c (diff)
downloadzcatch-eac9658b7395a45d0b48cad340fd9ccf7bec0fde.tar.gz
zcatch-eac9658b7395a45d0b48cad340fd9ccf7bec0fde.zip
added voting gui and a lot of other minor changes
Diffstat (limited to 'src/game/client/components/voting.hpp')
-rw-r--r--src/game/client/components/voting.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/game/client/components/voting.hpp b/src/game/client/components/voting.hpp
index 03de629d..78e561c7 100644
--- a/src/game/client/components/voting.hpp
+++ b/src/game/client/components/voting.hpp
@@ -21,6 +21,8 @@ class VOTING : public COMPONENT
 	char command[512];
 	int voted;
 	
+	void callvote(const char *type, const char *value);
+	
 public:
 	VOTING();
 	virtual void on_reset();
@@ -30,6 +32,9 @@ public:
 	
 	void render_bars(RECT bars, bool text);
 	
+	void callvote_kick(int client_id);
+	void callvote_map(const char *map);
+	
 	void vote(int v); // -1 = no, 1 = yes
 	
 	int seconds_left() { return (closetime - time_get())/time_freq(); }