Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

texwall.h

Go to the documentation of this file.
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 __TEX_WALL_MODIFIER_H
00021 #define __TEX_WALL_MODIFIER_H
00022 
00023 #include "parsedmod.h"
00024 #include "texdef.h"
00025 
00027 class Mod_TexWall : public ParsedMod
00028 {
00029 public:
00030   Mod_TexWall(bool _double_sized);
00031 
00032   virtual bool apply(Polygon*);
00033   virtual bool bad(void);
00034   virtual bool parse(Parser &);
00035 
00036   void dump(const char *pref);
00037 
00038 private:
00039   bool double_sized;
00040   rvfloat base_size;
00041   bool parsed;
00042   TextureDefinition texdef;
00043 };
00044 
00045 
00046 #endif

Generated at Mon Jul 2 16:54:58 2001 for rvtmod/rvglue by doxygen1.2.0 written by Dimitri van Heesch, © 1997-2000