diff options
author | Alexander Baldeck <alexander@archlinux.org> | 2004-10-03 12:37:55 +0000 |
---|---|---|
committer | Alexander Baldeck <alexander@archlinux.org> | 2004-10-03 12:37:55 +0000 |
commit | 07af1c32d6d51a4d178ffc4dea7488a949d1e553 (patch) | |
tree | ae375c79b1fb1b58f2e0ada6c412f670a8bbf2ce /src | |
parent | ea5ec6195a1df9059a89bfc7131af1d4fcdcbe7f (diff) | |
download | mana-client-07af1c32d6d51a4d178ffc4dea7488a949d1e553.tar.gz mana-client-07af1c32d6d51a4d178ffc4dea7488a949d1e553.tar.bz2 mana-client-07af1c32d6d51a4d178ffc4dea7488a949d1e553.tar.xz mana-client-07af1c32d6d51a4d178ffc4dea7488a949d1e553.zip |
code cleanup
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/chat.h | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/src/gui/chat.h b/src/gui/chat.h index 619fc68b..c1126b52 100644 --- a/src/gui/chat.h +++ b/src/gui/chat.h @@ -29,8 +29,6 @@ #include <string> #include <fstream> -using namespace std; - #define BY_GM 0 // those should be self-explanatory =) #define BY_PLAYER 1 #define BY_OTHER 2 @@ -114,30 +112,30 @@ class Chat { Chat(const char *, int); void chat_dlgrsize(int); - void chat_log(string, int, ALFONT_FONT *); + void chat_log(std::string, int, ALFONT_FONT *); void chat_log(CHATSKILL, ALFONT_FONT *); void chat_draw(BITMAP *, int, ALFONT_FONT *); - char * chat_send(string, string); + char * chat_send(std::string, std::string); ~Chat(); private : - ofstream chatlog_file; + std::ofstream chatlog_file; typedef struct CHATLOG { // list item container object - string nick; - string text; + std::string nick; + std::string text; int own; int width; }; - list<CHATLOG> chatlog; // list object ready to accept out CHATLOG struct :) - list<CHATLOG>::iterator iter; + std::list<CHATLOG> chatlog; // list object ready to accept out CHATLOG struct :) + std::list<CHATLOG>::iterator iter; int items; int items_keep; - string const_msg(CHATSKILL); // contructs action-fail messages - string const_msg(int); // constructs normal messages (not implemented yet) + std::string const_msg(CHATSKILL); // contructs action-fail messages + std::string const_msg(int); // constructs normal messages (not implemented yet) }; #endif |