code duplication
[netris.git] / msg.en.h
index ab042d5e21eaffae60c9efbd4fd4c39d0a0a4e54..a013b4bbaee1676bf2724270fe0d3ba30712e324 100644 (file)
--- a/msg.en.h
+++ b/msg.en.h
@@ -5,10 +5,42 @@
 #define MSG_PPM     "ppm %9.1f"
 #define MSG_APM     "apm %9.1f"
 #define MSG_YIELD   "yield    %3d%%"
+#define MSG_TIME    "timer %7.0f "
 
 #define MSG_TITLE    "NETRIS"
 #define MSG_TITLESUB "(C)1994-1996,1999 Mark H. Weaver, (C)2002 Shiar"
 
+#define MSG_PLAYER_JOIN  "NOT READY"
+#define MSG_PLAYER_START "READY"
+#define MSG_PLAYER_PAUSE "PAUSED"
+#define MSG_PLAYER_STOP  "GAME OVER"
+#define MSG_PLAYER_PART  "EMPTY"
+
+#define MSG_GAME_JOIN         "%s joined the game"
+#define MSG_GAME_JOIN_TEAM    "%s joined %s team"
+#define MSG_GAME_PART         "%s left"
+#define MSG_GAME_START        "The game has started"
+#define MSG_GAME_STOP         "The game has ended"
+#define MSG_GAME_WINNER       "%s won after %0.0f'%02d\""
+#define MSG_GAME_PAUSE        "%s paused the game"
+#define MSG_GAME_PAUSE_SELF   "You paused the game"
+#define MSG_GAME_UNPAUSE      "%s unpaused the game"
+#define MSG_GAME_UNPAUSE_SELF "You unpaused the game"
+#define MSG_GAME_READY        "%s is ready"
+#define MSG_GAME_READY_SELF   "You are ready"
+#define MSG_GAME_UNREADY      "%s is not ready"
+#define MSG_GAME_UNREADY_SELF "You are not ready"
+#define MSG_GAME_LINE_SELF    "You cleared %d lines"
+#define MSG_GAME_LINES        "%s sends %d lines"
+#define MSG_GAME_LINES_SELF   "You send %d lines"
+#define MSG_GAME_KILL_1_1     "You died"
+#define MSG_GAME_KILL_1_2     "You fragged %s"
+#define MSG_GAME_KILL_2_1     "%s fragged you"
+#define MSG_GAME_KILL_2_2     "%s died"
+#define MSG_GAME_KILL_2_3     "%s fragged %s"
+
+#define MSG_CMD_EUNKNOWN "Unknown command /%s"
+
 #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