mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
For demos, make savehead.savename[] carry the SVN revision number.
Also, shorten "FAILED STARTING DEMO RECORDING." message so that it fits on the screen. DONT_BUILD. git-svn-id: https://svn.eduke32.com/eduke32@4133 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
4cb24de24e
commit
e132073640
2 changed files with 4 additions and 3 deletions
|
@ -164,7 +164,7 @@ void G_OpenDemoWrite(void)
|
|||
OSD_Printf("contain a RESIZEARRAY command, you can force recording with the\n");
|
||||
OSD_Printf("`demorec_force' cvar. Alternatively, you can disable diff recording\n");
|
||||
OSD_Printf("with the `demorec_diffs' cvar.\n\n");
|
||||
Bstrcpy(ScriptQuotes[QUOTE_RESERVED4], "FAILED STARTING DEMO RECORDING. SEE OSD FOR DETAILS.");
|
||||
Bstrcpy(ScriptQuotes[QUOTE_RESERVED4], "FAILED STARTING DEMO RECORDING. SEE OSD.");
|
||||
P_DoQuote(QUOTE_RESERVED4, g_player[myconnectindex].ps);
|
||||
ud.recstat = ud.m_recstat = 0;
|
||||
return;
|
||||
|
|
|
@ -1203,9 +1203,10 @@ int32_t sv_saveandmakesnapshot(FILE *fil, int8_t spot, int8_t recdiffsp, int8_t
|
|||
const time_t t=time(NULL);
|
||||
struct tm *st;
|
||||
|
||||
Bstrncpyz(h.savename, "Eduke32 demo", sizeof(h.savename));
|
||||
Bstrncpyz(h.savename, "EDuke32 demo", sizeof(h.savename));
|
||||
if (t>=0 && (st = localtime(&t)))
|
||||
Bsprintf(h.savename, "Edemo32 %04d%02d%02d", st->tm_year+1900, st->tm_mon+1, st->tm_mday);
|
||||
Bsnprintf(h.savename, sizeof(h.savename), "Demo %04d%02d%02d %s",
|
||||
st->tm_year+1900, st->tm_mon+1, st->tm_mday, s_buildRev);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue