From 9ed9efc4f6af7d30e46ebf58f34fecb9d5245d11 Mon Sep 17 00:00:00 2001 From: terminx Date: Mon, 24 Apr 2017 04:35:01 +0000 Subject: [PATCH] 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 --- source/duke3d/src/game.cpp | 8 +++++++- source/duke3d/src/osdcmds.cpp | 8 +++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/source/duke3d/src/game.cpp b/source/duke3d/src/game.cpp index f63938c46..b969fe72d 100644 --- a/source/duke3d/src/game.cpp +++ b/source/duke3d/src/game.cpp @@ -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); } diff --git a/source/duke3d/src/osdcmds.cpp b/source/duke3d/src/osdcmds.cpp index a7048310c..5d24a1d33 100644 --- a/source/duke3d/src/osdcmds.cpp +++ b/source/duke3d/src/osdcmds.cpp @@ -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; }