[BACK]Return to main.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / games / phantasia

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

Diff for /src/games/phantasia/main.c between version 1.23 and 1.24

version 1.23, 2009/08/31 08:27:16 version 1.24, 2019/02/03 03:19:25
Line 108  main(int argc, char **argv)
Line 108  main(int argc, char **argv)
                 case 'a':       /* all users */                  case 'a':       /* all users */
                         activelist();                          activelist();
                         cleanup(TRUE);                          cleanup(TRUE);
                           __unreachable();
                         /* NOTREACHED */                          /* NOTREACHED */
   
                 case 'p':       /* purge old players */                  case 'p':       /* purge old players */
                         purgeoldplayers();                          purgeoldplayers();
                         cleanup(TRUE);                          cleanup(TRUE);
                           __unreachable();
                         /* NOTREACHED */                          /* NOTREACHED */
   
                 case 'S':       /* set 'Wizard' */                  case 'S':       /* set 'Wizard' */
Line 126  main(int argc, char **argv)
Line 128  main(int argc, char **argv)
                 case 'm':       /* monsters */                  case 'm':       /* monsters */
                         monstlist();                          monstlist();
                         cleanup(TRUE);                          cleanup(TRUE);
                           __unreachable();
                         /* NOTREACHED */                          /* NOTREACHED */
   
                 case 'b':       /* scoreboard */                  case 'b':       /* scoreboard */
                         scorelist();                          scorelist();
                         cleanup(TRUE);                          cleanup(TRUE);
                           __unreachable();
                         /* NOTREACHED */                          /* NOTREACHED */
                 }                  }
   
Line 143  main(int argc, char **argv)
Line 147  main(int argc, char **argv)
         if (examine) {          if (examine) {
                 changestats(FALSE);                  changestats(FALSE);
                 cleanup(TRUE);                  cleanup(TRUE);
                   __unreachable();
                 /* NOTREACHED */                  /* NOTREACHED */
         }          }
         if (!noheader) {          if (!noheader) {
                 titlelist();                  titlelist();
                 purgeoldplayers();      /* clean up old characters */                  purgeoldplayers();      /* clean up old characters */
         }          }
         if (headeronly)          if (headeronly) {
                 cleanup(TRUE);                  cleanup(TRUE);
         /* NOTREACHED */                  __unreachable();
                   /* NOTREACHED */
           }
   
         do          do
                 /* get the player structure filled */                  /* get the player structure filled */
Line 167  main(int argc, char **argv)
Line 174  main(int argc, char **argv)
   
                 case 'Q':                  case 'Q':
                         cleanup(TRUE);                          cleanup(TRUE);
                           __unreachable();
                         /* NOTREACHED */                          /* NOTREACHED */
   
                 default:                  default:
Line 544  procmain(void)
Line 552  procmain(void)
   
         case '5':               /* good-bye */          case '5':               /* good-bye */
                 leavegame();                  leavegame();
                   __unreachable();
                 /* NOTREACHED */                  /* NOTREACHED */
   
         case '6':               /* cloak */          case '6':               /* cloak */

Legend:
Removed from v.1.23  
changed lines
  Added in v.1.24

CVSweb <webmaster@jp.NetBSD.org>