some symbol tweaks
A few symbol-related modifications: - fulfill a request from a blind player to allow them to specify a unique/recognizable character for all pets and/or the player in the config file for use when using a screen reader (S_player_override, S_pet_override). Requires sysconf setting ACCESSIBILITY to be set to have an effect, although they can still be specified in the config file. - Config file SYMBOLS entries were not working properly on the rogue level. Allow ROGUESYMBOLS as well as SYMBOLS to be specified in the config file independently. - When values are moved into showsyms[], the overriding SYMBOLS or ROGUESYMBOLS entry from the config file is used if there is one; if there is no overriding value for a particular symbol, the loaded symset value is used; if there is no symset entry loaded for the symbol then a default symbol is used.
This commit is contained in:
@@ -61,6 +61,11 @@ MAXPLAYERS=10
|
||||
# incubi to use nymphs' charm behavior rather than their own seduce behavior.
|
||||
#SEDUCE=0
|
||||
|
||||
# Uncomment the next line to enable some accessibility features such
|
||||
# as S_player_override and S_pet_override symbols for screen readers
|
||||
# in the user config file.
|
||||
#ACCESSIBILITY=1
|
||||
|
||||
# Uncomment to disable savefile UID checking.
|
||||
#CHECK_SAVE_UID=0
|
||||
|
||||
|
||||
@@ -1599,8 +1599,8 @@ check_font_widths()
|
||||
boolean used[256];
|
||||
memset(used, 0, sizeof(used));
|
||||
for (int i = 0; i < SYM_MAX; i++) {
|
||||
used[l_syms[i]] = TRUE;
|
||||
used[r_syms[i]] = TRUE;
|
||||
used[primary_syms[i]] = TRUE;
|
||||
used[rogue_syms[i]] = TRUE;
|
||||
}
|
||||
|
||||
int wcUsedCount = 0;
|
||||
|
||||
@@ -52,6 +52,11 @@ WIZARDS=*
|
||||
# Uncomment the next line to disable the SEDUCE option.
|
||||
#SEDUCE=0
|
||||
|
||||
# Uncomment the next line to enable some accessibility features such
|
||||
# as S_player_override and S_pet_override symbols for screen readers
|
||||
# in the user config file.
|
||||
#ACCESSIBILITY=1
|
||||
|
||||
# Record (high score) file options.
|
||||
# CAUTION: changing these after people have started playing games can
|
||||
# lead to lost high scores!
|
||||
|
||||
Reference in New Issue
Block a user