Restructure repository to include all source folders
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>
This commit is contained in:
50
GameTools/Zallad3D SceneClass/TextureUtils.h
Normal file
50
GameTools/Zallad3D SceneClass/TextureUtils.h
Normal file
@@ -0,0 +1,50 @@
|
||||
//-----------------------------------------------------------------------------
|
||||
// File: TextureUtils.h
|
||||
//
|
||||
// Desc:
|
||||
//-----------------------------------------------------------------------------
|
||||
#ifndef TEXTUREUTILS_H
|
||||
#define TEXTUREUTILS_H
|
||||
#include <tchar.h>
|
||||
#include <d3d8.h>
|
||||
#include <d3dx8.h>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Name: class TextureUtils
|
||||
// Desc:
|
||||
//-----------------------------------------------------------------------------
|
||||
class TextureUtils
|
||||
{
|
||||
public:
|
||||
static LPDIRECT3DCUBETEXTURE8 GetNormalisationCubemap(LPDIRECT3DDEVICE8 pd3dDevice);
|
||||
static LPDIRECT3DCUBETEXTURE8 GetSpecularCubemap(LPDIRECT3DDEVICE8 pd3dDevice);
|
||||
|
||||
static LPDIRECT3DTEXTURE8 CreateTextureAlpha(
|
||||
TCHAR* name,
|
||||
TCHAR* alphaName,
|
||||
LPDIRECT3DDEVICE8 pd3dDevice);
|
||||
|
||||
static LPDIRECT3DTEXTURE8 CreateNormalMapAlpha(
|
||||
FLOAT bumpScale,
|
||||
TCHAR* name,
|
||||
TCHAR* alphaName,
|
||||
LPDIRECT3DDEVICE8 pd3dDevice);
|
||||
|
||||
static void Cleanup();
|
||||
|
||||
private:
|
||||
TextureUtils();
|
||||
~TextureUtils();
|
||||
|
||||
static LPDIRECT3DCUBETEXTURE8 m_pNormalisationCubemap;
|
||||
static LPDIRECT3DCUBETEXTURE8 m_pSpecularCubemap;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user