X-Git-Url: http://git.shiar.net/netris.git/blobdiff_plain/ec797c133bd83404f6167fb46c098c236333d168..a3b41d71c27b89c5f3e82226316e031e3f8eb253:/game.c diff --git a/game.c b/game.c index 26ab6a8..b40c129 100644 --- a/game.c +++ b/game.c @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: game.c,v 1.38 1996/02/09 08:22:11 mhw Exp $ + * $Id: game.c,v 1.39 1999/05/16 06:56:27 mhw Exp $ */ #define NOEXT @@ -359,10 +359,10 @@ ExtFunc int main(int argc, char **argv) int initConn = 0, waitConn = 0, ch; char *hostStr = NULL, *portStr = NULL; - standoutEnable = 1; + standoutEnable = colorEnable = 1; stepDownInterval = DEFAULT_INTERVAL; MapKeys(DEFAULT_KEYS); - while ((ch = getopt(argc, argv, "hHRs:r:Fk:c:woDSp:i:")) != -1) + while ((ch = getopt(argc, argv, "hHRs:r:Fk:c:woDSCp:i:")) != -1) switch (ch) { case 'c': initConn = 1; @@ -393,6 +393,9 @@ ExtFunc int main(int argc, char **argv) case 'D': dropModeEnable = 1; break; + case 'C': + colorEnable = 0; + break; case 'S': standoutEnable = 0; break;