[BACK]Return to input.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / games / atc

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/games/atc/input.c between version 1.24.12.1 and 1.25

version 1.24.12.1, 2014/08/20 00:00:21 version 1.25, 2014/03/22 22:24:21
Line 199  static PLANE p;
Line 199  static PLANE p;
 static STACK stack[MAXDEPTH];  static STACK stack[MAXDEPTH];
 static int level;  static int level;
 static int tval;  static int tval;
 static int dir;  static int dest_type, dest_no, dir;
 static enum places dest_type;  
 static unsigned dest_no;  
   
 static int  static int
 pop(void)  pop(void)
Line 395  setplane(int c)
Line 393  setplane(int c)
         if (pp == NULL)          if (pp == NULL)
                 return ("Unknown Plane");                  return ("Unknown Plane");
         (void)memcpy(&p, pp, sizeof (p));          (void)memcpy(&p, pp, sizeof (p));
         p.delayd = false;          p.delayd = 0;
         return (NULL);          return (NULL);
 }  }
   
Line 476  delayb(int ch)
Line 474  delayb(int ch)
         ydiff = SGN(ydiff);          ydiff = SGN(ydiff);
         if (xdiff != displacement[p.dir].dx || ydiff != displacement[p.dir].dy)          if (xdiff != displacement[p.dir].dx || ydiff != displacement[p.dir].dy)
                 return ("Beacon is not in flight path");                  return ("Beacon is not in flight path");
         p.delayd = true;          p.delayd = 1;
         p.delayd_no = bn;          p.delayd_no = bn;
   
         if (dest_type != T_NODEST) {          if (dest_type != T_NODEST) {

Legend:
Removed from v.1.24.12.1  
changed lines
  Added in v.1.25

CVSweb <webmaster@jp.NetBSD.org>