summaryrefslogtreecommitdiff
path: root/src/client/chat.h
diff options
context:
space:
mode:
authororoborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-07-06 19:42:01 +0000
committeroroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-07-06 19:42:01 +0000
commit263e1dbb16324083174e068b65d9596af6e1db7b (patch)
treed5035dc66c4fede0f4debb420f70c8b6eb0c4375 /src/client/chat.h
parentca019ecd6715557a572ac9a56de556434f9b31aa (diff)
- zabudnute subory
git-svn-id: http://opensvn.csie.org/tuxanci_ng@110 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e
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