From eb344c83ce082669dc3ec5495217e1bf6b76a9a4 Mon Sep 17 00:00:00 2001 From: GreYFoX Date: Sun, 20 Mar 2011 17:17:06 +0200 Subject: Chat History. Closes #521 --- src/game/client/components/chat.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/game/client/components/chat.h') diff --git a/src/game/client/components/chat.h b/src/game/client/components/chat.h index 652564ed..bb68d7be 100644 --- a/src/game/client/components/chat.h +++ b/src/game/client/components/chat.h @@ -2,6 +2,7 @@ /* If you are missing that file, acquire a complete release at teeworlds.com. */ #ifndef GAME_CLIENT_COMPONENTS_CHAT_H #define GAME_CLIENT_COMPONENTS_CHAT_H +#include #include #include @@ -46,6 +47,8 @@ class CChat : public CComponent char m_aCompletionBuffer[256]; int m_PlaceholderOffset; int m_PlaceholderLength; + char *m_pHistoryEntry; + TStaticRingBuffer m_History; static void ConSay(IConsole::IResult *pResult, void *pUserData); static void ConSayTeam(IConsole::IResult *pResult, void *pUserData); -- cgit 1.4.1