about summary refs log tree commit diff
path: root/src/game/client/components/damageind.hpp
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/damageind.hpp
parente56feb597bc743677633432f77513b02907fd169 (diff)
downloadzcatch-72c06a258940696093f255fb1061beb58e1cdd0b.tar.gz
zcatch-72c06a258940696093f255fb1061beb58e1cdd0b.zip
copied refactor to trunk
Diffstat (limited to 'src/game/client/components/damageind.hpp')
-rw-r--r--src/game/client/components/damageind.hpp31
1 files changed, 0 insertions, 31 deletions
diff --git a/src/game/client/components/damageind.hpp b/src/game/client/components/damageind.hpp
deleted file mode 100644
index c74af9ca..00000000
--- a/src/game/client/components/damageind.hpp
+++ /dev/null
@@ -1,31 +0,0 @@
-#include <base/vmath.hpp>
-#include <game/client/component.hpp>
-
-class DAMAGEIND : public COMPONENT
-{
-	int64 lastupdate;
-	struct ITEM
-	{
-		vec2 pos;
-		vec2 dir;
-		float life;
-		float startangle;
-	};
-
-	enum
-	{
-		MAX_ITEMS=64,
-	};
-
-	ITEM items[MAX_ITEMS];
-	int num_items;
-
-	ITEM *create_i();
-	void destroy_i(ITEM *i);
-
-public:	
-	DAMAGEIND();
-
-	void create(vec2 pos, vec2 dir);
-	virtual void on_render();
-};