summaryrefslogtreecommitdiff
path: root/src
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
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')
-rw-r--r--src/gui/chat.cpp9
-rw-r--r--src/gui/chat.h24
2 files changed, 19 insertions, 14 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);
}
diff --git a/src/gui/chat.h b/src/gui/chat.h
index 5280ff49..f2cd05ce 100644
--- a/src/gui/chat.h
+++ b/src/gui/chat.h
@@ -31,19 +31,6 @@
using namespace std;
-/**
- Simple ChatLog Object v0.5 (i'd say...)
-
- Bestviewd w/ Bitstream Vera Sans Mono @ 9pt and a tab-width of 2 spaces
-
- Author: kth5 aka Alexander Baldeck
- pipe your questions, suggestions and flames to: kth5@gawab.com
-
- NOTE:
- i documented all functions in their implementation. ;-)
-*/
-
-
#define BY_GM 0 // those should be self-explanatory =)
#define BY_PLAYER 1
#define BY_OTHER 2
@@ -114,6 +101,17 @@ struct CHATSKILL {
char reason;
};
+/**
+ Simple ChatLog Object v0.5 (i'd say...)
+
+ Bestviewd w/ Bitstream Vera Sans Mono @ 9pt and a tab-width of 2 spaces
+
+ Author: kth5 aka Alexander Baldeck
+ pipe your questions, suggestions and flames to: kth5@gawab.com
+
+ NOTE:
+ i documented all functions in their implementation. ;-)
+*/
class Chat {
public :
Chat(const char *, int);