// stdafx.h : include file for standard system include files, // or project specific include files that are used frequently, but // are changed infrequently // #pragma once #define NOT_USE_CRY_MEMORY_MANAGER #include #include #include // Windows Header Files: #ifdef WIN64 #include "PortableString.h" typedef CPortableString CString; #else #include #include #endif // Standart C headers. #include #include // STL headers. #include #include #include #include #include #include #include #ifdef WIN64 #define hash_map map #include "StlUtils.h" //! Specialization of string to const char cast. namespace stl{ template <> inline const char* constchar_cast( const CPortableString &str ) { return str.GetString(); } } #else #include #endif //#include // to make smoother transition back from cry to std namespace... #define cry std #define CRY_AS_STD // emulate the facility present in the cry engine #include "ILog.h" #include ////////////////////////////////////////////////////////////////////////// #include "ResComDefs.h" #include #include #include #include #include #include #include ////////////////////////////////////////////////////////////////////////// // globals. ////////////////////////////////////////////////////////////////////////// extern void MessageBoxError( const char *format,... ); // extern void Log( const char *format,... ); #ifndef SIZEOF_ARRAY #define SIZEOF_ARRAY(arr) (sizeof(arr)/sizeof((arr)[0])) #endif