home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / cprog / ev_201.zip / HANOI.ZIP / PRJTYPE.H < prev    next >
C/C++ Source or Header  |  1993-07-03  |  886b  |  29 lines

  1. #if !defined (PRJTYPE)            /* Prevents multiple declarations errors */
  2. #define PRJTYPE
  3.  
  4.  
  5. /*
  6.    Project       : Hanoi's towers.
  7.    Version       : 2.0
  8.    Revision Date : March 11nd, 1993
  9.    Author(s)     : Remy Gendron
  10.  
  11.    Description   : Current project's standard type definitions.
  12. */
  13.  
  14.  
  15. /* Typedefs -------------------------------------------------------------- */
  16.  
  17. struct config_info                  /* Contains configuration informations */
  18. {
  19.    int  nb_disks ;                           /* Number of disks to animate */
  20.    int  source ;                     /* Move disks from shaft number (1-3) */
  21.    int  target ;                          /* Move them all to shaft number */
  22.    int  speed ;                           /* Animation speed (9 = fastest) */
  23. } ;
  24.  
  25.  
  26. /* End Source File ------------------------------------------------------- */
  27.  
  28. #endif
  29.