TYPES.H 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. /*
  2. THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX
  3. SOFTWARE CORPORATION ("PARALLAX"). PARALLAX, IN DISTRIBUTING THE CODE TO
  4. END-USERS, AND SUBJECT TO ALL OF THE TERMS AND CONDITIONS HEREIN, GRANTS A
  5. ROYALTY-FREE, PERPETUAL LICENSE TO SUCH END-USERS FOR USE BY SUCH END-USERS
  6. IN USING, DISPLAYING, AND CREATING DERIVATIVE WORKS THEREOF, SO LONG AS
  7. SUCH USE, DISPLAY OR CREATION IS FOR NON-COMMERCIAL, ROYALTY OR REVENUE
  8. FREE PURPOSES. IN NO EVENT SHALL THE END-USER USE THE COMPUTER CODE
  9. CONTAINED HEREIN FOR REVENUE-BEARING PURPOSES. THE END-USER UNDERSTANDS
  10. AND AGREES TO THE TERMS HEREIN AND ACCEPTS THE SAME BY USE OF THIS FILE.
  11. COPYRIGHT 1993-1998 PARALLAX SOFTWARE CORPORATION. ALL RIGHTS RESERVED.
  12. */
  13. /*
  14. * $Source: f:/miner/source/includes/rcs/types.h $
  15. * $Revision: 1.2 $
  16. * $Author: matt $
  17. * $Date: 1993/09/14 12:12:30 $
  18. *
  19. * Common types for use in Miner
  20. *
  21. * $Log: types.h $
  22. * Revision 1.2 1993/09/14 12:12:30 matt
  23. * Added #define for NULL
  24. *
  25. * Revision 1.1 1993/08/24 12:50:40 matt
  26. * Initial revision
  27. *
  28. *
  29. */
  30. #ifndef _TYPES_H
  31. #define _TYPES_H
  32. //define a byte
  33. typedef signed char byte;
  34. //define unsigned types;
  35. typedef unsigned char ubyte;
  36. typedef unsigned short ushort;
  37. typedef unsigned int uint;
  38. typedef unsigned long ulong;
  39. //define a boolean
  40. typedef ubyte bool;
  41. #ifndef NULL
  42. #define NULL 0
  43. #endif
  44. #endif