devmode replay: show demo format version

This commit is contained in:
James R 2024-03-19 01:12:59 -07:00
parent 4d4f6f3bdd
commit 2cb62c8663
2 changed files with 3 additions and 1 deletions

View file

@ -2185,6 +2185,8 @@ void G_BeginRecording(void)
WRITEUINT8(demobuf.p,SUBVERSION);
WRITEUINT16(demobuf.p,DEMOVERSION);
demo.version = DEMOVERSION;
// Full replay title
demobuf.p += 64;
{

View file

@ -471,7 +471,7 @@ static void ST_drawDemoDebug(INT32 *height)
avg * TICRATE / 1024.0,
(size - needle) / (avg * TICRATE * 60.0)
));
ST_pushDebugString(height, va("Demo (%s)", demo.recording ? "recording" : "playback"));
ST_pushDebugString(height, va("Demo %04x (%s)", demo.version, demo.recording ? "recording" : "playback"));
}
void ST_drawDebugInfo(void)