Xref: utzoo comp.windows.x:30351 rec.games.programmer:2669 Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!sdd.hp.com!uakari.primate.wisc.edu!ames!amdahl!dgcad!dg-rtp!dg!fs06!pds From: pds@lemming.webo.dg.com (Paul D. Smith) Newsgroups: comp.windows.x,rec.games.programmer Subject: Re: Xbzone avaliable on expo Message-ID: Date: 6 Dec 90 15:06:48 GMT References: <7647@umd5.umd.edu>, , <1990Dec4.164013.5165@rice.edu> <34056@netnews.upenn.edu> <1990Dec5.153749.5544@rice.edu> Sender: root@dg.dg.com Distribution: na Organization: NSDD/ONAD, Data General Corp., Westboro, MA Lines: 40 In-reply-to: uk1@sirius.rice.edu's message of 5 Dec 90 15:37:49 GMT [] Control C seems to work OK, anyone get a highscore table at the end [] yet? I think its supposed to have one. The high-scores table has been circumvented in the source: the code is still there but the relevent function returns before it gets executed. I commented out the return and got a high scores table. Unfortunately, it seems to generate the table in the working directory. I suspect this would be trivial to solve by putting in a pathname instead of just a filename. Here's what you do (note I don't recall my FORTRAN from 8 yrs. ago, so I just modified the C output from f2c): In file bzone_scores.c, search for "dl2n" (the user who modified the code). You will find a code segment like: /* but, why bother with the scorefile ... (dl2n) */ /* terminate gpr after 7.5 seconds wait (this is repeated below) */ timewait_(&timerelative, clock, &status); gprterminate_(&c__1, &status); return 0; /* print out player's score */ I just put `#ifdef 0' / `#endif' around the whole thing and I got a scorefile. Also note the scores are printed, etc. after the game ends, so they're just put out to the Xterm or wherever you started the game from; they're not drawn on the screen. Bummer. :-) Hope this helps ... -- paul ----- ------------------------------------------------------------------ | Paul D. Smith | pds@lemming.webo.dg.com | | Data General Corp. | | | Network Services Development Division | "Pretty Damn S..." | | Open Network Systems Development | | ------------------------------------------------------------------