Readded texture stretch, texture dither, and 16 bit textures.
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
#pragma once
|
||||
#ifndef RAGEBITMAPTEXTURE_H
|
||||
#define RAGEBITMAPTEXTURE_H
|
||||
|
||||
/*
|
||||
-----------------------------------------------------------------------------
|
||||
Class: RageBitmapTexture
|
||||
@@ -10,29 +12,24 @@
|
||||
-----------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
#include "RageDisplay.h"
|
||||
#include "RageTexture.h"
|
||||
#include <d3dx8.h>
|
||||
#include <assert.h>
|
||||
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// RageBitmapTexture Class Declarations
|
||||
//-----------------------------------------------------------------------------
|
||||
class RageBitmapTexture : public RageTexture
|
||||
{
|
||||
public:
|
||||
RageBitmapTexture( const CString &sFilePath );
|
||||
RageBitmapTexture( CString sFilePath, RageTexturePrefs prefs );
|
||||
virtual ~RageBitmapTexture();
|
||||
/* only called by RageTextureManager::InvalidateTextures */
|
||||
virtual void Invalidate() { m_uGLTextureID = 0; }
|
||||
virtual void Reload( RageTexturePrefs prefs );
|
||||
|
||||
protected:
|
||||
virtual void Load( const CString &sFilePath );
|
||||
virtual void Reload();
|
||||
void Create(); // called by constructor and Reload
|
||||
|
||||
virtual unsigned int GetGLTextureID() { return m_uGLTextureID; }
|
||||
|
||||
unsigned int m_uGLTextureID;
|
||||
CString m_sFilePath;
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user