about summary refs log tree commit diff
path: root/src/game/client/components/scoreboard.hpp
blob: ba5b0a3d045d9c9cd5bddfd2fb84870e2d69261b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include <game/client/component.hpp>

class SCOREBOARD : public COMPONENT
{
	void render_goals(float x, float y, float w);
	void render_spectators(float x, float y, float w);
	void render_scoreboard(float x, float y, float w, int team, const char *title);

	static void con_key_scoreboard(void *result, void *user_data);
	
	bool active;
	
public:
	SCOREBOARD();
	virtual void on_reset();
	virtual void on_init();
	virtual void on_render();
};