home *** CD-ROM | disk | FTP | other *** search
/ C!T ROM 2 / ctrom_ii_b.zip / ctrom_ii_b / PROGRAM / C / EV_201 / HANOI / MAIN.HPP < prev    next >
C/C++ Source or Header  |  1993-07-03  |  1KB  |  38 lines

  1. #if !defined (MAIN)                  // Prevents multiple declarations errors
  2. #define MAIN
  3.  
  4.  
  5. /*
  6.    Module        : MAIN.HPP
  7.    Version       : 2.0
  8.    Revision date : July 3rd, 1993
  9.    Author(s)     : Remy Gendron
  10.  
  11.    Description   : Main file's header file.
  12. */
  13.  
  14.  
  15. // Macros -------------------------------------------------------------------
  16.  
  17. #include "stdmacro.h"                           // Standard macro definitions
  18.  
  19.  
  20. // TypeDefs -----------------------------------------------------------------
  21.  
  22. #include "stdtype.h"                             // Standard type definitions
  23. #include "prjtype.h"                       // This project's type definitions
  24.  
  25.  
  26. // Global Variables ---------------------------------------------------------
  27.  
  28. extern int  move_count ;   // Counts number of moves made to solve the puzzle
  29. extern char nbmoves[18] ;                      // To show current move number
  30. extern char alphaspeed[18] ;                         // To show current speed
  31. extern int  globspeed ;          // Animation's speed (0: slowest 9: fastest)
  32. extern bool end_anim ;                // If true, user asked to end animation
  33.  
  34.  
  35. // End Header File ----------------------------------------------------------
  36.  
  37. #endif
  38.