diff options
| author | Bruce Evans <bde@FreeBSD.org> | 1999-09-04 14:35:19 +0000 |
|---|---|---|
| committer | Bruce Evans <bde@FreeBSD.org> | 1999-09-04 14:35:19 +0000 |
| commit | 808697bc7028738c6efd01a6d3f876663b59b102 (patch) | |
| tree | f5ab95a31c23fe9d163470bad18f52efade3331b | |
| parent | 3e05dd9c7c81539a75a9a3e52034a0f8ba6516c1 (diff) | |
Notes
| -rw-r--r-- | games/hack/hack.pri.c | 4 | ||||
| -rw-r--r-- | games/hack/hack.termcap.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/games/hack/hack.pri.c b/games/hack/hack.pri.c index 13ee6b7d0b15..eb412f1edf90 100644 --- a/games/hack/hack.pri.c +++ b/games/hack/hack.pri.c @@ -94,7 +94,7 @@ static char let; return; } if(prevx >= 0 && cansee(prevx,prevy)) { - delay_output(); + delay_output(50); prl(prevx, prevy); /* in case there was a monster */ at(prevx, prevy, levl[prevx][prevy].scrsym); } @@ -136,7 +136,7 @@ register xx,yy; } /* normal call */ if(cansee(x,y)) { - if(cnt) delay_output(); + if(cnt) delay_output(50); at(x,y,let); tc[cnt].x = x; tc[cnt].y = y; diff --git a/games/hack/hack.termcap.c b/games/hack/hack.termcap.c index bc90c6539e66..43ce418e6d40 100644 --- a/games/hack/hack.termcap.c +++ b/games/hack/hack.termcap.c @@ -232,6 +232,7 @@ static short tmspc10[] = { /* from termcap */ 0, 2000, 1333, 909, 743, 666, 500, 333, 166, 83, 55, 41, 20, 10, 5, 3, 2, 1 }; +#if 0 delay_output() { /* delay 50 ms - could also use a 'nap'-system call */ /* BUG: if the padding character is visible, as it is on the 5620 @@ -246,7 +247,6 @@ delay_output() { (void) fflush(stdout); usleep(50*1000); } -#if 0 else if(ospeed > 0 || ospeed < SIZE(tmspc10)) if(CM) { /* delay by sending cm(here) an appropriate number of times */ register int cmlen = strlen(tgoto(CM, curx-1, cury-1)); @@ -257,8 +257,8 @@ delay_output() { i -= cmlen*tmspc10[ospeed]; } } -#endif } +#endif /* 0 */ cl_eos() /* free after Robert Viduya */ { /* must only be called with curx = 1 */ |
