summaryrefslogtreecommitdiffstats
path: root/battlestar/cypher.c
diff options
context:
space:
mode:
authormycroft <mycroft@NetBSD.org>2000-07-23 23:57:23 +0000
committermycroft <mycroft@NetBSD.org>2000-07-23 23:57:23 +0000
commit74639ea369dcee2bed9c2d2c8ee108d4336a9858 (patch)
tree941b202d6746a6296df1ad1869ec0c4e1b10fc43 /battlestar/cypher.c
parentf6138c99bc04c12506713ae9badd0552ddfc22e5 (diff)
downloadbsdgames-darwin-74639ea369dcee2bed9c2d2c8ee108d4336a9858.tar.gz
bsdgames-darwin-74639ea369dcee2bed9c2d2c8ee108d4336a9858.tar.zst
bsdgames-darwin-74639ea369dcee2bed9c2d2c8ee108d4336a9858.zip
Rename move() to moveplayer() to avoid clashing with libcurses.
Diffstat (limited to 'battlestar/cypher.c')
-rw-r--r--battlestar/cypher.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/battlestar/cypher.c b/battlestar/cypher.c
index 63390a7d..0f37e8b6 100644
--- a/battlestar/cypher.c
+++ b/battlestar/cypher.c
@@ -1,4 +1,4 @@
-/* $NetBSD: cypher.c,v 1.10 1999/09/18 16:41:38 jsm Exp $ */
+/* $NetBSD: cypher.c,v 1.11 2000/07/23 23:57:23 mycroft Exp $ */
/*
* Copyright (c) 1983, 1993
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)cypher.c 8.2 (Berkeley) 4/28/95";
#else
-__RCSID("$NetBSD: cypher.c,v 1.10 1999/09/18 16:41:38 jsm Exp $");
+__RCSID("$NetBSD: cypher.c,v 1.11 2000/07/23 23:57:23 mycroft Exp $");
#endif
#endif /* not lint */
@@ -63,7 +63,7 @@ cypher()
if (location[position].access || wiz || tempwiz) {
if (!location[position].access)
puts("Zap! A gust of wind lifts you up.");
- if (!move(location[position].up, AHEAD))
+ if (!moveplayer(location[position].up, AHEAD))
return (-1);
} else {
puts("There is no way up");
@@ -73,31 +73,31 @@ cypher()
break;
case DOWN:
- if (!move(location[position].down, AHEAD))
+ if (!moveplayer(location[position].down, AHEAD))
return (-1);
lflag = 0;
break;
case LEFT:
- if (!move(left, LEFT))
+ if (!moveplayer(left, LEFT))
return (-1);
lflag = 0;
break;
case RIGHT:
- if (!move(right, RIGHT))
+ if (!moveplayer(right, RIGHT))
return (-1);
lflag = 0;
break;
case AHEAD:
- if (!move(ahead, AHEAD))
+ if (!moveplayer(ahead, AHEAD))
return (-1);
lflag = 0;
break;
case BACK:
- if (!move(back, BACK))
+ if (!moveplayer(back, BACK))
return (-1);
lflag = 0;
break;