Ignore:
Timestamp:
02/20/06 19:06:03 (18 years ago)
Author:
mattausch
Message:

added ogre dependencies and patched ogre sources

Location:
OGRE/trunk/ogre_changes/RenderSystems/Direct3D7/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • OGRE/trunk/ogre_changes/RenderSystems/Direct3D7/include/OgreD3D7RenderWindow.h

    r153 r657  
    119119        */ 
    120120        void writeContentsToFile(const String& filename); 
    121  
     121        // DirectDraw Methods 
     122                void createDDSurfaces(void); 
     123                void releaseDDSurfaces(void); 
     124                void restoreDDSurfaces(void); 
     125                void createDepthBuffer(void); 
    122126#ifdef GTP_VISIBILITY_MODIFIED_OGRE 
    123127                uchar *getBufferContents(int &dimx, int &dimy); 
     
    159163        LPDIRECT3DDEVICE7 mlpD3DDevice; 
    160164 
    161         // DirectDraw Methods 
    162         void createDDSurfaces(void); 
    163         void releaseDDSurfaces(void); 
    164         void restoreDDSurfaces(void); 
    165         void createDepthBuffer(void); 
    166165 
    167166        // Method for dealing with resize / move & 3d library 
  • OGRE/trunk/ogre_changes/RenderSystems/Direct3D7/include/OgreD3D7Texture.h

    r154 r657  
    5353        LPDIRECTDRAWSURFACE7 getDDSurface(void); 
    5454 
    55         /// @copydoc Texture::createInternalResources 
    56         void createInternalResources(void); 
    57  
    5855                /// @copydoc Texture::getBuffer 
    5956                HardwarePixelBufferSharedPtr getBuffer(size_t face, size_t mipmap); 
     
    6360                static PixelFormat closestD3DXFormat( PixelFormat format ); 
    6461                static bool OgreFormat_to_DDPixelFormat( PixelFormat format, DDPIXELFORMAT & out ); 
     62 
     63                /// Restore this texture from a lost device 
     64                void restoreFromLostDevice(void); 
     65 
    6566    protected: 
    6667        IDirect3DDevice7 * mD3DDevice;       ///< A pointer to the Direct3D device. 
     
    7172                typedef std::vector<HardwarePixelBufferSharedPtr> SurfaceList; 
    7273                SurfaceList                                             mSurfaceList; 
     74                /// Are we restoring from a lost device? 
     75                bool mRestoring; 
     76 
    7377         
    7478 
    7579        /// @copydoc Resource::loadImpl 
    7680        void loadImpl(void); 
    77         /// @copydoc Resource::unloadImpl 
    78         void unloadImpl(void); 
     81                /// @copydoc Texture::createInternalResourcesImpl 
     82                void createInternalResourcesImpl(void); 
     83        /// @copydoc Resource::freeInternalResourcesImpl 
     84        void freeInternalResourcesImpl(void); 
    7985                 
    8086                void createSurface2D(void); 
Note: See TracChangeset for help on using the changeset viewer.