diff options
| author | dholland <dholland@NetBSD.org> | 2008-01-28 06:16:13 +0000 |
|---|---|---|
| committer | dholland <dholland@NetBSD.org> | 2008-01-28 06:16:13 +0000 |
| commit | d9e06af0170971fa7c14eddc67a9b07fafea7dde (patch) | |
| tree | 77227527f3289a28b25db878cc4a60f370321adb /monop/mon.dat | |
| parent | 41058b6ea0386b49a8c5d57d215a75e6230d9cab (diff) | |
| download | bsdgames-darwin-d9e06af0170971fa7c14eddc67a9b07fafea7dde.tar.gz bsdgames-darwin-d9e06af0170971fa7c14eddc67a9b07fafea7dde.zip | |
Make this build with WARNS=4.
Diffstat (limited to 'monop/mon.dat')
| -rw-r--r-- | monop/mon.dat | 26 |
1 files changed, 16 insertions, 10 deletions
diff --git a/monop/mon.dat b/monop/mon.dat index be1b68be..24a5a88f 100644 --- a/monop/mon.dat +++ b/monop/mon.dat @@ -1,4 +1,4 @@ -/* $NetBSD: mon.dat,v 1.3 2003/08/07 09:37:28 agc Exp $ */ +/* $NetBSD: mon.dat,v 1.4 2008/01/28 06:16:13 dholland Exp $ */ /*- * Copyright (c) 1980, 1993 @@ -31,12 +31,18 @@ * @(#)mon.dat 5.4 (Berkeley) 5/31/93 */ -/* name owner num_in num_own h_cost not_m mon_n sq */ -{0, -1, 2, 0, 1, "Purple", "PURPLE", {1,3}}, -{0, -1, 3, 0, 1, "Lt. Blue", "LT. BLUE", {6,8,9}}, -{0, -1, 3, 0, 2, "Violet", "VIOLET", {11,13,14}}, -{0, -1, 3, 0, 2, "Orange", "ORANGE", {16,18,19}}, -{0, -1, 3, 0, 3, "Red", "RED", {21,23,24}}, -{0, -1, 3, 0, 3, "Yellow", "YELLOW", {26,27,29}}, -{0, -1, 3, 0, 4, "Green", "GREEN", {31,32,34}}, -{0, -1, 2, 0, 4, "Dk. Blue", "DK. BLUE", {37,39}} +#define MONINIT(num_in, h_cost, not_m, mon_n, sq1,sq2,sq3) \ + {0, -1, num_in, 0, h_cost, not_m, mon_n, {sq1,sq2,sq3}, {0,0,0}} +/* name owner num_own sq */ + +/* num_in h_cost not_m mon_n sqnums */ +MONINIT(2, 1, "Purple", "PURPLE", 1,3, 0), +MONINIT(3, 1, "Lt. Blue", "LT. BLUE", 6,8,9), +MONINIT(3, 2, "Violet", "VIOLET", 11,13,14), +MONINIT(3, 2, "Orange", "ORANGE", 16,18,19), +MONINIT(3, 3, "Red", "RED", 21,23,24), +MONINIT(3, 3, "Yellow", "YELLOW", 26,27,29), +MONINIT(3, 4, "Green", "GREEN", 31,32,34), +MONINIT(2, 4, "Dk. Blue", "DK. BLUE", 37,39, 0), + +#undef MONINIT |
