home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / mnth0109.zip / Timur / mech.h < prev    next >
Text File  |  1993-06-07  |  809b  |  40 lines

  1. /* MECH.H
  2.  
  3. Copyright (c) 1992-1993 Timur Tabi
  4. Copyright (c) 1992-1993 Fasa Corporation
  5.  
  6. The following trademarks are the property of Fasa Corporation:
  7. BattleTech, CityTech, AeroTech, MechWarrior, BattleMech, and 'Mech.
  8. The use of these trademarks should not be construed as a challenge to these marks.
  9.  
  10. Must be #included after hexes.h
  11. */
  12.  
  13. typedef struct {
  14.   HEXINDEX hi;
  15.   int iDirection;
  16.   HBITMAP hbm[6];         // One bitmap for each direction
  17. } MECH;
  18.  
  19. #ifdef MECH_C
  20. #define EXTERN
  21. #else
  22. #define EXTERN extern
  23. #endif
  24.  
  25. EXTERN MECH mech;
  26.  
  27. #undef EXTERN
  28.  
  29. ERROR MechInit(void);
  30. // Initialize this module
  31.  
  32. void MechErase(void);
  33. // Erase the current 'Mech
  34.  
  35. void MechDraw(void);
  36. // Draws the current 'Mech
  37.  
  38. void MechMove(HEXINDEX);
  39. // Moves the current 'Mech, if possible
  40.