X-Git-Url: http://git.shiar.nl/netris.git/blobdiff_plain/c464ec173a4931ee5bdea783324b159492abd866..HEAD:/msg.en.h diff --git a/msg.en.h b/msg.en.h index ccfc707..a013b4b 100644 --- a/msg.en.h +++ b/msg.en.h @@ -1,11 +1,61 @@ -#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_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 " +#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" +