00001 /* 00002 * Part of rvglue source code, 00003 * Copyright (C) 2000 Alexander Kroeller (alilein@gmx.de) 00004 * Copyright (C) 2001 Gabor Varga (vag) (bootes@freemail.hu) 00005 * 00006 * This program is free software; you can redistribute it and/or modify 00007 * it under the terms of the GNU General Public License as published by 00008 * the Free Software Foundation; either version 2 of the License, or 00009 * (at your option) any later version. 00010 * 00011 * This program is distributed in the hope that it will be useful, 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00014 * GNU General Public License for more details. 00015 * 00016 * You should have received a copy of the GNU General Public License 00017 * along with this program; if not, write to the Free Software 00018 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 00019 */ 00020 00021 /* 00022 * $Id: texmap.h,v 1.1 2000/05/03 08:48:42 ali Exp ali $ 00023 * 00024 * $Log: texmap.h,v $ 00025 * Revision 1.1 2000/05/03 08:48:42 ali 00026 * Initial revision 00027 * 00028 * 00029 */ 00030 #ifndef __TEXMAP_MODIFIER_H 00031 #define __TEXMAP_MODIFIER_H 00032 00033 #include "parsedmod.h" 00034 #include "texdef.h" 00035 00037 class Mod_TexMap : public ParsedMod 00038 { 00039 public: 00040 Mod_TexMap(); 00041 00042 virtual bool apply(Polygon*); 00043 virtual bool bad(void); 00044 virtual bool parse(Parser &); 00045 00046 void dump(const char *pref); 00047 00048 private: 00049 bool parsed; 00050 bool rotate; // vag 2001-05-08 00051 TextureDefinition srcdef, dstdef; 00052 }; 00053 00054 00055 #endif