[BACK]Return to monop.def CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / games / monop

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/games/monop/Attic/monop.def between version 1.1.1.1 and 1.1.1.2

version 1.1.1.1, 1993/03/21 09:45:37 version 1.1.1.2, 1995/03/21 16:04:59
Line 1 
Line 1 
 /*-  /*-
  * Copyright (c) 1980 The Regents of the University of California.   * Copyright (c) 1980, 1993
  * All rights reserved.   *      The Regents of the University of California.  All rights reserved.
  *   *
  * Redistribution and use in source and binary forms, with or without   * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions   * modification, are permitted provided that the following conditions
Line 30 
Line 30 
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF   * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.   * SUCH DAMAGE.
  *   *
  *      @(#)monop.def   5.3 (Berkeley) 4/8/91   *      @(#)monop.def   5.5 (Berkeley) 5/31/93
  */   */
   
 # include       "monop.h"  # include       "monop.h"
Line 45  char *name_list[MAX_PL+2], /* list of pl
Line 45  char *name_list[MAX_PL+2], /* list of pl
         *comlist[]      = {     /* list of normal commands              */          *comlist[]      = {     /* list of normal commands              */
         "quit",         /*  0 */        "print",        /*  1 */          "quit",         /*  0 */        "print",        /*  1 */
         "where",        /*  2 */        "own holdings", /*  3 */          "where",        /*  2 */        "own holdings", /*  3 */
         "holdings",     /*  4 */        "shell",        /*  5 */          "holdings",     /*  4 */        "mortgage",     /*  5 */
         "mortgage",     /*  6 */        "unmortgage",   /*  7 */          "unmortgage",   /*  6 */        "buy houses",   /*  7 */
         "buy houses",   /*  8 */        "sell houses",  /*  9 */          "sell houses",  /*  8 */        "card",         /*  9 */
         "card",         /* 10 */        "pay",          /* 11 */          "pay",          /* 10 */        "trade",        /* 11 */
         "trade",        /* 12 */        "resign",       /* 13 */          "resign",       /* 12 */        "save",         /* 13 */
         "save",         /* 14 */        "restore",      /* 15 */          "restore",      /* 14 */        "roll",         /* 15 */
         "roll",         /* 16 */        "",             /* 17 */          "",             /* 16 */
         0          0
         },          },
         *yn[]           = {     /* list of commands for yes/no answers  */          *yn[]           = {     /* list of commands for yes/no answers  */
         "yes",          /*  0 */        "no",           /*  1 */          "yes",          /*  0 */        "no",           /*  1 */
         "quit",         /*  2 */        "print",        /*  3 */          "quit",         /*  2 */        "print",        /*  3 */
         "where",        /*  4 */        "own holdings", /*  5 */          "where",        /*  4 */        "own holdings", /*  5 */
         "holdings",     /*  6 */        "shell",        /*  7 */          "holdings",     /*  6 */
         0          0
         },          },
         *lucky_mes[]    = {     /* "got lucky" messages                 */          *lucky_mes[]    = {     /* "got lucky" messages                 */
Line 79  int player,   /* current player number  
Line 79  int player,   /* current player number  
                                 /* list of command functions            */                                  /* list of command functions            */
         buy_houses(), card(), do_move(), do_move(), list(), list_all(),          buy_houses(), card(), do_move(), do_move(), list(), list_all(),
         mortgage(), pay(), printboard(), quit(), resign(), restore(),          mortgage(), pay(), printboard(), quit(), resign(), restore(),
         rub(), save(), sell_houses(), shell_out(), trade(),          rub(), save(), sell_houses(), trade(),
         unmortgage(), where(),          unmortgage(), where(),
         (*func[])()     = {     /* array of function calls for commands */          (*func[])()     = {     /* array of function calls for commands */
         quit,                   /* quit game            |*  0 *|        */          quit,                   /* quit game            |*  0 *|        */
Line 87  int player,   /* current player number  
Line 87  int player,   /* current player number  
         where,                  /* where players are    |*  2 *|        */          where,                  /* where players are    |*  2 *|        */
         list,                   /* own holdings         |*  3 *|        */          list,                   /* own holdings         |*  3 *|        */
         list_all,               /* holdings list        |*  4 *|        */          list_all,               /* holdings list        |*  4 *|        */
         shell_out,              /* shell                |*  5 *|        */          mortgage,               /* mortgage property    |*  5 *|        */
         mortgage,               /* mortgage property    |*  6 *|        */          unmortgage,             /* unmortgage property  |*  6 *|        */
         unmortgage,             /* unmortgage property  |*  7 *|        */          buy_houses,             /* buy houses           |*  7 *|        */
         buy_houses,             /* buy houses           |*  8 *|        */          sell_houses,            /* sell houses          |*  8 *|        */
         sell_houses,            /* sell houses          |*  9 *|        */          card,                   /* card for jail        |*  9 *|        */
         card,                   /* card for jail        |* 10 *|        */          pay,                    /* pay for jail         |* 10 *|        */
         pay,                    /* pay for jail         |* 11 *|        */          trade,                  /* trade                |* 11 *|        */
         trade,                  /* trade                |* 12 *|        */          resign,                 /* resign               |* 12 *|        */
         resign,                 /* resign               |* 13 *|        */          save,                   /* save game            |* 13 *|        */
         save,                   /* save game            |* 14 *|        */          restore,                /* restore game         |* 14 *|        */
         restore,                /* restore game         |* 15 *|        */          do_move,                /* roll                 |* 15 *|        */
         do_move,                /* roll                 |* 16 *|        */          do_move                 /* ""                   |* 16 *|        */
         do_move                 /* ""                   |* 17 *|        */  
         };          };
   
 DECK    deck[2];                /* Chance and Community Chest           */  DECK    deck[2];                /* Chance and Community Chest           */

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.2

CVSweb <webmaster@jp.NetBSD.org>