summaryrefslogtreecommitdiff
path: root/src/client/chat.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/chat.h')
-rw-r--r--src/client/chat.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/client/chat.h b/src/client/chat.h
new file mode 100644
index 0000000..fc6abc3
--- /dev/null
+++ b/src/client/chat.h
@@ -0,0 +1,25 @@
+
+#ifndef CHAT_H
+
+#define CHAT_H
+
+#define CHAT_MAX_LINES 10
+#define CHAT_TIME_MULTIPLE 10
+#define CHAT_TIME_BLICK_CURSOR 20
+#define CHAT_LINE_WIDTH 320
+
+#define CHAT_SIZE_X 320
+#define CHAT_SIZE_Y 240
+
+#define CHAT_LOCATION_X (WINDOW_SIZE_X/2 - CHAT_SIZE_X/2)
+#define CHAT_LOCATION_Y (WINDOW_SIZE_Y/2 - CHAT_SIZE_Y/2)
+
+extern void initChat();
+extern void drawChat();
+extern void eventChat();
+extern void addToChat(char *s);
+extern bool_t isChatActive();
+extern bool_t isRecivedNewMsg();
+extern void quitChat();
+
+#endif