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:
joey
2003-12-19 19:12:08 +00:00
parent 351c8ca204
commit 51eabc017b
310 changed files with 7852 additions and 5005 deletions

View File

@@ -1,4 +1,4 @@
/* $NetBSD: move.c,v 1.7 1998/07/24 23:28:02 hubertf Exp $ */
/* $NetBSD: move.c,v 1.10 2002/01/31 17:35:52 christos Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)move.c 8.1 (Berkeley) 5/31/93";
#else
__RCSID("$NetBSD: move.c,v 1.7 1998/07/24 23:28:02 hubertf Exp $");
__RCSID("$NetBSD: move.c,v 1.10 2002/01/31 17:35:52 christos Exp $");
#endif
#endif /* not lint */
@@ -94,7 +94,10 @@ get_move()
#endif
else {
over:
c = getchar();
if (Auto_bot)
c = automove();
else
c = getchar();
if (isdigit(c)) {
Count = (c - '0');
while (isdigit(c = getchar()))
@@ -172,6 +175,10 @@ teleport:
Running = FALSE;
mvaddch(My_pos.y, My_pos.x, ' ');
My_pos = *rnd_pos();
telmsg(1);
refresh();
sleep(1);
telmsg(0);
mvaddch(My_pos.y, My_pos.x, PLAYER);
leaveok(stdscr, FALSE);
refresh();
@@ -271,7 +278,7 @@ do_move(dy, dx)
*/
bool
eaten(pos)
COORD *pos;
const COORD *pos;
{
int x, y;