12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- #include "stdafx.h"
- #include "Radiant.h"
- #include "ShaderInfo.h"
- #ifdef _DEBUG
- #undef THIS_FILE
- static char THIS_FILE[]=__FILE__;
- #define new DEBUG_NEW
- #endif
- CShaderInfo::CShaderInfo()
- {
- m_fTransValue = 1.0;
- m_nFlags = 0;
- m_pQTexture = NULL;
- }
- CShaderInfo::~CShaderInfo()
- {
- }
- void CShaderInfo::Parse(const char *pName)
- {
- }
- void CShaderInfo::setName(char *pName)
- {
-
-
-
- m_strName = pName;
- m_strName.MakeLower();
- if (m_strName.Find("textures") == 0)
- {
- CString s = m_strName.Right(m_strName.GetLength() - strlen("textures") - 1);
- m_strName = s;
- }
- }
|