about summary refs log tree commit diff
path: root/src/game/client/components/broadcast.h
diff options
context:
space:
mode:
authoroy <Tom_Adams@web.de>2010-12-16 03:17:16 +0100
committeroy <Tom_Adams@web.de>2010-12-16 03:17:16 +0100
commit54f138f89445def6060209d21f153b1e5378d58d (patch)
tree7d5e66ee356c545d9a8c69d4a7b9e441fde0cd72 /src/game/client/components/broadcast.h
parentc6848cd22990fa553d33f19a53af326abdd0615d (diff)
downloadzcatch-54f138f89445def6060209d21f153b1e5378d58d.tar.gz
zcatch-54f138f89445def6060209d21f153b1e5378d58d.zip
made broadcast text a bit smaller and cut it off if it's bigger than the screen. Closes #313
Diffstat (limited to 'src/game/client/components/broadcast.h')
-rw-r--r--src/game/client/components/broadcast.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/game/client/components/broadcast.h b/src/game/client/components/broadcast.h
index c580ce28..47c66616 100644
--- a/src/game/client/components/broadcast.h
+++ b/src/game/client/components/broadcast.h
@@ -6,11 +6,12 @@
 
 class CBroadcast : public CComponent
 {
-public:
 	// broadcasts
 	char m_aBroadcastText[1024];
 	int64 m_BroadcastTime;
-	
+	float m_BroadcastRenderOffset;
+
+public:
 	virtual void OnReset();
 	virtual void OnRender();
 	virtual void OnMessage(int MsgType, void *pRawMsg);