Path: utzoo!attcan!uunet!husc6!cmcl2!rutgers!att!chinet!mcdchg!ddsw1!corpane!sparks From: sparks@corpane.UUCP (John Sparks) Newsgroups: comp.sources.games.bugs Subject: Re: tetrix INIT_PAUSE Summary: Change CurrentPause (line 126 of tet.c) Message-ID: <440@corpane.UUCP> Date: 9 Mar 89 13:23:37 GMT References: <204@sabin.UUCP> Organization: Corpane Industries, Inc., Louisville Ky Lines: 39 In article <204@sabin.UUCP>, bjm@sabin.UUCP (Brendan J. McMahon) writes: > The first tetrix game (1 shar) compiled fine for me. But the README said there > was a variable in tet.c INIT_PAUSE that will adjust the speed of the fall. > The only mention of INIT_PAUSE in the whole shar was in the README. > How do I adjust the speed without this nonexistant constant? I found this same error. However after experimenting I found that you need to change the variable CurrentPause in tet.c line 126. here is an excerpt showing the line: ---- /**************************************************************/ NewGame() { register int x,y; CurrentPause=0; while (!CurrentPause) { GetKey(); switch (Key) { case BEEP_KEY : Beep = !Beep ; if (Beep) beep(); break; case SCORE_KEY : DrawScore(); break; case MENU_KEY : DrawMenu(); break; case BOSS_KEY : Boss(); break; change this ----> case PLAY_KEY : CurrentPause=2000; break; case QUIT_KEY : Leave(); ----- good luck. -- John Sparks // Amiga | {rutgers|uunet}!ukma!corpane!sparks \X/ UUCP | >> call D.I.S.K. @ 502/968-5401 thru 5406 << The next sentence is true. The previous sentence is false.