| ## Public API Reference

- Main Page
- Modules
- Namespaces
- Classes
- Files
- Related Pages

- File List
- File Members

# itexture/ifire.h

Go to the documentation of this file.

    00001 /*
    00002     Copyright (C) 2003 by Jorrit Tyberghein
    00003               (C) 2003 by Frank Richter
    00004
    00005     This library is free software; you can redistribute it and/or
    00006     modify it under the terms of the GNU Library General Public
    00007     License as published by the Free Software Foundation; either
    00008     version 2 of the License, or (at your option) any later version.
    00009
    00010     This library is distributed in the hope that it will be useful,
    00011     but WITHOUT ANY WARRANTY; without even the implied warranty of
    00012     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    00013     Library General Public License for more details.
    00014
    00015     You should have received a copy of the GNU Library General Public
    00016     License along with this library; if not, write to the Free
    00017     Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
    00018 */
    00019
    00020 #ifndef __CS_ITEXTURE_IFIRE_H__
    00021 #define __CS_ITEXTURE_IFIRE_H__
    00022
    00031 #include "csutil/scf.h"
    00032
    00033 struct iGradient;
    00034
    00039 struct iFireTexture : public virtual iBase
    00040 {
    00041   SCF_INTERFACE(iFireTexture, 2, 1, 0);
    00042
    00047   virtual void SetPossibleBurn (int possburn) = 0;
    00049   virtual int GetPossibleBurn() = 0;
    00050
    00055   virtual void SetAdditionalBurn (int addburn) = 0;
    00057   virtual int GetAdditionalBurn() = 0;
    00058
    00063   virtual void SetContinuedBurn (int contburn) = 0;
    00065   virtual int GetContinuedBurn() = 0;
    00066
    00071   virtual void SetSmoothing (int smoothing) = 0;
    00073   virtual int GetSmoothing() = 0;
    00074
    00079   virtual void SetExtinguish (int extinguish) = 0;
    00081   virtual int GetExtinguish() = 0;
    00082
    00084   virtual void SetSingleFlameMode (bool enable) = 0;
    00086   virtual bool GetSingleFlameMode() = 0;
    00087
    00092   virtual void SetHalfBase (int halfbase) = 0;
    00094   virtual int GetHalfBase() = 0;
    00095
    00102   virtual void SetPostSmoothing (int amount) = 0;
    00104   virtual int GetPostSmoothing () = 0;
    00105
    00111   virtual void SetPalette (iGradient* gradient) = 0;
    00112 };
    00113
    00116 #endif