home *** CD-ROM | disk | FTP | other *** search
/ C!T ROM 2 / ctrom_ii_b.zip / ctrom_ii_b / PROGRAM / C / AEWIN101 / LIBAE.H < prev    next >
C/C++ Source or Header  |  1992-05-31  |  1KB  |  58 lines

  1. /**********************************************************************
  2.  *  
  3.  *  NAME:           libae.h
  4.  *  
  5.  *  DESCRIPTION:    defs, prototypes for libae.a
  6.  *  
  7.  *  M O D I F I C A T I O N   H I S T O R Y
  8.  *
  9.  *  when        who                 what
  10.  *  -------------------------------------------------------------------
  11.  *  10/27/91    J. Alan Eldridge    created
  12.  *  
  13.  *********************************************************************/
  14.  
  15. #ifndef __LIBAE_H
  16. #define __LIBAE_H
  17.  
  18. #ifdef  __cplusplus
  19. extern "C" {
  20. #endif    
  21.  
  22. extern int clockinmsec(void);
  23.  
  24. extern int getch(void);
  25.  
  26. extern void delay(int msec);
  27.  
  28. #define nosound()   sound(0)
  29.  
  30. #ifdef  __cplusplus
  31. }
  32. #endif    
  33.  
  34. #ifndef CHAR_MAX
  35. #define     UCHAR_MAX   (0xff)
  36. #define     UCHAR_MIN   0
  37. #define     SCHAR_MAX   (0x7f)
  38. #define     SCHAR_MIN   (0x80)
  39. #define     CHAR_MAX    SCHAR_MAX
  40. #define     CHAR_MIN    SCHAR_MIN
  41. #endif
  42.  
  43. #ifndef SHRT_MAX
  44. #define     SHRT_MAX    (0x7fff)
  45. #define     SHRT_MIN    (0x8000)
  46. #define     USHRT_MAX   (0xffff)
  47. #define     USHRT_MIN   (0x0000)
  48. #endif
  49.  
  50. #ifndef INT_MAX
  51. #define     INT_MAX     LONG_MAX
  52. #define     UINT_MAX    ULONG_MAX
  53. #define     INT_MIN     LONG_MIN
  54. #define     UINT_MIN    ULONG_MIN
  55. #endif
  56.  
  57. #endif
  58.