From bc95a34067bdf61fda4ca54442488eb6f553aca3 Mon Sep 17 00:00:00 2001 From: James R Date: Wed, 13 Mar 2024 22:46:28 -0700 Subject: [PATCH] Menus/Options: only use three ??? question marks for locked secrets - Only Continuous Attack Music uses this right now --- src/k_menudraw.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/k_menudraw.c b/src/k_menudraw.c index ab327a9cb..f338b6075 100644 --- a/src/k_menudraw.c +++ b/src/k_menudraw.c @@ -1037,6 +1037,10 @@ void M_Drawer(void) // Used for the secrets menu, to hide yet-to-be-unlocked stuff. static const char *M_CreateSecretMenuOption(const char *str) { +#if 1 + (void)str; + return "???"; +#else static char qbuf[64]; int i; @@ -1055,6 +1059,7 @@ static const char *M_CreateSecretMenuOption(const char *str) qbuf[63] = '\0'; return qbuf; +#endif } // @@ -4660,7 +4665,7 @@ box_found: if (currentMenu->menuitems[i].mvar1) y = currentMenu->y+currentMenu->menuitems[i].mvar1; - V_DrawMenuString(x, y, V_TRANSLUCENT|V_OLDSPACING, M_CreateSecretMenuOption(currentMenu->menuitems[i].text)); + V_DrawMenuString(x + 8, y, V_TRANSLUCENT|V_OLDSPACING, M_CreateSecretMenuOption(currentMenu->menuitems[i].text)); y += SMALLLINEHEIGHT; break; case IT_HEADERTEXT: // draws 16 pixels to the left, in yellow text