Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
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__