//----------------------------------------------------------------------------- // // ImageLib Utility Sources // Copyright (C) 2000-2002 by Denton Woods // Last modified: 12/04/2001 <--Y2K Compliant! =] // // Filename: src-ILU/include/ilu_internal.h // // Description: Internal stuff for ILU // //----------------------------------------------------------------------------- #ifndef INTERNAL_H #define INTERNAL_H #include #ifdef _MSC_VER #if _MSC_VER > 1000 #pragma once #pragma intrinsic(memcpy) #pragma intrinsic(memset) //pragma comment(linker, "/NODEFAULTLIB:libc") #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers #endif // _MSC_VER > 1000 #endif #define _IL_BUILD_LIBRARY #define _ILU_BUILD_LIBRARY // Standard headers #include #include #include #include // Local headers #define _IL_BUILD_LIBRARY #define _ILU_BUILD_LIBRARY #ifdef HAVE_CONFIG_H #include "config.h" #endif #include #include // From DevIL's internal.h: #ifdef _WIN32_WCE #include #define IL_TEXT(s) ((char*)TEXT(s)) #elif _WIN32 #include #define IL_TEXT(s) (s) #else #define IL_TEXT(s) (s) #define TEXT(s) (s) #endif #ifdef _MSC_VER #define INLINE __inline #define FINLINE __forceinline #else #define INLINE #define FINLINE #endif extern ILimage *iluCurImage; // Useful global variables extern ILdouble IL_PI; extern ILdouble IL_DEGCONV; // Internal functions ILfloat ilCos(ILfloat Angle); ILfloat ilSin(ILfloat Angle); ILint ilRound(ILfloat Num); ILuint iluScaleAdvanced(ILuint Width, ILuint Height, ILenum Filter); ILubyte *iScanFill(void); #endif//INTERNAL_H