mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-15 15:38:59 +00:00
CHud::Draw - removed render states, readded hud toogle with second controller
This commit is contained in:
parent
577189c1f2
commit
568bdcfd74
1 changed files with 3 additions and 8 deletions
|
@ -107,14 +107,9 @@ WRAPPER void CHud::Draw(void) { EAXJMP(0x5052A0); }
|
|||
#else
|
||||
void CHud::Draw()
|
||||
{
|
||||
RwRenderStateSet(rwRENDERSTATEFOGENABLE, (void*)FALSE);
|
||||
RwRenderStateSet(rwRENDERSTATESRCBLEND, (void*)rwBLENDSRCALPHA);
|
||||
RwRenderStateSet(rwRENDERSTATEDESTBLEND, (void*)rwBLENDINVSRCALPHA);
|
||||
RwRenderStateSet(rwRENDERSTATEVERTEXALPHAENABLE, (void*)TRUE);
|
||||
RwRenderStateSet(rwRENDERSTATETEXTUREADDRESS, (void*)rwTEXTUREADDRESSMIRROR);
|
||||
RwRenderStateSet(rwRENDERSTATETEXTURERASTER, (void*)FALSE);
|
||||
RwRenderStateSet(rwRENDERSTATESHADEMODE, (void*)rwSHADEMODEFLAT);
|
||||
RwRenderStateSet(rwRENDERSTATETEXTUREFILTER, (void*)rwFILTERLINEAR);
|
||||
// disable hud via second controller
|
||||
if (CPad::GetPad(1)->GetStartJustDown())
|
||||
m_Wants_To_Draw_Hud = !m_Wants_To_Draw_Hud;
|
||||
|
||||
if (CReplay::IsPlayingBack())
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue