Change screenshot base name to scrn0000 instead of duke0000 for standalone builds. DONT_BUILD.

git-svn-id: https://svn.eduke32.com/eduke32@6121 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2017-04-24 04:35:01 +00:00
parent d0ad379c4c
commit 9ed9efc4f6
2 changed files with 14 additions and 2 deletions

View file

@ -205,7 +205,13 @@ void G_HandleSpecialKeys(void)
Bsprintf(titlebuf,HEAD2 " %s",s_buildRev);
KB_ClearKeyDown(sc_F12);
screencapture("duke0000.tga",0,titlebuf);
screencapture(
#ifdef EDUKE32_STANDALONE
"duke0000.tga"
#else
"scrn0000.tga"
#endif
,0,titlebuf);
P_DoQuote(QUOTE_SCREEN_SAVED,g_player[myconnectindex].ps);
}

View file

@ -1212,7 +1212,13 @@ static int32_t osdcmd_screenshot(const osdfuncparm_t *parm)
{
UNREFERENCED_PARAMETER(parm);
// KB_ClearKeysDown();
screencapture("duke0000.tga",0,"EDuke32");
screencapture(
#ifdef EDUKE32_STANDALONE
"duke0000.tga"
#else
"scrn0000.tga"
#endif
,0,"EDuke32");
return OSDCMD_OK;
}