Article View: net.sources.games
Article #747ATC - first bug fix (simple)
From: Ed James
Date: Fri, 02 Jan 1987 20:55
Date: Fri, 02 Jan 1987 20:55
16 lines
1130 bytes
1130 bytes
In the function noise() in input.c, I put a literal ^G (like an idiot).
Shar barfs on this, but don't panic. Just substitute your favorite
noise character '\007' in the putchar in noise().
noise()
{
putchar('\007');
fflush(stdout);
}
/* in future versions, this function will have moved to graphics_curses.c */
Thanks to the many people who pointed this out to me. And thanks to
the many people who will still point this out to me bacause they will
get this article in two weeks. :-) --ed
ps. Why is there no net.sources.games.bugs?
Technical Details
Message-ID:
<1194@ucbcad.berkeley.edu>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!seismo!rutgers!ames!ucbcad!ic.Berkeley.EDU!edjamesShow Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!rutgers!ames!ucbcad!ic.Berkeley.EDU!edjames From: edjames@ic.Berkeley.EDU (Ed James) Newsgroups: net.sources.games Subject: ATC - first bug fix (simple) Message-ID: <1194@ucbcad.berkeley.edu> Date: Fri, 2-Jan-87 15:55:09 EST Article-I.D.: ucbcad.1194 Posted: Fri Jan 2 15:55:09 1987 Date-Received: Fri, 2-Jan-87 20:58:24 EST Sender: news@ucbcad.berkeley.edu Reply-To: edjames@ic.berkeley.edu (Ed James) Organization: University of California, Berkeley, CAD Group Lines: 16