add Berkeley copyright notice; add Tim's copyright notice to random.c
authorKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Wed, 8 Feb 1989 09:13:31 +0000 (01:13 -0800)
committerKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Wed, 8 Feb 1989 09:13:31 +0000 (01:13 -0800)
SCCS-vsn: games/rogue/curses.c 5.2
SCCS-vsn: games/rogue/hit.c 5.2
SCCS-vsn: games/rogue/init.c 5.2
SCCS-vsn: games/rogue/inventory.c 5.3
SCCS-vsn: games/rogue/level.c 5.2
SCCS-vsn: games/rogue/machdep.c 5.3
SCCS-vsn: games/rogue/main.c 5.2
SCCS-vsn: games/rogue/message.c 5.2
SCCS-vsn: games/rogue/monster.c 5.2
SCCS-vsn: games/rogue/move.c 5.2
SCCS-vsn: games/rogue/object.c 5.2
SCCS-vsn: games/rogue/pack.c 5.2
SCCS-vsn: games/rogue/play.c 5.2
SCCS-vsn: games/rogue/random.c 5.2
SCCS-vsn: games/rogue/ring.c 5.2
SCCS-vsn: games/rogue/rogue.6 6.4
SCCS-vsn: games/rogue/rogue.h 5.3
SCCS-vsn: games/rogue/room.c 5.2
SCCS-vsn: games/rogue/save.c 5.2
SCCS-vsn: games/rogue/score.c 5.3
SCCS-vsn: games/rogue/spec_hit.c 5.2
SCCS-vsn: games/rogue/throw.c 5.2
SCCS-vsn: games/rogue/trap.c 5.2
SCCS-vsn: games/rogue/use.c 5.2
SCCS-vsn: games/rogue/zap.c 5.2

25 files changed:
usr/src/games/rogue/curses.c
usr/src/games/rogue/hit.c
usr/src/games/rogue/init.c
usr/src/games/rogue/inventory.c
usr/src/games/rogue/level.c
usr/src/games/rogue/machdep.c
usr/src/games/rogue/main.c
usr/src/games/rogue/message.c
usr/src/games/rogue/monster.c
usr/src/games/rogue/move.c
usr/src/games/rogue/object.c
usr/src/games/rogue/pack.c
usr/src/games/rogue/play.c
usr/src/games/rogue/random.c
usr/src/games/rogue/ring.c
usr/src/games/rogue/rogue.6
usr/src/games/rogue/rogue.h
usr/src/games/rogue/room.c
usr/src/games/rogue/save.c
usr/src/games/rogue/score.c
usr/src/games/rogue/spec_hit.c
usr/src/games/rogue/throw.c
usr/src/games/rogue/trap.c
usr/src/games/rogue/use.c
usr/src/games/rogue/zap.c

index ea8c81e..be131bf 100644 (file)
@@ -1,3 +1,27 @@
+/*
+ * Copyright (c) 1988 The Regents of the University of California.
+ * All rights reserved.
+ *
+ * This code is derived from software contributed to Berkeley by
+ * Timothy C. Stoehr.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * advertising materials, and other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * by the University of California, Berkeley.  The name of the
+ * University may not be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
+
+#ifndef lint
+static char sccsid[] = "@(#)curses.c   5.2 (Berkeley) %G%";
+#endif /* not lint */
+
 /*
  * curses.c
  *
 /*
  * curses.c
  *
  *
  */
 
  *
  */
 
-#ifndef lint
-static char sccsid[] = "@(#)curses.c   5.1 (Berkeley) %G%";
-#endif /* not lint */
-
 #ifdef CURSES
 
 /* The following is a curses emulation package suitable for the rogue program
 #ifdef CURSES
 
 /* The following is a curses emulation package suitable for the rogue program
index 5cce2bd..ae022d0 100644 (file)
@@ -1,3 +1,27 @@
+/*
+ * Copyright (c) 1988 The Regents of the University of California.
+ * All rights reserved.
+ *
+ * This code is derived from software contributed to Berkeley by
+ * Timothy C. Stoehr.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * advertising materials, and other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * by the University of California, Berkeley.  The name of the
+ * University may not be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
+
+#ifndef lint
+static char sccsid[] = "@(#)hit.c      5.2 (Berkeley) %G%";
+#endif /* not lint */
+
 /*
  * hit.c
  *
 /*
  * hit.c
  *
  *
  */
 
  *
  */
 
-#ifndef lint
-static char sccsid[] = "@(#)hit.c      5.1 (Berkeley) %G%";
-#endif /* not lint */
-
 #include "rogue.h"
 
 object *fight_monster = 0;
 #include "rogue.h"
 
 object *fight_monster = 0;
index a51ef4d..8d19e36 100644 (file)
@@ -1,3 +1,27 @@
+/*
+ * Copyright (c) 1988 The Regents of the University of California.
+ * All rights reserved.
+ *
+ * This code is derived from software contributed to Berkeley by
+ * Timothy C. Stoehr.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * advertising materials, and other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * by the University of California, Berkeley.  The name of the
+ * University may not be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
+
+#ifndef lint
+static char sccsid[] = "@(#)init.c     5.2 (Berkeley) %G%";
+#endif /* not lint */
+
 /*
  * init.c
  *
 /*
  * init.c
  *
  *
  */
 
  *
  */
 
-#ifndef lint
-static char sccsid[] = "@(#)init.c     5.1 (Berkeley) %G%";
-#endif /* not lint */
-
 #include <stdio.h>
 #include "rogue.h"
 
 #include <stdio.h>
 #include "rogue.h"
 
index aa8bd7d..b315f74 100644 (file)
@@ -1,3 +1,27 @@
+/*
+ * Copyright (c) 1988 The Regents of the University of California.
+ * All rights reserved.
+ *
+ * This code is derived from software contributed to Berkeley by
+ * Timothy C. Stoehr.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * advertising materials, and other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * by the University of California, Berkeley.  The name of the
+ * University may not be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
+
+#ifndef lint
+static char sccsid[] = "@(#)inventory.c        5.3 (Berkeley) %G%";
+#endif /* not lint */
+
 /*
  * inventory.c
  *
 /*
  * inventory.c
  *
  *
  */
 
  *
  */
 
-#ifndef lint
-static char sccsid[] = "@(#)inventory.c        5.2 (Berkeley) %G%";
-#endif /* not lint */
-
 #include "rogue.h"
 
 boolean is_wood[WANDS];
 #include "rogue.h"
 
 boolean is_wood[WANDS];
index 659092a..b3f7dfd 100644 (file)
@@ -1,3 +1,27 @@
+/*
+ * Copyright (c) 1988 The Regents of the University of California.
+ * All rights reserved.
+ *
+ * This code is derived from software contributed to Berkeley by
+ * Timothy C. Stoehr.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * advertising materials, and other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * by the University of California, Berkeley.  The name of the
+ * University may not be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
+
+#ifndef lint
+static char sccsid[] = "@(#)level.c    5.2 (Berkeley) %G%";
+#endif /* not lint */
+
 /*
  * level.c
  *
 /*
  * level.c
  *
  *
  */
 
  *
  */
 
-#ifndef lint
-static char sccsid[] = "@(#)level.c    5.1 (Berkeley) %G%";
-#endif /* not lint */
-
 #include "rogue.h"
 
 #define swap(x,y) {t = x; x = y; y = t;}
 #include "rogue.h"
 
 #define swap(x,y) {t = x; x = y; y = t;}
index b88fe35..4eb706c 100644 (file)
@@ -1,3 +1,27 @@
+/*
+ * Copyright (c) 1988 The Regents of the University of California.
+ * All rights reserved.
+ *
+ * This code is derived from software contributed to Berkeley by
+ * Timothy C. Stoehr.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * advertising materials, and other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * by the University of California, Berkeley.  The name of the
+ * University may not be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
+
+#ifndef lint
+static char sccsid[] = "@(#)machdep.c  5.3 (Berkeley) %G%";
+#endif /* not lint */
+
 /*
  * machdep.c
  *
 /*
  * machdep.c
  *
  *
  */
 
  *
  */
 
-#ifndef lint
-static char sccsid[] = "@(#)machdep.c  5.2 (Berkeley) %G%";
-#endif /* not lint */
-
 /* Included in this file are all system dependent routines.  Extensive use
  * of #ifdef's will be used to compile the appropriate code on each system:
  *
 /* Included in this file are all system dependent routines.  Extensive use
  * of #ifdef's will be used to compile the appropriate code on each system:
  *
index 667a68c..a2efd18 100644 (file)
@@ -1,3 +1,33 @@
+/*
+ * Copyright (c) 1988 The Regents of the University of California.
+ * All rights reserved.
+ *
+ * This code is derived from software contributed to Berkeley by
+ * Timothy C. Stoehr.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * advertising materials, and other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * by the University of California, Berkeley.  The name of the
+ * University may not be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
+
+#ifndef lint
+char copyright[] =
+"@(#) Copyright (c) 1988 The Regents of the University of California.\n\
+ All rights reserved.\n";
+#endif /* not lint */
+
+#ifndef lint
+static char sccsid[] = "@(#)main.c     5.2 (Berkeley) %G%";
+#endif /* not lint */
+
 /*
  * main.c
  *
 /*
  * main.c
  *
  *
  */
 
  *
  */
 
-#ifndef lint
-static char sccsid[] = "@(#)main.c     5.1 (Berkeley) %G%";
-#endif /* not lint */
-
 #include "rogue.h"
 
 extern short party_room;
 #include "rogue.h"
 
 extern short party_room;
index b3534a5..c605711 100644 (file)
@@ -1,3 +1,27 @@
+/*
+ * Copyright (c) 1988 The Regents of the University of California.
+ * All rights reserved.
+ *
+ * This code is derived from software contributed to Berkeley by
+ * Timothy C. Stoehr.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * advertising materials, and other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * by the University of California, Berkeley.  The name of the
+ * University may not be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
+
+#ifndef lint
+static char sccsid[] = "@(#)message.c  5.2 (Berkeley) %G%";
+#endif /* not lint */
+
 /*
  * message.c
  *
 /*
  * message.c
  *
  *
  */
 
  *
  */
 
-#ifndef lint
-static char sccsid[] = "@(#)message.c  5.1 (Berkeley) %G%";
-#endif /* not lint */
-
 #include <stdio.h>
 #include "rogue.h"
 
 #include <stdio.h>
 #include "rogue.h"
 
index 58db81f..90a927e 100644 (file)
@@ -1,3 +1,27 @@
+/*
+ * Copyright (c) 1988 The Regents of the University of California.
+ * All rights reserved.
+ *
+ * This code is derived from software contributed to Berkeley by
+ * Timothy C. Stoehr.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * advertising materials, and other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * by the University of California, Berkeley.  The name of the
+ * University may not be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
+
+#ifndef lint
+static char sccsid[] = "@(#)monster.c  5.2 (Berkeley) %G%";
+#endif /* not lint */
+
 /*
  * monster.c
  *
 /*
  * monster.c
  *
  *
  */
 
  *
  */
 
-#ifndef lint
-static char sccsid[] = "@(#)monster.c  5.1 (Berkeley) %G%";
-#endif /* not lint */
-
 #include "rogue.h"
 
 object level_monsters;
 #include "rogue.h"
 
 object level_monsters;
index 4d3f525..e0f991a 100644 (file)
@@ -1,3 +1,27 @@
+/*
+ * Copyright (c) 1988 The Regents of the University of California.
+ * All rights reserved.
+ *
+ * This code is derived from software contributed to Berkeley by
+ * Timothy C. Stoehr.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * advertising materials, and other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * by the University of California, Berkeley.  The name of the
+ * University may not be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
+
+#ifndef lint
+static char sccsid[] = "@(#)move.c     5.2 (Berkeley) %G%";
+#endif /* not lint */
+
 /*
  * move.c
  *
 /*
  * move.c
  *
  *
  */
 
  *
  */
 
-#ifndef lint
-static char sccsid[] = "@(#)move.c     5.1 (Berkeley) %G%";
-#endif /* not lint */
-
 #include "rogue.h"
 
 short m_moves = 0;
 #include "rogue.h"
 
 short m_moves = 0;
index 48b0ad3..1c0d092 100644 (file)
@@ -1,3 +1,27 @@
+/*
+ * Copyright (c) 1988 The Regents of the University of California.
+ * All rights reserved.
+ *
+ * This code is derived from software contributed to Berkeley by
+ * Timothy C. Stoehr.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * advertising materials, and other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * by the University of California, Berkeley.  The name of the
+ * University may not be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
+
+#ifndef lint
+static char sccsid[] = "@(#)object.c   5.2 (Berkeley) %G%";
+#endif /* not lint */
+
 /*
  * object.c
  *
 /*
  * object.c
  *
  *
  */
 
  *
  */
 
-#ifndef lint
-static char sccsid[] = "@(#)object.c   5.1 (Berkeley) %G%";
-#endif /* not lint */
-
 #include "rogue.h"
 
 object level_objects;
 #include "rogue.h"
 
 object level_objects;
index 96f89aa..4e3a980 100644 (file)
@@ -1,3 +1,27 @@
+/*
+ * Copyright (c) 1988 The Regents of the University of California.
+ * All rights reserved.
+ *
+ * This code is derived from software contributed to Berkeley by
+ * Timothy C. Stoehr.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * advertising materials, and other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * by the University of California, Berkeley.  The name of the
+ * University may not be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
+
+#ifndef lint
+static char sccsid[] = "@(#)pack.c     5.2 (Berkeley) %G%";
+#endif /* not lint */
+
 /*
  * pack.c
  *
 /*
  * pack.c
  *
  *
  */
 
  *
  */
 
-#ifndef lint
-static char sccsid[] = "@(#)pack.c     5.1 (Berkeley) %G%";
-#endif /* not lint */
-
 #include "rogue.h"
 
 char *curse_message = "you can't, it appears to be cursed";
 #include "rogue.h"
 
 char *curse_message = "you can't, it appears to be cursed";
index 957e328..3728f50 100644 (file)
@@ -1,3 +1,27 @@
+/*
+ * Copyright (c) 1988 The Regents of the University of California.
+ * All rights reserved.
+ *
+ * This code is derived from software contributed to Berkeley by
+ * Timothy C. Stoehr.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * advertising materials, and other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * by the University of California, Berkeley.  The name of the
+ * University may not be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
+
+#ifndef lint
+static char sccsid[] = "@(#)play.c     5.2 (Berkeley) %G%";
+#endif /* not lint */
+
 /*
  * play.c
  *
 /*
  * play.c
  *
  *
  */
 
  *
  */
 
-#ifndef lint
-static char sccsid[] = "@(#)play.c     5.1 (Berkeley) %G%";
-#endif /* not lint */
-
 #include "rogue.h"
 
 boolean interrupted = 0;
 #include "rogue.h"
 
 boolean interrupted = 0;
index 176b1d6..88d98d3 100644 (file)
@@ -1,7 +1,39 @@
+/*
+ * Copyright (c) 1988 The Regents of the University of California.
+ * All rights reserved.
+ *
+ * This code is derived from software contributed to Berkeley by
+ * Timothy C. Stoehr.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * advertising materials, and other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * by the University of California, Berkeley.  The name of the
+ * University may not be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
+
 #ifndef lint
 #ifndef lint
-static char sccsid[] = "@(#)random.c   5.1 (Berkeley) %G%";
+static char sccsid[] = "@(#)random.c   5.2 (Berkeley) %G%";
 #endif /* not lint */
 
 #endif /* not lint */
 
+/*
+ * random.c
+ *
+ * This source herein may be modified and/or distributed by anybody who
+ * so desires, with the following restrictions:
+ *    1.)  No portion of this notice shall be removed.
+ *    2.)  Credit shall not be taken for the creation of this source.
+ *    3.)  This code is not to be traded, sold, or used for personal
+ *         gain or profit.
+ *
+ */
+
 static long rntb[32] = {
                 3, 0x9a319039, 0x32d9c024, 0x9b663182, 0x5da1f342, 
        0xde3b81e0, 0xdf0a6fb5, 0xf103bc02, 0x48f340fb, 0x7449e56b,
 static long rntb[32] = {
                 3, 0x9a319039, 0x32d9c024, 0x9b663182, 0x5da1f342, 
        0xde3b81e0, 0xdf0a6fb5, 0xf103bc02, 0x48f340fb, 0x7449e56b,
index 5ee572c..5469332 100644 (file)
@@ -1,3 +1,27 @@
+/*
+ * Copyright (c) 1988 The Regents of the University of California.
+ * All rights reserved.
+ *
+ * This code is derived from software contributed to Berkeley by
+ * Timothy C. Stoehr.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * advertising materials, and other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * by the University of California, Berkeley.  The name of the
+ * University may not be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
+
+#ifndef lint
+static char sccsid[] = "@(#)ring.c     5.2 (Berkeley) %G%";
+#endif /* not lint */
+
 /*
  * ring.c
  *
 /*
  * ring.c
  *
  *
  */
 
  *
  */
 
-#ifndef lint
-static char sccsid[] = "@(#)ring.c     5.1 (Berkeley) %G%";
-#endif /* not lint */
-
 #include "rogue.h"
 
 char *left_or_right = "left or right hand?";
 #include "rogue.h"
 
 char *left_or_right = "left or right hand?";
index 1393a66..a50b88b 100644 (file)
@@ -1,8 +1,19 @@
-.\" Copyright (c) 1980 Regents of the University of California.
-.\" All rights reserved.  The Berkeley software License Agreement
-.\" specifies the terms and conditions for redistribution.
+.\" Copyright (c) 1988 The Regents of the University of California.
+.\" All rights reserved.
 .\"
 .\"
-.\"    @(#)rogue.6     6.3 (Berkeley) %G%
+.\" Redistribution and use in source and binary forms are permitted
+.\" provided that the above copyright notice and this paragraph are
+.\" duplicated in all such forms and that any documentation,
+.\" advertising materials, and other materials related to such
+.\" distribution and use acknowledge that the software was developed
+.\" by the University of California, Berkeley.  The name of the
+.\" University may not be used to endorse or promote products derived
+.\" from this software without specific prior written permission.
+.\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+.\" IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+.\"
+.\"    @(#)rogue.6     6.4 (Berkeley) %G%
 .\"
 .TH ROGUE 6 ""
 .UC 4
 .\"
 .TH ROGUE 6 ""
 .UC 4
index ed987ff..322339d 100644 (file)
@@ -1,3 +1,25 @@
+/*
+ * Copyright (c) 1988 The Regents of the University of California.
+ * All rights reserved.
+ *
+ * This code is derived from software contributed to Berkeley by
+ * Timoth C. Stoehr.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * advertising materials, and other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * by the University of California, Berkeley.  The name of the
+ * University may not be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ *
+ *     @(#)rogue.h     5.3 (Berkeley) %G%
+ */
+
 /*
  * rogue.h
  *
 /*
  * rogue.h
  *
@@ -7,8 +29,6 @@
  *    2.)  Credit shall not be taken for the creation of this source.
  *    3.)  This code is not to be traded, sold, or used for personal
  *         gain or profit.
  *    2.)  Credit shall not be taken for the creation of this source.
  *    3.)  This code is not to be traded, sold, or used for personal
  *         gain or profit.
- *
- *     @(#)rogue.h     5.2 (Berkeley) %G%
  */
 
 #define boolean char
  */
 
 #define boolean char
index a058737..51e33a3 100644 (file)
@@ -1,3 +1,27 @@
+/*
+ * Copyright (c) 1988 The Regents of the University of California.
+ * All rights reserved.
+ *
+ * This code is derived from software contributed to Berkeley by
+ * Timothy C. Stoehr.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * advertising materials, and other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * by the University of California, Berkeley.  The name of the
+ * University may not be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
+
+#ifndef lint
+static char sccsid[] = "@(#)room.c     5.2 (Berkeley) %G%";
+#endif /* not lint */
+
 /*
  * room.c
  *
 /*
  * room.c
  *
  *
  */
 
  *
  */
 
-#ifndef lint
-static char sccsid[] = "@(#)room.c     5.1 (Berkeley) %G%";
-#endif /* not lint */
-
 #include "rogue.h"
 
 room rooms[MAXROOMS];
 #include "rogue.h"
 
 room rooms[MAXROOMS];
index ae1f14e..0aa1bba 100644 (file)
@@ -1,3 +1,27 @@
+/*
+ * Copyright (c) 1988 The Regents of the University of California.
+ * All rights reserved.
+ *
+ * This code is derived from software contributed to Berkeley by
+ * Timothy C. Stoehr.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * advertising materials, and other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * by the University of California, Berkeley.  The name of the
+ * University may not be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
+
+#ifndef lint
+static char sccsid[] = "@(#)save.c     5.2 (Berkeley) %G%";
+#endif /* not lint */
+
 /*
  * save.c
  *
 /*
  * save.c
  *
  *
  */
 
  *
  */
 
-#ifndef lint
-static char sccsid[] = "@(#)save.c     5.1 (Berkeley) %G%";
-#endif /* not lint */
-
 #include <stdio.h>
 #include "rogue.h"
 
 #include <stdio.h>
 #include "rogue.h"
 
index 2771d7c..0c78998 100644 (file)
@@ -1,3 +1,27 @@
+/*
+ * Copyright (c) 1988 The Regents of the University of California.
+ * All rights reserved.
+ *
+ * This code is derived from software contributed to Berkeley by
+ * Timothy C. Stoehr.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * advertising materials, and other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * by the University of California, Berkeley.  The name of the
+ * University may not be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
+
+#ifndef lint
+static char sccsid[] = "@(#)score.c    5.3 (Berkeley) %G%";
+#endif /* not lint */
+
 /*
  * score.c
  *
 /*
  * score.c
  *
  *
  */
 
  *
  */
 
-#ifndef lint
-static char sccsid[] = "@(#)score.c    5.2 (Berkeley) %G%";
-#endif /* not lint */
-
 #include <stdio.h>
 #include "rogue.h"
 
 #include <stdio.h>
 #include "rogue.h"
 
index 0ecd99c..eddd550 100644 (file)
@@ -1,3 +1,27 @@
+/*
+ * Copyright (c) 1988 The Regents of the University of California.
+ * All rights reserved.
+ *
+ * This code is derived from software contributed to Berkeley by
+ * Timothy C. Stoehr.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * advertising materials, and other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * by the University of California, Berkeley.  The name of the
+ * University may not be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
+
+#ifndef lint
+static char sccsid[] = "@(#)spec_hit.c 5.2 (Berkeley) %G%";
+#endif /* not lint */
+
 /*
  * special_hit.c
  *
 /*
  * special_hit.c
  *
  *
  */
 
  *
  */
 
-#ifndef lint
-static char sccsid[] = "@(#)spec_hit.c 5.1 (Berkeley) %G%";
-#endif /* not lint */
-
 #include "rogue.h"
 
 short less_hp = 0;
 #include "rogue.h"
 
 short less_hp = 0;
index 0197cfc..752899f 100644 (file)
@@ -1,3 +1,27 @@
+/*
+ * Copyright (c) 1988 The Regents of the University of California.
+ * All rights reserved.
+ *
+ * This code is derived from software contributed to Berkeley by
+ * Timothy C. Stoehr.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * advertising materials, and other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * by the University of California, Berkeley.  The name of the
+ * University may not be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
+
+#ifndef lint
+static char sccsid[] = "@(#)throw.c    5.2 (Berkeley) %G%";
+#endif /* not lint */
+
 /*
  * throw.c
  *
 /*
  * throw.c
  *
  *
  */
 
  *
  */
 
-#ifndef lint
-static char sccsid[] = "@(#)throw.c    5.1 (Berkeley) %G%";
-#endif /* not lint */
-
 #include "rogue.h"
 
 extern short cur_room;
 #include "rogue.h"
 
 extern short cur_room;
index 6f6b7b9..7783f79 100644 (file)
@@ -1,3 +1,27 @@
+/*
+ * Copyright (c) 1988 The Regents of the University of California.
+ * All rights reserved.
+ *
+ * This code is derived from software contributed to Berkeley by
+ * Timothy C. Stoehr.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * advertising materials, and other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * by the University of California, Berkeley.  The name of the
+ * University may not be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
+
+#ifndef lint
+static char sccsid[] = "@(#)trap.c     5.2 (Berkeley) %G%";
+#endif /* not lint */
+
 /*
  * trap.c
  *
 /*
  * trap.c
  *
  *
  */
 
  *
  */
 
-#ifndef lint
-static char sccsid[] = "@(#)trap.c     5.1 (Berkeley) %G%";
-#endif /* not lint */
-
 #include "rogue.h"
 
 trap traps[MAX_TRAPS];
 #include "rogue.h"
 
 trap traps[MAX_TRAPS];
index 2c4a795..ce1049a 100644 (file)
@@ -1,3 +1,27 @@
+/*
+ * Copyright (c) 1988 The Regents of the University of California.
+ * All rights reserved.
+ *
+ * This code is derived from software contributed to Berkeley by
+ * Timothy C. Stoehr.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * advertising materials, and other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * by the University of California, Berkeley.  The name of the
+ * University may not be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
+
+#ifndef lint
+static char sccsid[] = "@(#)use.c      5.2 (Berkeley) %G%";
+#endif /* not lint */
+
 /*
  * use.c
  *
 /*
  * use.c
  *
  *
  */
 
  *
  */
 
-#ifndef lint
-static char sccsid[] = "@(#)use.c      5.1 (Berkeley) %G%";
-#endif /* not lint */
-
 #include "rogue.h"
 
 short halluc = 0;
 #include "rogue.h"
 
 short halluc = 0;
index cbaca51..8d40cfc 100644 (file)
@@ -1,3 +1,27 @@
+/*
+ * Copyright (c) 1988 The Regents of the University of California.
+ * All rights reserved.
+ *
+ * This code is derived from software contributed to Berkeley by
+ * Timothy C. Stoehr.
+ *
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * advertising materials, and other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * by the University of California, Berkeley.  The name of the
+ * University may not be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ */
+
+#ifndef lint
+static char sccsid[] = "@(#)zap.c      5.2 (Berkeley) %G%";
+#endif /* not lint */
+
 /*
  * zap.c
  *
 /*
  * zap.c
  *
  *
  */
 
  *
  */
 
-#ifndef lint
-static char sccsid[] = "@(#)zap.c      5.1 (Berkeley) %G%";
-#endif /* not lint */
-
 #include "rogue.h"
 
 boolean wizard = 0;
 #include "rogue.h"
 
 boolean wizard = 0;