diff options
author | Stijn Buys <ingar@osirion.org> | 2008-02-23 17:10:35 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-02-23 17:10:35 +0000 |
commit | 5c734fe66e9ace93c03937adc2fc56336fb474fb (patch) | |
tree | d4d4ffebd4215b0f1f42d6a4ac9275ec8cd686ea /src/client/console.h | |
parent | 82c06412ef39522c4deab457ce7a3e78160d8a19 (diff) |
client chatbox and message notifications
Diffstat (limited to 'src/client/console.h')
-rw-r--r-- | src/client/console.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/client/console.h b/src/client/console.h index d9e78a0..dc831b7 100644 --- a/src/client/console.h +++ b/src/client/console.h @@ -12,8 +12,9 @@ #include <sstream> #include <deque> -const size_t MAXCONLINES=2048; -const size_t MAXHISTOLINES=512; +const size_t MAXCONLINES = 2048; +const size_t MAXHISTOLINES = 512; +const size_t MAXNOTIFYLINES = 3; namespace client { @@ -51,6 +52,10 @@ void load_history(); /// save input history void save_history(); +extern size_t notify_pos; +extern std::string notify_text[MAXNOTIFYLINES]; +extern float notify_time[MAXNOTIFYLINES]; + } } |