/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */ // set this to 1 to enable checks whether somethig is deleted while iterating some array/container #define CHECKARRAYLOCKING 0 #ifdef _WIN32 #ifndef PLATFORM_WIN32 #define PLATFORM_WIN32 1 #endif #endif #include #include #include #include #include #include #include #include #include // for qsort #include // for FPU control /* rcg10042001 !!! FIXME: Move these somewhere. */ #if (defined PLATFORM_WIN32) #include #include #include #include #include // for timers #endif #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #pragma message(">> Uncomment include to terrain.h") //#include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include // some global stuff ENGINE_API void SE_InitEngine( CTString strGameID); ENGINE_API void SE_EndEngine(void); ENGINE_API void SE_LoadDefaultFonts(void); ENGINE_API void SE_UpdateWindowHandle( HWND hwndWindowed); ENGINE_API void SE_PretouchIfNeeded(void); extern ENGINE_API CTString _strEngineBuild; // not valid before InitEngine()! extern ENGINE_API ULONG _ulEngineBuildMajor; extern ENGINE_API ULONG _ulEngineBuildMinor; extern ENGINE_API BOOL _bDedicatedServer; extern ENGINE_API BOOL _bWorldEditorApp; // is this world edtior app extern ENGINE_API CTString _strLogFile; // temporary vars for adjustments ENGINE_API extern FLOAT tmp_af[10]; ENGINE_API extern INDEX tmp_ai[10]; ENGINE_API extern INDEX tmp_i; ENGINE_API extern INDEX tmp_fAdd;