/*============================================================================= RenderPC.cpp: Cry Render support precompiled header generator. Copyright 2001 Crytek Studios. All Rights Reserved. Revision history: * Created by Honitch Andrey =============================================================================*/ #define CRY_API #ifdef _DEBUG #define CRTDBG_MAP_ALLOC #endif //_DEBUG //! Include standart headers. #include //#define PS2 //#define OPENGL #ifdef _XBOX //! Include standart headers. #include #include #include #include #include #include #include #include #include #include #include #include #include typedef unsigned long DWORD; typedef unsigned short WORD; typedef unsigned char BYTE; #include #else #include #endif // enable memory pool usage #define USE_NEWPOOL #include #include "CrtOverrides.h" #if defined _DEBUG && defined OPENGL #define DEBUGALLOC #endif ///////////////////////////////////////////////////////////////////////////// // STL ////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////// #include #include #include #include #include #include #include typedef const char* cstr; #define SIZEOF_ARRAY(arr) (sizeof(arr)/sizeof((arr)[0])) // Include common headers. //#include "Common\CryHelpers.h" typedef string String; #ifdef DEBUGALLOC #include #define DEBUG_CLIENTBLOCK new( _NORMAL_BLOCK, __FILE__, __LINE__) #define new DEBUG_CLIENTBLOCK // memman #define calloc(s,t) _calloc_dbg(s, t, _NORMAL_BLOCK, __FILE__, __LINE__) #define malloc(s) _malloc_dbg(s, _NORMAL_BLOCK, __FILE__, __LINE__) #define realloc(p, s) _realloc_dbg(p, s, _NORMAL_BLOCK, __FILE__, __LINE__) #endif #include #include #define MAX_TMU 8 //! Include main interfaces. #include #include #include #include #include #include #include #include #include #include #include #include "Font.h" #include "Except.h" #include #include "Cry_Camera.h" //#include "_Malloc.h" #include "math.h" #include #include #define max(a,b) (((a) > (b)) ? (a) : (b)) #define min(a,b) (((a) < (b)) ? (a) : (b)) #define MAX_PATH_LENGTH 512