From ffe55a267f07cba31cb41753aaf85d69e38f414a Mon Sep 17 00:00:00 2001 From: Antonio Martinez Date: Wed, 10 Sep 2025 15:56:44 -0400 Subject: [PATCH] Stamp RC versions during gameplay --- src/doomdef.h | 2 +- src/st_stuff.c | 11 +++++++++++ src/version.h | 2 +- 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/src/doomdef.h b/src/doomdef.h index efb0364c5..9afedf74c 100644 --- a/src/doomdef.h +++ b/src/doomdef.h @@ -126,7 +126,7 @@ extern char logfilename[1024]; // the other options the same. // Comment out this line to completely disable update alerts (recommended for testing, but not for release) -#if !defined(BETAVERSION) && !defined(DEVELOP) +#if !defined(DEVELOP) #define UPDATE_ALERT #endif diff --git a/src/st_stuff.c b/src/st_stuff.c index 07f17cb3d..85d824626 100644 --- a/src/st_stuff.c +++ b/src/st_stuff.c @@ -1582,6 +1582,17 @@ void ST_Drawer(void) #endif if (rendermode != render_none) ST_doPaletteStuff(); +#ifdef BETAVERSION + + char nag[256]; + snprintf(nag, sizeof(nag), "KartKrew.org - %s %s - Pre-release testing version", SRB2VERSION, BETAVERSION); + + V_DrawCenteredMenuString(BASEVIDWIDTH/2, 2, V_30TRANS|V_SNAPTOTOP, nag); + + V_DrawCenteredMenuString(BASEVIDWIDTH/2, BASEVIDHEIGHT - 10, V_30TRANS|V_SNAPTOBOTTOM, nag); + +#endif + fixed_t localfadein[MAXSPLITSCREENPLAYERS]; // HUD fading for anything not tied to a single player, diff --git a/src/version.h b/src/version.h index 93862ebd5..db96a4637 100644 --- a/src/version.h +++ b/src/version.h @@ -7,4 +7,4 @@ #define MODVERSION 5 // Define this as a prerelease version suffix -// #define BETAVERSION "Alpha" +#define BETAVERSION "RC1"