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>
33 lines
718 B
C++
33 lines
718 B
C++
// Shader.h: interface for the CShader class.
|
|
//
|
|
//////////////////////////////////////////////////////////////////////
|
|
|
|
#if !defined(AFX_SHADER_H__E786457B_3C89_4409_BE23_BEED910CD5D3__INCLUDED_)
|
|
#define AFX_SHADER_H__E786457B_3C89_4409_BE23_BEED910CD5D3__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
|
|
#include <string.h>
|
|
#include "Texture.h"
|
|
|
|
class CShader
|
|
{
|
|
CTexture *m_pTexture;
|
|
char m_strTextureName[256];
|
|
public:
|
|
void SetTextureName(char *strTextureName)
|
|
{
|
|
strcpy(m_strTextureName,strTextureName);
|
|
};
|
|
char *GetTextureName()
|
|
{
|
|
return m_strTextureName;
|
|
};
|
|
CShader();
|
|
virtual ~CShader();
|
|
};
|
|
|
|
#endif // !defined(AFX_SHADER_H__E786457B_3C89_4409_BE23_BEED910CD5D3__INCLUDED_)
|