X-Git-Url: https://git.cameronkatri.com/bsdgames-darwin.git/blobdiff_plain/462fca95471224f85b85be911e72faee16cd1597..283621ee3b4a30d66d08567b6507c0ba1580dbf1:/rogue/play.c?ds=inline diff --git a/rogue/play.c b/rogue/play.c index de89a309..7b53d6ed 100644 --- a/rogue/play.c +++ b/rogue/play.c @@ -1,6 +1,8 @@ +/* $NetBSD: play.c,v 1.5 1998/11/10 13:01:32 hubertf Exp $ */ + /* - * Copyright (c) 1988 The Regents of the University of California. - * All rights reserved. + * Copyright (c) 1988, 1993 + * The Regents of the University of California. All rights reserved. * * This code is derived from software contributed to Berkeley by * Timothy C. Stoehr. @@ -34,9 +36,13 @@ * SUCH DAMAGE. */ +#include #ifndef lint -/*static char sccsid[] = "from: @(#)play.c 5.3 (Berkeley) 6/1/90";*/ -static char rcsid[] = "$Id: play.c,v 1.2 1993/08/01 18:52:19 mycroft Exp $"; +#if 0 +static char sccsid[] = "@(#)play.c 8.1 (Berkeley) 5/31/93"; +#else +__RCSID("$NetBSD: play.c,v 1.5 1998/11/10 13:01:32 hubertf Exp $"); +#endif #endif /* not lint */ /* @@ -54,12 +60,9 @@ static char rcsid[] = "$Id: play.c,v 1.2 1993/08/01 18:52:19 mycroft Exp $"; #include "rogue.h" boolean interrupted = 0; -char *unknown_command = "unknown command"; - -extern short party_room, bear_trap; -extern char hit_message[]; -extern boolean wizard, trap_door; +const char *unknown_command = "unknown command"; +void play_level() { short ch;