bittype.h 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. /*
  2. ** Command & Conquer Renegade(tm)
  3. ** Copyright 2025 Electronic Arts Inc.
  4. **
  5. ** This program is free software: you can redistribute it and/or modify
  6. ** it under the terms of the GNU General Public License as published by
  7. ** the Free Software Foundation, either version 3 of the License, or
  8. ** (at your option) any later version.
  9. **
  10. ** This program is distributed in the hope that it will be useful,
  11. ** but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. ** GNU General Public License for more details.
  14. **
  15. ** You should have received a copy of the GNU General Public License
  16. ** along with this program. If not, see <http://www.gnu.org/licenses/>.
  17. */
  18. /* $Header: /G/wwlib/bittype.h 4 4/02/99 1:37p Eric_c $ */
  19. /***************************************************************************
  20. *** Confidential - Westwood Studios ***
  21. ***************************************************************************
  22. * *
  23. * Project Name : Voxel Technology *
  24. * *
  25. * File Name : BITTYPE.H *
  26. * *
  27. * Programmer : Greg Hjelstrom *
  28. * *
  29. * Start Date : 02/24/97 *
  30. * *
  31. * Last Update : February 24, 1997 [GH] *
  32. * *
  33. *-------------------------------------------------------------------------*
  34. * Functions: *
  35. * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
  36. #if _MSC_VER >= 1000
  37. #pragma once
  38. #endif // _MSC_VER >= 1000
  39. #ifndef BITTYPE_H
  40. #define BITTYPE_H
  41. typedef unsigned char uint8;
  42. typedef unsigned short uint16;
  43. typedef unsigned long uint32;
  44. typedef unsigned int uint;
  45. typedef signed char sint8;
  46. typedef signed short sint16;
  47. typedef signed long sint32;
  48. typedef signed int sint;
  49. typedef float float32;
  50. typedef double float64;
  51. typedef unsigned long DWORD;
  52. typedef unsigned short WORD;
  53. typedef unsigned char BYTE;
  54. typedef int BOOL;
  55. typedef unsigned short USHORT;
  56. typedef const char * LPCSTR;
  57. typedef unsigned int UINT;
  58. typedef unsigned long ULONG;
  59. #endif //BITTYPE_H