NEW FEATURE: F4-F8: Toggle Fullscreen, Change Resolution, Change Display Color, Change Texture Color, Toggle Statistics NEW FEATURE: Remebers last selected Steps NEW FEATURE: Stage number saved to .ini file. BUG FIX: Default key buttons don't work if .ini file not present on startup CHANGE: Hold Arrows are now drawn last to first, like in DDR MAX. NEW FEATURE: Hold Arrows allow you to not hold the button for a second without NG'ing them. CHANGE: Regular Arrows on the same line as a Hold Arrow now appear green. NEW FEATURE: Hold Arrows now turn gray player doesn't hold the button. NEW FEATURE: More texture loading hints (DITHER, NO_MIP_MAPS) for increased quality and faster loading time.
51 lines
1.1 KiB
C++
51 lines
1.1 KiB
C++
/*
|
|
-----------------------------------------------------------------------------
|
|
File: RageBitmapTexture.h
|
|
|
|
Desc: Holder for a static texture with metadata. Can load just about any image format.
|
|
|
|
Copyright (c) 2001 Chris Danford. All rights reserved.
|
|
-----------------------------------------------------------------------------
|
|
*/
|
|
|
|
|
|
class RageBitmapTexture;
|
|
typedef RageBitmapTexture* LPRageBitmapTexture;
|
|
|
|
|
|
|
|
|
|
#ifndef _RageBitmapTexture_H_
|
|
#define _RageBitmapTexture_H_
|
|
|
|
|
|
#include "RageScreen.h"
|
|
#include <d3dx8.h>
|
|
#include <assert.h>
|
|
//#include <d3d8types.h>
|
|
|
|
|
|
const DWORD HINT_NOMIPMAPS = 1 << 0;
|
|
const DWORD HINT_DITHER = 1 << 1;
|
|
|
|
|
|
//-----------------------------------------------------------------------------
|
|
// RageBitmapTexture Class Declarations
|
|
//-----------------------------------------------------------------------------
|
|
class RageBitmapTexture : public RageTexture
|
|
{
|
|
public:
|
|
RageBitmapTexture( LPRageScreen pScreen, CString sFilePath, DWORD dwHints = 0 );
|
|
~RageBitmapTexture();
|
|
|
|
virtual LPDIRECT3DTEXTURE8 GetD3DTexture();
|
|
|
|
protected:
|
|
virtual VOID Create( DWORD dwHints );
|
|
|
|
LPDIRECT3DTEXTURE8 m_pd3dTexture;
|
|
};
|
|
|
|
|
|
#endif
|