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 "ivideo/graph3d.h"
00023
00024 class csColor;
00025 struct iGraphics2D;
00026 struct iTextureManager;
00027
00028
00029
00030
00031
00032
00033
00034
00045 void csfxInterference (iGraphics2D *g2d, iTextureManager *txtmgr,
00046 float amount, float anim, float length);
00047
00054 void csfxFadeOut (iGraphics3D *g3d, float fadevalue);
00055
00061 void csfxFadeTo (iGraphics3D *g3d, iMaterialHandle *mat, float fadevalue);
00062
00068 void csfxFadeToColor (iGraphics3D *g3d, float fadevalue, const csColor& color);
00069
00075 void csfxGreenScreen (iGraphics3D *g3d, float fadevalue);
00076
00082 void csfxRedScreen (iGraphics3D *g3d, float fadevalue);
00083
00089 void csfxBlueScreen (iGraphics3D *g3d, float fadevalue);
00090
00096 void csfxWhiteOut (iGraphics3D *g3d, float fadevalue);
00097
00104 void csfxShadeVert (iGraphics3D *g3d, const csColor& topcolor,
00105 const csColor& bottomcolor, uint mixmode = CS_FX_COPY);
00106
00107
00112 void csfxScreenDPFX (iGraphics3D *g3d, iMaterialHandle *mat, uint mixmode,
00113 uint8 r, uint8 g, uint8 b);
00114
00115 #endif // __CS_CSFXSCR_H__
00116