SOSDEFS.H 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. //
  2. // Copyright 2020 Electronic Arts Inc.
  3. //
  4. // TiberianDawn.DLL and RedAlert.dll and corresponding source code is free
  5. // software: you can redistribute it and/or modify it under the terms of
  6. // the GNU General Public License as published by the Free Software Foundation,
  7. // either version 3 of the License, or (at your option) any later version.
  8. // TiberianDawn.DLL and RedAlert.dll and corresponding source code is distributed
  9. // in the hope that it will be useful, but with permitted additional restrictions
  10. // under Section 7 of the GPL. See the GNU General Public License in LICENSE.TXT
  11. // distributed with this program. You should have received a copy of the
  12. // GNU General Public License along with permitted additional restrictions
  13. // with this program. If not, see https://github.com/electronicarts/CnC_Remastered_Collection
  14. /****************************************************************************
  15. File : sosdefs.h
  16. Programmer(s) : Don Fowler, Nick Skrepetos
  17. Date :
  18. Purpose : Include Files For Zortech C++ Compiler
  19. Last Updated :
  20. ****************************************************************************
  21. Copyright(c) 1993,1994 Human Machine Interfaces
  22. All Rights Reserved
  23. ****************************************************************************/
  24. #ifndef _SOSDEFS_DEFINED
  25. #define _SOSDEFS_DEFINED
  26. #undef _TRUE
  27. #undef _FALSE
  28. #undef _NULL
  29. enum
  30. {
  31. _FALSE,
  32. _TRUE
  33. };
  34. #define _NULL 0
  35. #ifndef VOID
  36. #define VOID void
  37. #endif
  38. typedef int BOOL;
  39. typedef unsigned int UINT;
  40. typedef unsigned char BYTE;
  41. typedef unsigned WORD;
  42. #ifndef LONG
  43. typedef signed long LONG;
  44. #endif
  45. typedef unsigned long DWORD;
  46. typedef BYTE * PBYTE;
  47. typedef char near * PSTR;
  48. typedef WORD * PWORD;
  49. typedef LONG * PLONG;
  50. typedef VOID * PVOID;
  51. typedef BYTE far * LPBYTE;
  52. typedef BYTE far * LPSTR;
  53. typedef WORD far * LPWORD;
  54. typedef LONG far * LPLONG;
  55. typedef VOID far * LPVOID;
  56. typedef BYTE huge * HPBYTE;
  57. typedef BYTE huge * HPSTR;
  58. typedef WORD huge * HPWORD;
  59. typedef LONG huge * HPLONG;
  60. typedef VOID huge * HPVOID;
  61. typedef unsigned HANDLE;
  62. #endif