summaryrefslogtreecommitdiff
path: root/src/gui/chat.cpp
diff options
context:
space:
mode:
authorAlexander Baldeck <alexander@archlinux.org>2004-09-29 09:02:27 +0000
committerAlexander Baldeck <alexander@archlinux.org>2004-09-29 09:02:27 +0000
commit93c4ae4d4d2f4602b7843608f15f13980f287c20 (patch)
tree7a20e44a5e70b4790878d6e6da11d912e6a2732c /src/gui/chat.cpp
parent97f97c6449b9da648302563ed62ca3d107c3835a (diff)
downloadmana-client-93c4ae4d4d2f4602b7843608f15f13980f287c20.tar.gz
mana-client-93c4ae4d4d2f4602b7843608f15f13980f287c20.tar.bz2
mana-client-93c4ae4d4d2f4602b7843608f15f13980f287c20.tar.xz
mana-client-93c4ae4d4d2f4602b7843608f15f13980f287c20.zip
*** empty log message ***
Diffstat (limited to 'src/gui/chat.cpp')
-rw-r--r--src/gui/chat.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/gui/chat.cpp b/src/gui/chat.cpp
index b308bed4..5401948d 100644
--- a/src/gui/chat.cpp
+++ b/src/gui/chat.cpp
@@ -38,17 +38,23 @@ using namespace std;
pipe your questions, suggestions and flames to: kth5@gawab.com
*/
+/**
+*/
Chat::Chat(const char * logfile, int item_num) {
chatlog_file.open(logfile, ios::out | ios::app);
items = 0;
items_keep = item_num;
}
+/**
+*/
Chat::~Chat() {
chatlog_file.flush();
chatlog_file.close();
}
+/**
+*/
void Chat::chat_dlgrsize(int) {
}
@@ -102,7 +108,8 @@ void Chat::chat_log(string line, int own, ALFONT_FONT * font) {
}
/** function overload -> calls original chat_log()
- after processing the packet */
+ after processing the packet
+*/
void Chat::chat_log(CHATSKILL action, ALFONT_FONT * font) {
chat_log(const_msg(action), BY_SERVER, font);
}