Accessibility: showdamage option
Add a new boolean option showdamage, if on, outputs a message like "[HP -2, 14 left]" - several variants have something similar, but I chose the message based on how eSpeak said it, while keeping it short.
This commit is contained in:
@@ -620,6 +620,9 @@ static int optfn_##a(int, int, boolean, char *, char *);
|
||||
NHOPTB(selectsaved, Advanced, 0, opt_out, set_in_config,
|
||||
On, Yes, No, No, NoAlias, &iflags.wc2_selectsaved, Term_False,
|
||||
(char *)0)
|
||||
NHOPTB(showdamage, Status, 0, opt_in, set_in_game,
|
||||
Off, Yes, No, No, NoAlias, &iflags.showdamage, Term_False,
|
||||
"show damage hero takes in message line")
|
||||
NHOPTB(showexp, Status, 0, opt_in, set_in_game,
|
||||
Off, Yes, No, No, NoAlias, &flags.showexp, Term_False,
|
||||
"show experience points in status line")
|
||||
|
||||
Reference in New Issue
Block a user