about summary refs log tree commit diff
path: root/src/game/client/components/scoreboard.h
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2010-05-29 07:25:38 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2010-05-29 07:25:38 +0000
commit72c06a258940696093f255fb1061beb58e1cdd0b (patch)
tree36b9a7712eec2d4f07837eab9c38ef1c5af85319 /src/game/client/components/scoreboard.h
parente56feb597bc743677633432f77513b02907fd169 (diff)
downloadzcatch-72c06a258940696093f255fb1061beb58e1cdd0b.tar.gz
zcatch-72c06a258940696093f255fb1061beb58e1cdd0b.zip
copied refactor to trunk
Diffstat (limited to 'src/game/client/components/scoreboard.h')
-rw-r--r--src/game/client/components/scoreboard.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/game/client/components/scoreboard.h b/src/game/client/components/scoreboard.h
new file mode 100644
index 00000000..5aa2f0a7
--- /dev/null
+++ b/src/game/client/components/scoreboard.h
@@ -0,0 +1,22 @@
+#ifndef GAME_CLIENT_COMPONENTS_SCOREBOARD_H
+#define GAME_CLIENT_COMPONENTS_SCOREBOARD_H
+#include <game/client/component.h>
+
+class CScoreboard : public CComponent
+{
+	void RenderGoals(float x, float y, float w);
+	void RenderSpectators(float x, float y, float w);
+	void RenderScoreboard(float x, float y, float w, int Team, const char *pTitle);
+
+	static void ConKeyScoreboard(IConsole::IResult *pResult, void *pUserData);
+	
+	bool m_Active;
+	
+public:
+	CScoreboard();
+	virtual void OnReset();
+	virtual void OnConsoleInit();
+	virtual void OnRender();
+};
+
+#endif