about summary refs log tree commit diff
path: root/src/game/client/components/console.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/client/components/console.h')
-rw-r--r--src/game/client/components/console.h7
1 files changed, 6 insertions, 1 deletions
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<char, 64*1024, CRingBufferBase::FLAG_RECYCLE> m_Backlog;
+		struct CBacklogEntry
+		{
+			float m_YOffset;
+			char m_aText[1];
+		};
+		TStaticRingBuffer<CBacklogEntry, 64*1024, CRingBufferBase::FLAG_RECYCLE> m_Backlog;
 		TStaticRingBuffer<char, 64*1024, CRingBufferBase::FLAG_RECYCLE> m_History;
 		char *m_pHistoryEntry;