00001 /* 00002 * Part of rvglue source code, 00003 * Copyright (C) 2000 Alexander Kroeller (alilein@gmx.de) 00004 * Copyright (C) 2000 Christer Sundin (ces) (christer@sundin.nu) 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 #ifndef __TEXTURE_FLOOR_MODIFIER_H 00021 #define __TEXTURE_FLOOR_MODIFIER_H 00022 00023 #include <mesh.h> 00024 #include <rvtypes.h> 00025 00026 #include "meshmod.h" 00027 #include "parser.h" 00028 #include "texdef.h" 00029 00030 class MeshMod_TexFloor : public MeshMod 00031 { 00032 public: 00033 00034 MeshMod_TexFloor(); 00035 00036 virtual void dump(const char *pref); 00037 00038 virtual bool bad(void); 00039 00040 virtual bool parse(Parser &); 00041 00042 virtual bool apply(Mesh *); 00043 00044 private: 00045 00046 bool parsed; 00047 00048 TextureDefinition texdef; 00049 }; 00050 00051 #endif