[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnugo-devel] VC compile patch
From: |
Portela Fernando |
Subject: |
[gnugo-devel] VC compile patch |
Date: |
Fri, 23 Apr 2004 11:17:55 +0200 |
Hi,
Not much to add to the subject line.
nando
- MSVC compile fixes
Index: config.vc
===================================================================
RCS file: /cvsroot/gnugo/gnugo/config.vc,v
retrieving revision 1.91
diff -u -p -r1.91 config.vc
--- config.vc 15 Apr 2004 15:21:08 -0000 1.91
+++ config.vc 23 Apr 2004 09:14:53 -0000
@@ -55,6 +55,9 @@
/* Break-in module. Enabled by default. */
#define USE_BREAK_IN 1
+/* Large scale captures. Disabled by default. */
+#define LARGE_SCALE 0
+
/* Version number of package */
#define PACKAGE "gnugo"
Index: config.vcin
===================================================================
RCS file: /cvsroot/gnugo/gnugo/config.vcin,v
retrieving revision 1.28
diff -u -p -r1.28 config.vcin
--- config.vcin 1 Oct 2003 14:36:37 -0000 1.28
+++ config.vcin 23 Apr 2004 09:14:53 -0000
@@ -55,6 +55,9 @@
/* Break-in module. Enabled by default. */
#define USE_BREAK_IN 1
+/* Large scale captures. Disabled by default. */
+#define LARGE_SCALE 0
+
/* Version number of package */
#define PACKAGE "gnugo"
Index: interface/main.c
===================================================================
RCS file: /cvsroot/gnugo/gnugo/interface/main.c,v
retrieving revision 1.95
diff -u -p -r1.95 main.c
--- interface/main.c 23 Apr 2004 03:06:36 -0000 1.95
+++ interface/main.c 23 Apr 2004 09:15:11 -0000
@@ -1484,6 +1484,9 @@ Scoring:\n\
Cache size (higher=more memory usage, faster unless swapping occurs):\n\
-M, --cache-size <megabytes> RAM cache for hashing (default %4.1f Mb)\n\
\n\
+"
+
+#define USAGE2 "\
Game Options: (--mode ascii)\n\
--boardsize num Set the board size to use (%d--%d)\n\
--color <color> Choose your color ('black' or 'white')\n\
@@ -1614,8 +1617,8 @@ show_help(void)
backfill2_depth, break_chain_depth, superstring_depth, aa_depth,
owl_distrust_depth, owl_branch_depth,
owl_reading_depth, owl_node_limit);
- printf(USAGE1,
- (float) DEFAULT_MEMORY, MIN_BOARD, MAX_BOARD, MAX_HANDICAP);
+ printf(USAGE1, (float) DEFAULT_MEMORY);
+ printf(USAGE2, MIN_BOARD, MAX_BOARD, MAX_HANDICAP);
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnugo-devel] VC compile patch,
Portela Fernando <=