mirror of
https://github.com/vattam/BSDGames.git
synced 2025-12-21 11:24:49 +00:00
copy in from cvs; cvs2svn fucked up big time
git-svn-id: file:///srv/svn/joey/trunk/src/packages/bsdgames@9775 a4a2c43b-8ac3-0310-8836-e0e880c912e2
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* $NetBSD: monop.def,v 1.4 1997/10/12 17:45:18 christos Exp $ */
|
||||
/* $NetBSD: monop.def,v 1.6 1999/09/08 21:17:52 jsm Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1980, 1993
|
||||
@@ -35,16 +35,16 @@
|
||||
* @(#)monop.def 5.5 (Berkeley) 5/31/93
|
||||
*/
|
||||
|
||||
# include "deck.h"
|
||||
# include "monop.h"
|
||||
#include "deck.h"
|
||||
#include "monop.h"
|
||||
|
||||
bool fixing, /* set if fixing up debt */
|
||||
trading, /* set if in process of trading */
|
||||
told_em, /* set if told user he's out of debt */
|
||||
spec; /* set if moving by card to RR or UTIL */
|
||||
|
||||
char *name_list[MAX_PL+2], /* list of players' names */
|
||||
*comlist[] = { /* list of normal commands */
|
||||
const char *name_list[MAX_PL+2], /* list of players' names */
|
||||
*const comlist[] = { /* list of normal commands */
|
||||
"quit", /* 0 */ "print", /* 1 */
|
||||
"where", /* 2 */ "own holdings", /* 3 */
|
||||
"holdings", /* 4 */ "mortgage", /* 5 */
|
||||
@@ -56,14 +56,14 @@ char *name_list[MAX_PL+2], /* list of players' names */
|
||||
"", /* 16 */
|
||||
0
|
||||
},
|
||||
*yn[] = { /* list of commands for yes/no answers */
|
||||
*const yn[] = { /* list of commands for yes/no answers */
|
||||
"yes", /* 0 */ "no", /* 1 */
|
||||
"quit", /* 2 */ "print", /* 3 */
|
||||
"where", /* 4 */ "own holdings", /* 5 */
|
||||
"holdings", /* 6 */
|
||||
0
|
||||
},
|
||||
*lucky_mes[] = { /* "got lucky" messages */
|
||||
*const lucky_mes[] = { /* "got lucky" messages */
|
||||
"You lucky stiff", "You got lucky",
|
||||
"What a lucky person!", "You must have a 4-leaf clover",
|
||||
"My, my! Aren't we lucky!", "Luck smiles upon you",
|
||||
@@ -80,7 +80,7 @@ int player, /* current player number */
|
||||
num_luck = sizeof lucky_mes / sizeof (char *);
|
||||
|
||||
/* list of command functions */
|
||||
void (*func[]) __P((void)) = { /* array of function calls for commands */
|
||||
void (*const func[]) __P((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