CrystalSpace

Public API Reference

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 
00048 CS_CRYSTALSPACE_EXPORT void csfxInterference (iGraphics2D *g2d, 
00049   float amount, float anim, float length);
00050 
00058 CS_CRYSTALSPACE_EXPORT void csfxFadeOut (iGraphics3D *g3d, float fadevalue);
00059 
00066 CS_CRYSTALSPACE_EXPORT void csfxFadeTo (iGraphics3D *g3d, iTextureHandle *tex, 
00067   float fadevalue);
00068 
00075 CS_CRYSTALSPACE_EXPORT void csfxFadeToColor (iGraphics3D *g3d, float fadevalue, 
00076   const csColor& color);
00077 
00084 CS_CRYSTALSPACE_EXPORT void csfxGreenScreen (iGraphics3D *g3d, float fadevalue);
00085 
00092 CS_CRYSTALSPACE_EXPORT void csfxRedScreen (iGraphics3D *g3d, float fadevalue);
00093 
00100 CS_CRYSTALSPACE_EXPORT void csfxBlueScreen (iGraphics3D *g3d, float fadevalue);
00101 
00108 CS_CRYSTALSPACE_EXPORT void csfxWhiteOut (iGraphics3D *g3d, float fadevalue);
00109 
00117 CS_CRYSTALSPACE_EXPORT void csfxShadeVert (iGraphics3D *g3d, 
00118   const csColor& topcolor, const csColor& bottomcolor, 
00119   uint mixmode = CS_FX_COPY);
00120 
00121 
00129 CS_CRYSTALSPACE_EXPORT void csfxScreenDPFX (iGraphics3D *g3d, 
00130   iTextureHandle *tex, uint mixmode, float r, float g, float b, float a);
00131 
00138 CS_CRYSTALSPACE_EXPORT void csfxScreenDPFXPartial(iGraphics3D *g3d, 
00139   int x, int y, int w, int h, iTextureHandle *tex, uint mixmode, 
00140   float r, float g, float b, float a);
00141 
00142 #endif // __CS_CSFXSCR_H__

Generated for Crystal Space 2.0 by doxygen 1.7.6.1