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:
@@ -2336,6 +2336,10 @@ extern void dumplogmsg(const char *);
|
||||
extern void dumplogfreemessages(void);
|
||||
#endif
|
||||
extern void pline(const char *, ...) PRINTF_F(1, 2);
|
||||
extern void pline_dir(int, const char *, ...) PRINTF_F(2, 3);
|
||||
extern void pline_xy(coordxy, coordxy, const char *, ...) PRINTF_F(3, 4);
|
||||
extern void set_msg_dir(int);
|
||||
extern void set_msg_xy(coordxy, coordxy);
|
||||
extern void custompline(unsigned, const char *, ...) PRINTF_F(2, 3);
|
||||
extern void urgent_pline(const char *, ...) PRINTF_F(1, 2);
|
||||
extern void Norep(const char *, ...) PRINTF_F(1, 2);
|
||||
|
||||
Reference in New Issue
Block a user