summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authororoborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-06-03 21:26:17 +0000
committeroroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-06-03 21:26:17 +0000
commit2fd0c9d50f1eb83d46080fb114cba5465e8c4506 (patch)
tree69d3aef56532f0a96c5d1b9b2800167152f239ca /include
parentf18096a5c43d5cc52670c24d73d3efeebb120307 (diff)
- zaciatok podpory FR jazyka
- server podporuje socre ( treb este zdokumentovat protokol ) - prelozene dve chybove hlasky pre siete - odosielam to na rychlo git-svn-id: http://opensvn.csie.org/tuxanci_ng@59 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e
Diffstat (limited to 'include')
-rw-r--r--include/heightScore.h13
-rw-r--r--include/proto.h2
-rw-r--r--include/screen_analyze.h1
3 files changed, 16 insertions, 0 deletions
diff --git a/include/heightScore.h b/include/heightScore.h
new file mode 100644
index 0000000..b1bf7e2
--- /dev/null
+++ b/include/heightScore.h
@@ -0,0 +1,13 @@
+
+#ifndef HEIGHT_SCORE_H
+
+#define HEIGHT_SCORE_H
+
+#define HEIGHTSCORE_MAX_PLAYERS 100
+
+extern void initHeightScore(char *file);
+extern int addPlayerInHighScore(char *name, int score);
+extern char* getTableItem(int index);
+extern void quitHeightScore();
+
+#endif
diff --git a/include/proto.h b/include/proto.h
index 5a097a6..f392aaa 100644
--- a/include/proto.h
+++ b/include/proto.h
@@ -53,6 +53,8 @@ extern void proto_send_hello_client(char *name);
extern void proto_recv_hello_server(client_t *client, char *msg);
extern void proto_send_status_server(int type, client_t *client);
extern void proto_recv_status_server(client_t *client, char *msg);
+extern void proto_send_listscore_server(int type, client_t *client, int max);
+extern void proto_recv_listscore_server(client_t *client, char *msg);
extern void proto_send_check_client(int id);
extern void proto_recv_check_server(client_t *client, char *msg);
extern void proto_send_init_server(int type, client_t *client, client_t *client2);
diff --git a/include/screen_analyze.h b/include/screen_analyze.h
index 515c6ef..7404da6 100644
--- a/include/screen_analyze.h
+++ b/include/screen_analyze.h
@@ -17,6 +17,7 @@ extern void eventScreenAnalyze();
extern void stopScreenAnalyze();
extern void restartAnalyze();
extern void addAnalyze(char *name, int score);
+extern void setMsgToAnalyze(char *msg);
extern void endAnalyze();
extern void initScreenAnalyze();
extern void quitScreenAnalyze();