fix OPTIONS=symset:default, roguesymset:RogueEpyx

This commit is contained in:
nhmall
2018-12-18 00:14:39 -05:00
parent 44e81187c2
commit 94ac3047f0
3 changed files with 9 additions and 2 deletions
+4
View File
@@ -312,6 +312,10 @@ fix foxen pluralization again after underflow remedy reintroduced the problem
fix "placing monster over another?" warning for vault guards fix "placing monster over another?" warning for vault guards
status highlighting classifies gold, time, and experience-points as data type status highlighting classifies gold, time, and experience-points as data type
'long' but when selecting hilite rule to use treated them as 'int' 'long' but when selecting hilite rule to use treated them as 'int'
a config file line with OPTIONS=symset:default, roguesymset:RogueEpyx
was disabling color on RogueEpyx even though the symset is
meant to have color due to an errant init_symbols() during the
processing of symset:default after already processing RogueEpyx
tty: turn off an optimization that is the suspected cause of Windows reported tty: turn off an optimization that is the suspected cause of Windows reported
partial status lines following level changes partial status lines following level changes
tty: ensure that current status fields are always copied to prior status tty: ensure that current status fields are always copied to prior status
+4 -2
View File
@@ -503,8 +503,10 @@ int nondefault;
if (SYMHANDLING(H_CURS) && cursesgraphics_mode_callback) if (SYMHANDLING(H_CURS) && cursesgraphics_mode_callback)
(*cursesgraphics_mode_callback)(); (*cursesgraphics_mode_callback)();
# endif # endif
} else } else {
init_symbols(); init_l_symbols();
init_showsyms();
}
} }
void void
+1
View File
@@ -761,6 +761,7 @@ initoptions_init()
for (i = 0; i < NUM_DISCLOSURE_OPTIONS; i++) for (i = 0; i < NUM_DISCLOSURE_OPTIONS; i++)
flags.end_disclose[i] = DISCLOSE_PROMPT_DEFAULT_NO; flags.end_disclose[i] = DISCLOSE_PROMPT_DEFAULT_NO;
switch_symbols(FALSE); /* set default characters */ switch_symbols(FALSE); /* set default characters */
init_r_symbols();
#if defined(UNIX) && defined(TTY_GRAPHICS) #if defined(UNIX) && defined(TTY_GRAPHICS)
/* /*
* Set defaults for some options depending on what we can * Set defaults for some options depending on what we can