mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-14 06:54:08 +00:00
Weapon layer in Peds
This commit is contained in:
parent
ede6b7db6a
commit
acd1ea9909
36 changed files with 2182 additions and 875 deletions
|
@ -3,12 +3,14 @@
|
|||
#include "RwHelper.h"
|
||||
#include "Camera.h"
|
||||
#include "MBlur.h"
|
||||
#include "Timer.h"
|
||||
|
||||
// Originally taken from RW example 'mblur'
|
||||
|
||||
RwRaster *CMBlur::pFrontBuffer;
|
||||
bool CMBlur::ms_bJustInitialised;
|
||||
bool CMBlur::BlurOn;
|
||||
float CMBlur::Drunkness;
|
||||
|
||||
static RwIm2DVertex Vertex[4];
|
||||
static RwIm2DVertex Vertex2[4];
|
||||
|
@ -281,3 +283,10 @@ CMBlur::OverlayRender(RwCamera *cam, RwRaster *raster, RwRGBA color, int32 type)
|
|||
RwRenderStateSet(rwRENDERSTATESRCBLEND, (void*)rwBLENDSRCALPHA);
|
||||
RwRenderStateSet(rwRENDERSTATEDESTBLEND, (void*)rwBLENDINVSRCALPHA);
|
||||
}
|
||||
|
||||
void
|
||||
CMBlur::ClearDrunkBlur()
|
||||
{
|
||||
Drunkness = 0.0f;
|
||||
CTimer::SetTimeScale(1.0f);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue