Accessibility: Add location info to messages
Adds a new boolean option, accessiblemsg. If on, some game messages are prefixed with direction or location information, for example: (west): The newt bites! (northwest): You find a hidden door. I added the info to the most common messages, but several are still missing it.
This commit is contained in:
@@ -104,6 +104,7 @@ const schar dirs_ord[N_DIRS] =
|
||||
NEARDATA boolean has_strong_rngseed = FALSE;
|
||||
struct engr *head_engr;
|
||||
NEARDATA struct instance_flags iflags;
|
||||
NEARDATA struct accessibility_data a11y;
|
||||
/* NOTE: the order of these words exactly corresponds to the
|
||||
order of oc_material values #define'd in objclass.h. */
|
||||
const char *materialnm[] = { "mysterious", "liquid", "wax", "organic",
|
||||
@@ -1057,6 +1058,7 @@ decl_globals_init(void)
|
||||
|
||||
ZERO(flags);
|
||||
ZERO(iflags);
|
||||
ZERO(a11y);
|
||||
ZERO(u);
|
||||
ZERO(ubirthday);
|
||||
ZERO(urealtime);
|
||||
|
||||
Reference in New Issue
Block a user