| ## Public API Reference

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

- File List
- File Members

# cstool/csfxscr.h

Go to the documentation of this file.

    00001 /*
    00002     Copyright (C) 2001 by W.C.A. Wijngaards
    00003
    00004     This library is free software; you can redistribute it and/or
    00005     modify it under the terms of the GNU Library General Public
    00006     License as published by the Free Software Foundation; either
    00007     version 2 of the License, or (at your option) any later version.
    00008
    00009     This library is distributed in the hope that it will be useful,
    00010     but WITHOUT ANY WARRANTY; without even the implied warranty of
    00011     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    00012     Library General Public License for more details.
    00013
    00014     You should have received a copy of the GNU Library General Public
    00015     License along with this library; if not, write to the Free
    00016     Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
    00017 */
    00018
    00019 #ifndef __CS_CSFXSCR_H__
    00020 #define __CS_CSFXSCR_H__
    00021
    00022 #include "csextern.h"
    00023
    00024 #include "ivideo/graph3d.h"
    00025
    00026 class csColor;
    00027 struct iGraphics2D;
    00028 struct iTextureManager;
    00029
    00047 CS_CRYSTALSPACE_EXPORT void csfxInterference (iGraphics2D *g2d,
    00048   float amount, float anim, float length);
    00049
    00056 CS_CRYSTALSPACE_EXPORT void csfxFadeOut (iGraphics3D *g3d, float fadevalue);
    00057
    00063 CS_CRYSTALSPACE_EXPORT void csfxFadeTo (iGraphics3D *g3d, iTextureHandle *tex,
    00064   float fadevalue);
    00065
    00071 CS_CRYSTALSPACE_EXPORT void csfxFadeToColor (iGraphics3D *g3d, float fadevalue,
    00072   const csColor& color);
    00073
    00079 CS_CRYSTALSPACE_EXPORT void csfxGreenScreen (iGraphics3D *g3d, float fadevalue);
    00080
    00086 CS_CRYSTALSPACE_EXPORT void csfxRedScreen (iGraphics3D *g3d, float fadevalue);
    00087
    00093 CS_CRYSTALSPACE_EXPORT void csfxBlueScreen (iGraphics3D *g3d, float fadevalue);
    00094
    00100 CS_CRYSTALSPACE_EXPORT void csfxWhiteOut (iGraphics3D *g3d, float fadevalue);
    00101
    00108 CS_CRYSTALSPACE_EXPORT void csfxShadeVert (iGraphics3D *g3d,
    00109   const csColor& topcolor, const csColor& bottomcolor,
    00110   uint mixmode = CS_FX_COPY);
    00111
    00112
    00119 CS_CRYSTALSPACE_EXPORT void csfxScreenDPFX (iGraphics3D *g3d,
    00120   iTextureHandle *tex, uint mixmode, float r, float g, float b, float a);
    00121
    00128 CS_CRYSTALSPACE_EXPORT void csfxScreenDPFXPartial(iGraphics3D *g3d,
    00129   int x, int y, int w, int h, iTextureHandle *tex, uint mixmode,
    00130   float r, float g, float b, float a);
    00131
    00132 #endif // __CS_CSFXSCR_H__