// stdafx.h : include file for standard system include files,
//  or project specific include files that are used frequently, but
//      are changed infrequently
//

#if !defined(AFX_STDAFX_H__68E70A2F_B863_11D1_98AD_0040051EDCE7__INCLUDED_)
#define AFX_STDAFX_H__68E70A2F_B863_11D1_98AD_0040051EDCE7__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000

#define VC_EXTRALEAN		// Exclude rarely-used stuff from Windows headers

#include <afxwin.h>         // MFC core and standard components
#include <afxext.h>         // MFC extensions

#ifndef _AFX_NO_OLE_SUPPORT
#include <afxole.h>         // MFC OLE classes
#include <afxodlgs.h>       // MFC OLE dialog classes
#include <afxdisp.h>        // MFC OLE automation classes
#endif // _AFX_NO_OLE_SUPPORT


#ifndef _AFX_NO_DB_SUPPORT
#include <afxdb.h>			// MFC ODBC database classes
#endif // _AFX_NO_DB_SUPPORT

#ifndef _AFX_NO_DAO_SUPPORT
#include <afxdao.h>			// MFC DAO database classes
#endif // _AFX_NO_DAO_SUPPORT

#ifndef _AFX_NO_AFXCMN_SUPPORT
#include <afxcmn.h>			// MFC support for Windows Common Controls
#endif // _AFX_NO_AFXCMN_SUPPORT

#define fxopen		fopen


//#define USE_COPYPROTECTION							// otherwise the tool appears to be free

//#define USE_REDUCEDFORPUBLIC						// removed stuff we don't want to show currently in public (e.g. occlusion direction)


#define RESOURCECOMPILER_ONLY					//

#define USE_RASTERCUBE_ACCELERATOR_MAGNIFIER 0.5f	// this magnifier could speed up the raytracing calculations (higher values =>more memory consumption)


// used for registry settings
#define RC_APPNAME "CryPolyBump"



#ifdef PLUGIN_FOR_3DSTUDIO

//		#define USE_SMOOTH_TANGENTSPACE_BY_SMOOTHINGGROUPS		// otherwise the tangentspace is smoothed by the normals (SG do not exist in Maya)


#ifndef RESOURCECOMPILER_ONLY								// if we compile the resourcecompiler only version we don't need the 3dsmax dialog
	#define USE_3DSSAVEFUNCTION_IFPOSSIBLE
#endif
	

#define NORMAL_MATCH											0.0f
#define TRIALVERSION_MAXHIGHPOLYCOUNT			35000
#define TRIALVERSION_MAXTEXTURESIZE				256


#endif


#pragma comment(lib, "maxutil.lib")
#pragma comment(lib, "bmm.lib")
#pragma comment(lib, "core.lib")
#pragma comment(lib, "geom.lib")
#pragma comment(lib, "mesh.lib")
#pragma comment(lib, "winmm.lib")

#ifdef PLUGIN_FOR_MAYA

		#define USE_SMOOTH_TANGENTSPACE_BY_SMOOTHINGGROUPS		// otherwise the tangentspace is smoothed by the normals (SG do not exist in Maya)

#endif


//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_STDAFX_H__68E70A2F_B863_11D1_98AD_0040051EDCE7__INCLUDED_)
