Disable the v1 Manual for now

I really wanted to make a new manual work in time for launch. But no. It would likely be an irresponsible timesink at this stage.
This commit is contained in:
toaster 2023-11-04 22:14:15 +00:00
parent 95ea6ae883
commit d33fa75eb0
3 changed files with 6 additions and 0 deletions

View file

@ -1132,7 +1132,9 @@ char *M_AddonsHeaderPath(void);
extern consvar_t cv_dummyaddonsearch; extern consvar_t cv_dummyaddonsearch;
extern consvar_t cv_dummyextraspassword; extern consvar_t cv_dummyextraspassword;
#ifdef TODONEWMANUAL
void M_Manual(INT32 choice); void M_Manual(INT32 choice);
#endif
void M_HandleImageDef(INT32 choice); void M_HandleImageDef(INT32 choice);
// K_MENUDRAW.C // K_MENUDRAW.C

View file

@ -31,8 +31,10 @@ menuitem_t OPTIONS_Main[] =
{IT_STRING | IT_SUBMENU, "Data Options", "Miscellaneous data options such as the screenshot format.", {IT_STRING | IT_SUBMENU, "Data Options", "Miscellaneous data options such as the screenshot format.",
NULL, {.submenu = &OPTIONS_DataDef}, 0, 0}, NULL, {.submenu = &OPTIONS_DataDef}, 0, 0},
#ifdef TODONEWMANUAL
{IT_STRING | IT_CALL, "Tricks & Secrets", "Those who bother reading a game manual always get the edge over those who don't!", {IT_STRING | IT_CALL, "Tricks & Secrets", "Those who bother reading a game manual always get the edge over those who don't!",
NULL, {.routine = M_Manual}, 0, 0}, NULL, {.routine = M_Manual}, 0, 0},
#endif
}; };
// For options menu, the 'extra1' field will determine the background colour to use for... the background! (What a concept!) // For options menu, the 'extra1' field will determine the background colour to use for... the background! (What a concept!)

View file

@ -64,6 +64,7 @@ void M_HandleImageDef(INT32 choice)
} }
// Opening manual // Opening manual
#ifdef TODONEWMANUAL
void M_Manual(INT32 choice) void M_Manual(INT32 choice)
{ {
(void)choice; (void)choice;
@ -71,3 +72,4 @@ void M_Manual(INT32 choice)
MISC_ManualDef.prevMenu = (choice == INT32_MAX ? NULL : currentMenu); MISC_ManualDef.prevMenu = (choice == INT32_MAX ? NULL : currentMenu);
M_SetupNextMenu(&MISC_ManualDef, true); M_SetupNextMenu(&MISC_ManualDef, true);
} }
#endif