ShaderInfo.h 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. /*
  2. ===========================================================================
  3. Copyright (C) 1999-2005 Id Software, Inc.
  4. This file is part of Quake III Arena source code.
  5. Quake III Arena source code is free software; you can redistribute it
  6. and/or modify it under the terms of the GNU General Public License as
  7. published by the Free Software Foundation; either version 2 of the License,
  8. or (at your option) any later version.
  9. Quake III Arena source code is distributed in the hope that it will be
  10. useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. GNU General Public License for more details.
  13. You should have received a copy of the GNU General Public License
  14. along with Foobar; if not, write to the Free Software
  15. Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
  16. ===========================================================================
  17. */
  18. // ShaderInfo.h: interface for the CShaderInfo class.
  19. //
  20. //////////////////////////////////////////////////////////////////////
  21. #if !defined(AFX_SHADERINFO_H__93B64600_A208_11D2_803D_0020AFEB881A__INCLUDED_)
  22. #define AFX_SHADERINFO_H__93B64600_A208_11D2_803D_0020AFEB881A__INCLUDED_
  23. #if _MSC_VER > 1000
  24. #pragma once
  25. #endif // _MSC_VER > 1000
  26. class CShaderInfo
  27. {
  28. public:
  29. CString m_strName;
  30. CString m_strShaderName;
  31. CString m_strTextureName;
  32. CStringList m_strEditorParams;
  33. CStringList m_lstSurfaceParams;
  34. float m_fTransValue;
  35. int m_nFlags;
  36. qtexture_t *m_pQTexture;
  37. void Parse(const char *pName);
  38. CShaderInfo();
  39. virtual ~CShaderInfo();
  40. void setName(char *pName);
  41. };
  42. #endif // !defined(AFX_SHADERINFO_H__93B64600_A208_11D2_803D_0020AFEB881A__INCLUDED_)