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

class EMOTICON : public COMPONENT
{
	void draw_circle(float x, float y, float r, int segments);
	
	vec2 selector_mouse;
	int selector_active;
	int selected_emote;
	
public:
	EMOTICON();
	
	virtual void on_reset();
	virtual void on_render();
	virtual void on_message(int msgtype, void *rawmsg);
	virtual bool on_input(INPUT_EVENT e);

	void emote(int emoticon);
};