Move git root from Client/ to src/ to track all source code: - Client: Game client source (moved to Client/Client/) - Server: Game server source - GameTools: Development tools - CryptoSource: Encryption utilities - database: Database scripts - Script: Game scripts - rylCoder_16.02.2008_src: Legacy coder tools - GMFont, Game: Additional resources 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
29 lines
852 B
C++
29 lines
852 B
C++
// ConvertTexture.h: interface for the CConvertTexture class.
|
|
//
|
|
//////////////////////////////////////////////////////////////////////
|
|
|
|
#if !defined(AFX_CONVERTTEXTURE_H__CA884184_2931_4713_89E5_356F999EF196__INCLUDED_)
|
|
#define AFX_CONVERTTEXTURE_H__CA884184_2931_4713_89E5_356F999EF196__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
|
|
#include "Texture.h"
|
|
|
|
class CConvertTexture : public CTexture
|
|
{
|
|
public:
|
|
void SaveDDS(char *strFilename,int LowerSave,int MaxTextureSize);
|
|
LPDIRECT3DTEXTURE8 m_pddNewTexture;
|
|
void SaveDDS(char *strFilename);
|
|
void GenerateMipMaps(bool bGenMipmap);
|
|
void Compress(D3DFORMAT fmtTo);
|
|
|
|
int GetMipmapCount(){return m_pddTexture->GetLevelCount();};
|
|
CConvertTexture();
|
|
virtual ~CConvertTexture();
|
|
};
|
|
|
|
#endif // !defined(AFX_CONVERTTEXTURE_H__CA884184_2931_4713_89E5_356F999EF196__INCLUDED_)
|