# Conflicts: # src/audio/AudioLogic.cpp # src/audio/soundlist.h # src/control/Script.cpp # src/control/ScriptCommands.h # src/core/Cam.cpp # src/core/Camera.cpp # src/core/Camera.h # src/core/Frontend.cpp # src/core/Frontend.h # src/core/Game.cpp # src/core/MenuScreens.cpp # src/core/Pad.cpp # src/core/Pad.h # src/core/config.h # src/entities/Entity.cpp # src/render/Credits.cpp # src/render/Fluff.cpp # src/render/Hud.cpp # src/render/MBlur.cpp # src/render/Timecycle.cpp # src/skel/glfw/glfw.cpp # src/skel/win/win.cpp # src/text/Text.cpp
34 lines
801 B
C++
34 lines
801 B
C++
#pragma once
|
|
|
|
enum FxType
|
|
{
|
|
FXTYPE_0 = 0,
|
|
FXTYPE_1,
|
|
FXTYPE_2,
|
|
FXTYPE_3,
|
|
FXTYPE_4,
|
|
FXTYPE_5,
|
|
};
|
|
|
|
class CMBlur
|
|
{
|
|
public:
|
|
static RwRaster *pFrontBuffer;
|
|
static bool ms_bJustInitialised;
|
|
static bool ms_bScaledBlur;
|
|
static bool BlurOn;
|
|
static float Drunkness;
|
|
|
|
public:
|
|
static RwBool MotionBlurOpen(RwCamera *cam);
|
|
static RwBool MotionBlurClose(void);
|
|
static void CreateImmediateModeData(RwCamera *cam, RwRect *rect);
|
|
static void MotionBlurRender(RwCamera *cam, uint32 red, uint32 green, uint32 blue, uint32 blur, int32 type, uint32 alpha);
|
|
static void OverlayRender(RwCamera *cam, RwRaster *raster, RwRGBA color, int32 type, int32 alpha);
|
|
static void SetDrunkBlur(float drunkness);
|
|
static void ClearDrunkBlur();
|
|
|
|
//TODO
|
|
static void AddRenderFx(RwCamera *,RwRect *,float,FxType)
|
|
{}
|
|
};
|