SOSDEFS.H 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. /*
  2. ** Command & Conquer Red Alert(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. /****************************************************************************
  19. File : sosdefs.h
  20. Programmer(s) : Don Fowler, Nick Skrepetos
  21. Date :
  22. Purpose : Include Files For Zortech C++ Compiler
  23. Last Updated :
  24. ****************************************************************************
  25. Copyright(c) 1993,1994 Human Machine Interfaces
  26. All Rights Reserved
  27. ****************************************************************************/
  28. #ifndef _SOSDEFS_DEFINED
  29. #define _SOSDEFS_DEFINED
  30. #undef _TRUE
  31. #undef _FALSE
  32. #undef _NULL
  33. enum
  34. {
  35. _FALSE,
  36. _TRUE
  37. };
  38. #define _NULL 0
  39. #ifndef VOID
  40. #define VOID void
  41. #endif
  42. typedef int BOOL;
  43. typedef unsigned int UINT;
  44. typedef unsigned char BYTE;
  45. typedef unsigned WORD;
  46. #ifndef LONG
  47. typedef signed long LONG;
  48. #endif
  49. typedef unsigned long DWORD;
  50. typedef BYTE * PBYTE;
  51. typedef char near * PSTR;
  52. typedef WORD * PWORD;
  53. typedef LONG * PLONG;
  54. typedef VOID * PVOID;
  55. typedef BYTE far * LPBYTE;
  56. typedef BYTE far * LPSTR;
  57. typedef WORD far * LPWORD;
  58. typedef LONG far * LPLONG;
  59. typedef VOID far * LPVOID;
  60. typedef BYTE huge * HPBYTE;
  61. typedef BYTE huge * HPSTR;
  62. typedef WORD huge * HPWORD;
  63. typedef LONG huge * HPLONG;
  64. typedef VOID huge * HPVOID;
  65. typedef unsigned HANDLE;
  66. #endif