[BACK]Return to tetris.h CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / games / tetris

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

Diff for /src/games/tetris/tetris.h between version 1.15 and 1.16

version 1.15, 2016/03/03 21:38:55 version 1.16, 2020/07/21 02:42:05
Line 130  struct shape {
Line 130  struct shape {
 };  };
   
 extern const struct shape shapes[];  extern const struct shape shapes[];
 #define randshape() (&shapes[random() % 7])  #define randshape() (&shapes[arc4random_uniform(7)])
   
 extern const struct shape *nextshape;  extern const struct shape *nextshape;
   

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16

CVSweb <webmaster@jp.NetBSD.org>