diff options
| author | dholland <dholland@NetBSD.org> | 2009-07-04 07:10:22 +0000 |
|---|---|---|
| committer | dholland <dholland@NetBSD.org> | 2009-07-04 07:10:22 +0000 |
| commit | 2e8daf459306ea1d8374438d469f60aa0149aa32 (patch) | |
| tree | f8ac868239c10468429ad0ae7a90a340de2c89d3 /hunt/hunt/otto.c | |
| parent | 90a7b8b0ddece21340e896e8cec8e3f8ef4383d3 (diff) | |
| download | bsdgames-darwin-2e8daf459306ea1d8374438d469f60aa0149aa32.tar.gz bsdgames-darwin-2e8daf459306ea1d8374438d469f60aa0149aa32.zip | |
Remove the non-curses screen handling, since it relies on knowing
about various internals of SVR4 curses, old BSD curses, and/or other
unclean things. (Yes, the non-curses handling still used bits of
curses. Fie.)
Diffstat (limited to 'hunt/hunt/otto.c')
| -rw-r--r-- | hunt/hunt/otto.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/hunt/hunt/otto.c b/hunt/hunt/otto.c index 47dd0383..8c163b47 100644 --- a/hunt/hunt/otto.c +++ b/hunt/hunt/otto.c @@ -1,4 +1,4 @@ -/* $NetBSD: otto.c,v 1.14 2009/07/04 06:38:34 dholland Exp $ */ +/* $NetBSD: otto.c,v 1.15 2009/07/04 07:10:23 dholland Exp $ */ #ifdef OTTO /* * Copyright (c) 1983-2003, Regents of the University of California. @@ -45,7 +45,7 @@ #include <sys/cdefs.h> #ifndef lint -__RCSID("$NetBSD: otto.c,v 1.14 2009/07/04 06:38:34 dholland Exp $"); +__RCSID("$NetBSD: otto.c,v 1.15 2009/07/04 07:10:23 dholland Exp $"); #endif /* not lint */ #include <sys/time.h> @@ -70,12 +70,7 @@ __RCSID("$NetBSD: otto.c,v 1.14 2009/07/04 06:38:34 dholland Exp $"); #define random rand #endif -#ifndef USE_CURSES -extern char screen[SCREEN_HEIGHT][SCREEN_WIDTH2]; -#define SCREEN(y, x) screen[y][x] -#else #define SCREEN(y, x) mvinch(y, x) -#endif #ifndef DEBUG #define STATIC static |
