monpolycontrol, wizdebug_*
Demote #monpolycontrol and #wizdebug_traveldisplay from commands to simple boolean options. The former has the same name, the latter is called travel_debug. Rename #wizdebug_bury to #wizbury; it shouldn't matter that it goes away when compiled without DEBUG. There are now five wizard-mode boolean options: monpolycontrol, sanity_check, and wizweight are documented in the Guidebook; menu_tab_sep and travel_debug are commented out there. Guidebook.mn has been tested; Guidebook.tex has not.
This commit is contained in:
@@ -160,6 +160,7 @@ static struct Bool_Opt {
|
||||
#else
|
||||
{ "menu_overlay", (boolean *) 0, FALSE, SET_IN_FILE },
|
||||
#endif
|
||||
{ "monpolycontrol", &iflags.mon_polycontrol, FALSE, SET_IN_WIZGAME },
|
||||
{ "mouse_support", &iflags.wc_mouse_support, TRUE, DISP_IN_GAME }, /*WC*/
|
||||
#ifdef NEWS
|
||||
{ "news", &iflags.news, TRUE, DISP_IN_GAME },
|
||||
@@ -173,7 +174,7 @@ static struct Bool_Opt {
|
||||
#else
|
||||
{ "page_wait", (boolean *) 0, FALSE, SET_IN_FILE },
|
||||
#endif
|
||||
/* 3.6.2: move perm_invent from flags to inflags and out of save file */
|
||||
/* 3.6.2: move perm_invent from flags to iflags and out of save file */
|
||||
{ "perm_invent", &iflags.perm_invent, FALSE, SET_IN_GAME },
|
||||
{ "pickup_thrown", &flags.pickup_thrown, TRUE, SET_IN_GAME },
|
||||
{ "popup_dialog", &iflags.wc_popup_dialog, FALSE, SET_IN_GAME }, /*WC*/
|
||||
@@ -221,6 +222,9 @@ static struct Bool_Opt {
|
||||
{ "tombstone", &flags.tombstone, TRUE, SET_IN_GAME },
|
||||
{ "toptenwin", &iflags.toptenwin, FALSE, SET_IN_GAME },
|
||||
{ "travel", &flags.travelcmd, TRUE, SET_IN_GAME },
|
||||
#ifdef DEBUG
|
||||
{ "travel_debug", &iflags.trav_debug, FALSE, SET_IN_WIZGAME }, /*hack.c*/
|
||||
#endif
|
||||
{ "use_darkgray", &iflags.wc2_darkgray, TRUE, SET_IN_FILE },
|
||||
#ifdef WIN32
|
||||
{ "use_inverse", &iflags.wc_inverse, TRUE, SET_IN_GAME }, /*WC*/
|
||||
|
||||
Reference in New Issue
Block a user