lootabc and showrace options
Replace "feature_toggle" implementation with an easier-to-understand boolean option called "lootabc". Provide "showrace", an option to display the hero by race glyph rather than by role glyph. Document the above. Remove some obsolete Mac options.
This commit is contained in:
15
src/decl.c
15
src/decl.c
@@ -271,21 +271,6 @@ char *fqn_prefix_names[PREFIX_COUNT] = { "hackdir", "leveldir", "savedir",
|
||||
"lockdir", "configdir" };
|
||||
#endif
|
||||
|
||||
/*
|
||||
* The following provide a way to offer two different
|
||||
* behaviours for a game interface feature, and allow
|
||||
* the player to toggle the alternate behaviour on.
|
||||
* The strings in the feature_toggles[] array can be
|
||||
* specified in an OPTIONS=feature_toggle:value1 value2
|
||||
* statement in the config file.
|
||||
*/
|
||||
unsigned long toggled_features = 0L;
|
||||
|
||||
struct features_that_toggle feature_toggles[] = {
|
||||
{(char *)0, 0x00000000L}, /* 0 = TOGGLE_INVALID */
|
||||
{"loot_menu_selectors", 0x00000001L}, /* 1 = TOGGLE_LOOT_MENU_SELECTORS */
|
||||
};
|
||||
|
||||
/* dummy routine used to force linkage */
|
||||
void
|
||||
decl_init()
|
||||
|
||||
Reference in New Issue
Block a user