summaryrefslogtreecommitdiff
path: root/src/gui/chat.cpp
diff options
context:
space:
mode:
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);
}