diff options
author | aap <aap@papnet.eu> | 2021-01-01 14:02:05 +0100 |
---|---|---|
committer | aap <aap@papnet.eu> | 2021-01-01 14:02:05 +0100 |
commit | 60197c2d7e89836d1e31f9cf80cfbcea8bad8f8a (patch) | |
tree | 32df20ab58a7e47e5dbf109468135b046daa017d /src/control/Replay.cpp | |
parent | wrong bike fall off anim (diff) | |
parent | Merge remote-tracking branch 'upstream/miami' into miami (diff) | |
download | re3-60197c2d7e89836d1e31f9cf80cfbcea8bad8f8a.tar re3-60197c2d7e89836d1e31f9cf80cfbcea8bad8f8a.tar.gz re3-60197c2d7e89836d1e31f9cf80cfbcea8bad8f8a.tar.bz2 re3-60197c2d7e89836d1e31f9cf80cfbcea8bad8f8a.tar.lz re3-60197c2d7e89836d1e31f9cf80cfbcea8bad8f8a.tar.xz re3-60197c2d7e89836d1e31f9cf80cfbcea8bad8f8a.tar.zst re3-60197c2d7e89836d1e31f9cf80cfbcea8bad8f8a.zip |
Diffstat (limited to '')
-rw-r--r-- | src/control/Replay.cpp | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/src/control/Replay.cpp b/src/control/Replay.cpp index d3de987e..1c68cad9 100644 --- a/src/control/Replay.cpp +++ b/src/control/Replay.cpp @@ -1894,13 +1894,20 @@ void CReplay::Display() TimeCount = (TimeCount + 1) % UINT16_MAX; if ((TimeCount & 0x20) == 0) return; - CFont::SetPropOn(); - CFont::SetBackgroundOff(); + CFont::SetScale(SCREEN_SCALE_X(1.5f), SCREEN_SCALE_Y(1.5f)); - CFont::SetAlignment(ALIGN_LEFT); + CFont::SetJustifyOff(); + CFont::SetBackgroundOff(); +#ifdef FIX_BUGS + CFont::SetCentreSize(SCREEN_SCALE_X(DEFAULT_SCREEN_WIDTH-20)); +#else + CFont::SetCentreSize(SCREEN_WIDTH-20); +#endif + CFont::SetCentreOff(); + CFont::SetPropOn(); CFont::SetColor(CRGBA(255, 255, 200, 200)); CFont::SetFontStyle(FONT_STANDARD); if (Mode == MODE_PLAYBACK) - CFont::PrintString(SCREEN_SCALE_X(63.5f), SCREEN_SCALE_Y(30.0f), TheText.Get("REPLAY")); + CFont::PrintString(SCREEN_WIDTH/15, SCREEN_HEIGHT/10, TheText.Get("REPLAY")); } #endif |