home *** CD-ROM | disk | FTP | other *** search
/ Amiga MA Magazine 1998 #6 / amigamamagazinepolishissue1998.iso / coders / mesa-1.2.8 / include / mondello / type.h < prev   
C/C++ Source or Header  |  1996-05-27  |  2KB  |  50 lines

  1. /******************************************************************************
  2. *
  3. *   Module:     TYPE.H          Generic Type Header Module
  4. *
  5. *   Revision:   1.00
  6. *
  7. *   Date:       April 14, 1994
  8. *
  9. *   Author:     Randy Spurlock
  10. *
  11. *******************************************************************************
  12. *
  13. *   Module Description:
  14. *
  15. *       This module contains generic type declarations.
  16. *
  17. *******************************************************************************
  18. *
  19. *   Changes:
  20. *
  21. *    DATE     REVISION  DESCRIPTION                             AUTHOR
  22. *  --------   --------  -------------------------------------------------------
  23. *  04/14/94     1.00    Original                                Randy Spurlock
  24. *  09/26/94     1.01    Add few new defines                     Goran Devic
  25. *
  26. */
  27. #ifndef __TYPE__
  28. #define __TYPE__
  29.  
  30.  
  31. /******************************************************************************
  32. *   Constant Declarations
  33. ******************************************************************************/
  34. #define TRUE            1               /* Define TRUE as the value 1        */
  35. #define FALSE           0               /* Define FALSE as the value 0       */
  36. #define OK              1               /* Define OK as the value 1          */
  37. #define ERROR           0               /* Define ERROR as the value 0       */
  38.  
  39. /******************************************************************************
  40. *   Type Definitions
  41. ******************************************************************************/
  42. typedef int BOOL;                       /* Define a boolean as an integer    */
  43. typedef unsigned char BYTE;             /* Define a byte data type           */
  44. typedef unsigned short int WORD;        /* Define a word data type           */
  45. typedef unsigned long DWORD;            /* Define a double word data type    */
  46. typedef signed long FIX;                /* Define a 16.16 fixpoint           */
  47.  
  48. #endif
  49.  
  50.