CnC_Remastered_Collection

Command and Conquer: Red Alert
Log | Files | Refs | README | LICENSE

SOSDEFS.H (2329B)


      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 
      9 // TiberianDawn.DLL and RedAlert.dll and corresponding source code is distributed 
     10 // in the hope that it will be useful, but with permitted additional restrictions 
     11 // under Section 7 of the GPL. See the GNU General Public License in LICENSE.TXT 
     12 // distributed with this program. You should have received a copy of the 
     13 // GNU General Public License along with permitted additional restrictions 
     14 // with this program. If not, see https://github.com/electronicarts/CnC_Remastered_Collection
     15 
     16 /****************************************************************************
     17 
     18    File              : sosdefs.h
     19 
     20    Programmer(s)     : Don Fowler, Nick Skrepetos
     21    Date              :
     22 
     23    Purpose           : Include Files For Zortech C++ Compiler
     24 
     25    Last Updated      :
     26 
     27 ****************************************************************************
     28                Copyright(c) 1993,1994 Human Machine Interfaces
     29                             All Rights Reserved
     30 ****************************************************************************/
     31 
     32 
     33 #ifndef  _SOSDEFS_DEFINED
     34 #define  _SOSDEFS_DEFINED
     35 
     36 #undef   _TRUE
     37 #undef   _FALSE
     38 #undef   _NULL
     39 enum
     40       {
     41          _FALSE,
     42          _TRUE
     43       };
     44 
     45 #define  _NULL  0
     46 
     47 #ifndef  VOID
     48 #define  VOID           void
     49 #endif
     50 typedef  int            BOOL;
     51 typedef  unsigned int   UINT;
     52 typedef  unsigned char  BYTE;
     53 typedef  unsigned       WORD;
     54 #ifndef  LONG
     55 typedef  signed long    LONG;
     56 #endif
     57 typedef  unsigned long  DWORD;
     58 
     59 typedef  BYTE  *        PBYTE;
     60 typedef  char near *    PSTR;
     61 typedef  WORD  *        PWORD;
     62 typedef  LONG  *        PLONG;
     63 typedef  VOID  *        PVOID;
     64 
     65 typedef  BYTE  far   *  LPBYTE;
     66 typedef  BYTE  far   *  LPSTR;
     67 typedef  WORD  far   *  LPWORD;
     68 typedef  LONG  far   *  LPLONG;
     69 typedef  VOID  far   *  LPVOID;
     70 
     71 typedef  BYTE  huge  *  HPBYTE;
     72 typedef  BYTE  huge  *  HPSTR;
     73 typedef  WORD  huge  *  HPWORD;
     74 typedef  LONG  huge  *  HPLONG;
     75 typedef  VOID  huge  *  HPVOID;
     76 
     77 typedef  unsigned       HANDLE;
     78 
     79 #endif
     80