Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
1.4 KiB

  1. /*/****************************************************************************
  2. * func. name: g3dstd.h
  3. *
  4. * description: Definition des types standards de G3D_SOFT
  5. *
  6. * designed: Bart Simpson 15 avril 1992
  7. * last modified:
  8. *
  9. * version: $Id: G3DSTD.H 1.3 94/08/22 05:23:19 bleblanc Exp $
  10. *
  11. ******************************************************************************/
  12. #define FAIL 0
  13. #define OK 1
  14. #define NO 0
  15. #define YES 1
  16. #define FALSE 0
  17. #define TRUE 1
  18. #ifdef WINDOWS_NT
  19. typedef SHORT BOOL;
  20. typedef UCHAR BYTE; /* 8-bit datum */
  21. typedef CHAR SBYTE;
  22. typedef USHORT WORD; /* 16-bit datum */
  23. typedef SHORT SWORD; /* 16-bit datum */
  24. typedef ULONG DWORD; /* 32-bit datum */
  25. typedef LONG SDWORD; /* 32-bit datum */
  26. #define _Far
  27. #define NO_FLOAT 1
  28. #else
  29. typedef void VOID;
  30. typedef int BOOL;
  31. typedef unsigned char BYTE; /* 8-bit datum */
  32. typedef char SBYTE;
  33. typedef unsigned short WORD; /* 16-bit datum */
  34. typedef short SWORD; /* 16-bit datum */
  35. typedef unsigned long DWORD; /* 32-bit datum */
  36. typedef long SDWORD; /* 32-bit datum */
  37. #endif /* #ifdef WINDOWS_NT */