remove some macgraphics references; some Amiga

Also closes #183
This commit is contained in:
nhmall
2023-02-21 22:54:56 -05:00
parent ecf247a2a6
commit 049ab7a5df
6 changed files with 3 additions and 79 deletions

View File

@@ -116,7 +116,7 @@ static struct win_information window_opts[] = {
#ifdef MSDOS
"traditional text with optional 'tiles' graphics",
#else
/* assume that one or more of IBMgraphics, DECgraphics, or MACgraphics
/* assume that one or more of IBMgraphics, DECgraphics
can be enabled; we can't tell from here whether that is accurate */
"traditional text with optional line-drawing",
#endif

View File

@@ -1808,49 +1808,6 @@ optfn_IBMgraphics(int optidx, int req, boolean negated,
return optn_ok;
}
#if defined(BACKWARD_COMPAT) && defined(MAC_GRAPHICS_ENV)
static int
optfn_MACgraphics(int optidx, int req, boolean negated, char *opts, char *op)
{
boolean badflag = FALSE;
if (req == do_init) {
return optn_ok;
}
if (req == do_set) {
/* "MACgraphics" */
if (!negated) {
if (gs.symset[PRIMARYSET].name) {
badflag = TRUE;
} else {
gs.symset[PRIMARYSET].name = dupstr(allopt[optidx].name);
if (!read_sym_file(PRIMARYSET)) {
badflag = TRUE;
clear_symsetentry(PRIMARYSET, TRUE);
}
}
if (badflag) {
config_error_add("Failure to load symbol set %s.",
allopt[optidx].name);
return FALSE;
} else {
switch_symbols(TRUE);
if (!go.opt_initial && Is_rogue_level(&u.uz))
assign_graphics(ROGUESET);
}
}
return optn_ok;
}
if (req == get_val || req == get_cnf_val) {
if (!opts)
return optn_err;
opts[0] = '\0';
return optn_ok;
}
return optn_ok;
}
#endif /* BACKWARD_COMPAT && MAC_GRAPHICS_ENV */
static int
optfn_map_mode(int optidx, int req, boolean negated, char *opts, char *op)
{