From 54f138f89445def6060209d21f153b1e5378d58d Mon Sep 17 00:00:00 2001 From: oy Date: Thu, 16 Dec 2010 03:17:16 +0100 Subject: made broadcast text a bit smaller and cut it off if it's bigger than the screen. Closes #313 --- src/game/client/components/broadcast.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/game/client/components/broadcast.h') 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); -- cgit 1.4.1