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