mirror of
https://github.com/vattam/BSDGames.git
synced 2025-12-21 03:14:50 +00:00
new upstream
git-svn-id: file:///srv/svn/joey/trunk/src/packages/bsdgames@10080 a4a2c43b-8ac3-0310-8836-e0e880c912e2
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* $NetBSD: monop.def,v 1.7 2003/08/07 09:37:28 agc Exp $ */
|
||||
/* $NetBSD: monop.def,v 1.9 2004/01/27 20:30:30 jsm Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1980, 1993
|
||||
@@ -52,7 +52,7 @@ const char *name_list[MAX_PL+2], /* list of players' names */
|
||||
"", /* 16 */
|
||||
0
|
||||
},
|
||||
*const yn[] = { /* list of commands for yes/no answers */
|
||||
*const yncoms[] = { /* list of commands for yes/no answers */
|
||||
"yes", /* 0 */ "no", /* 1 */
|
||||
"quit", /* 2 */ "print", /* 3 */
|
||||
"where", /* 4 */ "own holdings", /* 5 */
|
||||
@@ -76,7 +76,7 @@ int player, /* current player number */
|
||||
num_luck = sizeof lucky_mes / sizeof (char *);
|
||||
|
||||
/* list of command functions */
|
||||
void (*const func[]) __P((void)) = { /* array of function calls for commands */
|
||||
void (*const func[])(void) = { /* array of function calls for commands */
|
||||
quit, /* quit game |* 0 *| */
|
||||
printboard, /* print board |* 1 *| */
|
||||
where, /* where players are |* 2 *| */
|
||||
|
||||
Reference in New Issue
Block a user