about summary refs log tree commit diff
path: root/src/game/client/components/maplayers.hpp
blob: c8b154b2df0a45a0566aa6dc8ad1bb1a17e03f33 (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 MAPLAYERS : public COMPONENT
{	
	int type;

	void mapscreen_to_group(float center_x, float center_y, MAPITEM_GROUP *group);
	static void envelope_eval(float time_offset, int env, float *channels, void *user);
public:
	enum
	{
		TYPE_BACKGROUND=0,
		TYPE_FOREGROUND,
	};

	MAPLAYERS(int type);
	virtual void on_render();
};