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:
kmhugo
2002-03-31 06:27:27 +00:00
parent 64e423966f
commit 9e60327b01
10 changed files with 34 additions and 128 deletions

View File

@@ -314,10 +314,12 @@
#define ridden_monnum_to_glyph(mnum) ((int) (mnum) + GLYPH_RIDDEN_OFF)
#define petnum_to_glyph(mnum) ((int) (mnum) + GLYPH_PET_OFF)
/* The hero's glyph when seen as a monster. Could also be...
* mon_to_glyph(Upolyd || Race_if(PM_HUMAN) ? u.umonnum : urace.malenum)
/* The hero's glyph when seen as a monster.
*/
#define hero_glyph monnum_to_glyph(u.umonnum)
#define hero_glyph \
monnum_to_glyph((Upolyd || !iflags.showrace) ? u.umonnum : \
(flags.female && urace.femalenum != NON_PM) ? urace.femalenum : \
urace.malenum)
/*