diff options
Diffstat (limited to 'src/game/client/components/console.h')
| -rw-r--r-- | src/game/client/components/console.h | 7 |
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; |