about summary refs log tree commit diff
path: root/src/game/client/components/nameplates.hpp
diff options
context:
space:
mode:
authorDominik Geyer <dominik.geyer@gmx.de>2008-09-04 18:54:37 +0000
committerDominik Geyer <dominik.geyer@gmx.de>2008-09-04 18:54:37 +0000
commita9211ffd64291fd22d3bfd6ba796eb2ebe041b6e (patch)
tree909b6a679f41603081ad016b2db895ba7b489352 /src/game/client/components/nameplates.hpp
parent4c2632b7b6ae03e9d54d4a2d72742b6865700143 (diff)
downloadzcatch-a9211ffd64291fd22d3bfd6ba796eb2ebe041b6e.tar.gz
zcatch-a9211ffd64291fd22d3bfd6ba796eb2ebe041b6e.zip
moved nameplate-code to new component nameplates; ticket #461
Diffstat (limited to 'src/game/client/components/nameplates.hpp')
-rw-r--r--src/game/client/components/nameplates.hpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/game/client/components/nameplates.hpp b/src/game/client/components/nameplates.hpp
new file mode 100644
index 00000000..2695f5ac
--- /dev/null
+++ b/src/game/client/components/nameplates.hpp
@@ -0,0 +1,14 @@
+#include <game/client/component.hpp>
+
+class NAMEPLATES : public COMPONENT
+{
+	void render_nameplate(
+		const class NETOBJ_CHARACTER *prev_char,
+		const class NETOBJ_CHARACTER *player_char,
+		const class NETOBJ_PLAYER_INFO *player_info
+	);
+
+public:
+	virtual void on_render();
+};
+