/* ** Command & Conquer Renegade(tm) ** Copyright 2025 Electronic Arts Inc. ** ** This program is free software: you can redistribute it and/or modify ** it under the terms of the GNU General Public License as published by ** the Free Software Foundation, either version 3 of the License, or ** (at your option) any later version. ** ** This program is distributed in the hope that it will be useful, ** but WITHOUT ANY WARRANTY; without even the implied warranty of ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ** GNU General Public License for more details. ** ** You should have received a copy of the GNU General Public License ** along with this program. If not, see . */ /****************************************************************************\ * C O N F I D E N T I A L --- W E S T W O O D S T U D I O S * ****************************************************************************** Project Name: File Name : wtypes.h Author : Neal Kettler Start Date : June 3, 1997 Last Update : June 17, 1997 Standard type definitions for the sake of portability and readability. \***************************************************************************/ #ifndef WTYPES_HEADER #define WTYPES_HEADER #ifndef TRUE #define TRUE 1 #endif #ifndef FALSE #define FALSE 0 #endif #ifndef MIN #define MIN(x,y) (((x)<(y))?(x):(y)) #endif #ifndef MAX #define MAX(x,y) (((x)>(y))?(x):(y)) #endif #ifndef NULL #define NULL 0 #endif //These are used for readability purposes mostly, when a method takes a // pointer or reference these help specify what will happen to the data // that is sent in. #define IN #define OUT #define INOUT typedef char bit8; typedef char sint8; typedef unsigned char uint8; typedef signed short int sint16; typedef unsigned short int uint16; typedef signed int sint32; typedef unsigned int uint32; #define MAX_BIT8 0x1 #define MAX_UINT32 0xFFFFFFFF #define MAX_UINT16 0xFFFF #define MAX_UINT8 0xFF #define MAX_SINT32 0x7FFFFFFF #define MAX_SINT16 0x7FFF #define MAX_SINT8 0x7F #ifdef _WIN32 #define strncasecmp _strnicmp #define strcasecmp _stricmp #endif #endif