git.shiar.nl
/
netris.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
netris version 0.5
[netris.git]
/
game.c
diff --git
a/game.c
b/game.c
index 26ab6a8f72496f0e20f8a2fff416bc2a44c84da3..b40c12948035f365d4fc7a5a5463bd57c33577dc 100644
(file)
--- 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.
*
* 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.3
8 1996/02/09 08:22:11
mhw Exp $
+ * $Id: game.c,v 1.3
9 1999/05/16 06:56:27
mhw Exp $
*/
#define NOEXT
*/
#define NOEXT
@@
-359,10
+359,10
@@
ExtFunc int main(int argc, char **argv)
int initConn = 0, waitConn = 0, ch;
char *hostStr = NULL, *portStr = NULL;
int initConn = 0, waitConn = 0, ch;
char *hostStr = NULL, *portStr = NULL;
- standoutEnable = 1;
+ standoutEnable =
colorEnable =
1;
stepDownInterval = DEFAULT_INTERVAL;
MapKeys(DEFAULT_KEYS);
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:woDS
C
p:i:")) != -1)
switch (ch) {
case 'c':
initConn = 1;
switch (ch) {
case 'c':
initConn = 1;
@@
-393,6
+393,9
@@
ExtFunc int main(int argc, char **argv)
case 'D':
dropModeEnable = 1;
break;
case 'D':
dropModeEnable = 1;
break;
+ case 'C':
+ colorEnable = 0;
+ break;
case 'S':
standoutEnable = 0;
break;
case 'S':
standoutEnable = 0;
break;