From 5f7efb465e21ec65b8f026a5d68559f7fce60a21 Mon Sep 17 00:00:00 2001 From: oy Date: Sat, 16 Oct 2010 10:32:56 +0200 Subject: optimised console rendering a bit --- src/game/client/components/console.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/game/client/components/console.h') diff --git a/src/game/client/components/console.h b/src/game/client/components/console.h index ae05aa8b..c126f6d8 100644 --- a/src/game/client/components/console.h +++ b/src/game/client/components/console.h @@ -9,7 +9,12 @@ class CGameConsole : public CComponent class CInstance { public: - TStaticRingBuffer m_Backlog; + struct CBacklogEntry + { + float m_YOffset; + char m_aText[1]; + }; + TStaticRingBuffer m_Backlog; TStaticRingBuffer m_History; char *m_pHistoryEntry; -- cgit 1.4.1