outline server messages
[netris.git] / msg.en.h
index ccfc707625c58786c465043e60c450f7415f63ab..ab042d5e21eaffae60c9efbd4fd4c39d0a0a4e54 100644 (file)
--- a/msg.en.h
+++ b/msg.en.h
@@ -1,11 +1,29 @@
-#define MSG_NEXT       "next        "
-#define MSG_LEVEL      "level   %5d"
-#define MSG_SCORE      "score%8d"
-#define MSG_LINES      "lines%8d"
-#define MSG_PPM                "ppm %9.1f"
-#define MSG_APM                "apm %9.1f"
-#define MSG_YIELD      "yield    %3d%%"
+#define MSG_NEXT    "next        "
+#define MSG_LEVEL   "level   %5d"
+#define MSG_SCORE   "score%8d"
+#define MSG_LINES   "lines%8d"
+#define MSG_PPM     "ppm %9.1f"
+#define MSG_APM     "apm %9.1f"
+#define MSG_YIELD   "yield    %3d%%"
 
 #define MSG_TITLE    "NETRIS"
 #define MSG_TITLESUB "(C)1994-1996,1999 Mark H. Weaver, (C)2002 Shiar"
 
+#define MSG_SERVER_TITLE "NETRIS Server %s\t(c) 2002 Shiar <shiar@shiar.org>"
+#define MSG_SERVER_DBG_SEND ": send %d from %d to %d" // type, source id, target id
+#define MSG_SERVER_DBG_RECV ": %d sent %d" // source fd, type
+#define MSG_SERVER_CONNECT "+ Connection: %s" // hostname
+#define MSG_SERVER_PLAYER_EVERSION "= Wrong version player #%d (%s)"
+#define MSG_SERVER_PLAYER_ACCEPT "* Accepted player #%d"
+#define MSG_SERVER_PLAYER_JOIN_ESTARTED "- Can't join player #%d in non-continuous game"
+#define MSG_SERVER_PLAYER_JOIN "> Joined player #%d: %s <%s> (%s)" // nr, name, host, team
+#define MSG_SERVER_PLAYER_DIE "< Player #%d died"
+#define MSG_SERVER_PLAYER_PAUSE "* Player #%d (un)paused (pause=%d)"
+#define MSG_SERVER_PLAYER_CLOSED "- Closed connection to player #%d"
+#define MSG_SERVER_PLAYER_QUIT "- Quit player #%d"
+#define MSG_SERVER_CLOSE_ALL "- Closing connections..."
+#define MSG_SERVER_CLOSE_ALL_DONE "* All Done"
+#define MSG_SERVER_GAME_READY "* Game (%010d) ready to start"
+#define MSG_SERVER_GAME_START "* Game starts"
+#define MSG_SERVER_GAME_STOP  "* Stopping game"
+