00001 #ifndef __D3D9PREREQUISITES_H__ 00002 #define __D3D9PREREQUISITES_H__ 00003 00004 #include "OgrePrerequisites.h" 00005 00006 // Define versions for if DirectX is in use (Win32 only) 00007 #define DIRECT3D_VERSION 0x0900 00008 00009 namespace Ogre 00010 { 00011 // Predefine classes 00012 class D3D9RenderSystem; 00013 class D3D9Texture; 00014 class D3D9TextureManager; 00015 class D3D9Driver; 00016 class D3D9DriverList; 00017 class D3D9VideoMode; 00018 class D3D9VideoModeList; 00019 00020 //------------------------------------------- 00021 // Windows setttings 00022 //------------------------------------------- 00023 #if OGRE_PLATFORM == PLATFORM_WIN32 00024 # if OGRE_DYNAMIC_LINKAGE == 0 00025 # pragma warn( "No dynamic linkage" ) 00026 # define _OgreD3D9Export 00027 # else 00028 # ifdef OGRED3DENGINEDLL_EXPORTS 00029 # define _OgreD3D9Export __declspec(dllexport) 00030 # else 00031 # define _OgreD3D9Export __declspec(dllimport) 00032 # endif 00033 # endif 00034 #endif // OGRE_WIN32 00035 } 00036 #endif
Copyright © 2002 by The OGRE Team