mirror of
https://github.com/GTAmodding/re3.git
synced 2021-02-19 17:49:54 +01:00
Changed CReplay::Display slightly
This commit is contained in:
parent
4e09f9ee39
commit
3a763cc6e7
@ -1533,15 +1533,20 @@ WRAPPER void CReplay::Display(void) { EAXJMP(0x595EE0); }
|
|||||||
#else
|
#else
|
||||||
void CReplay::Display()
|
void CReplay::Display()
|
||||||
{
|
{
|
||||||
if (CReplay::IsPlayingBack() && CTimer::GetFrameCounter() + 1 & 0x20) {
|
static int counter = 0;
|
||||||
CFont::SetPropOn();
|
if (Mode == MODE_RECORD)
|
||||||
CFont::SetBackgroundOff();
|
return;
|
||||||
CFont::SetScale(SCREEN_SCALE_X(1.5f), SCREEN_SCALE_Y(1.5f));
|
counter = (counter + 1) % 65536;
|
||||||
CFont::SetAlignment(ALIGN_LEFT);
|
if (counter & 0x20 == 0)
|
||||||
CFont::SetColor(CRGBA(255, 255, 200, 200));
|
return;
|
||||||
CFont::SetFontStyle(FONT_BANK);
|
CFont::SetPropOn();
|
||||||
|
CFont::SetBackgroundOff();
|
||||||
|
CFont::SetScale(SCREEN_SCALE_X(1.5f), SCREEN_SCALE_Y(1.5f));
|
||||||
|
CFont::SetAlignment(ALIGN_LEFT);
|
||||||
|
CFont::SetColor(CRGBA(255, 255, 200, 200));
|
||||||
|
CFont::SetFontStyle(FONT_BANK);
|
||||||
|
if (Mode == MODE_PLAYBACK)
|
||||||
CFont::PrintString(SCREEN_SCALE_X(63.5f), SCREEN_SCALE_Y(30.0f), TheText.Get("REPLAY"));
|
CFont::PrintString(SCREEN_SCALE_X(63.5f), SCREEN_SCALE_Y(30.0f), TheText.Get("REPLAY"));
|
||||||
}
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user