Remove TEXTCOLOR build option
This commit is contained in:
@@ -68,11 +68,7 @@ int dir;
|
||||
return;
|
||||
|
||||
if (!WINVERS_AMIV) {
|
||||
#ifdef TEXTCOLOR
|
||||
amii_numcolors = 8;
|
||||
#else
|
||||
amii_numcolors = 4;
|
||||
#endif
|
||||
amii_defpens[0] = C_BLACK; /* DETAILPEN */
|
||||
amii_defpens[1] = C_BLUE; /* BLOCKPEN */
|
||||
amii_defpens[2] = C_BROWN; /* TEXTPEN */
|
||||
@@ -1225,11 +1221,7 @@ char **argv;
|
||||
/* While openscreen fails try fewer colors to see if that is the problem.
|
||||
*/
|
||||
while ((HackScreen = OpenScreen((void *) &NewHackScreen)) == NULL) {
|
||||
#ifdef TEXTCOLOR
|
||||
if (--NewHackScreen.Depth < 3)
|
||||
#else
|
||||
if (--NewHackScreen.Depth < 2)
|
||||
#endif
|
||||
Abort(AN_OpenScreen & ~AT_DeadEnd);
|
||||
}
|
||||
amii_numcolors = 1L << NewHackScreen.Depth;
|
||||
@@ -2017,15 +2009,11 @@ if(u.uz.dlevel != x){
|
||||
/* Move the cursor. */
|
||||
amii_curs(win, x, y + 2);
|
||||
|
||||
#ifdef TEXTCOLOR
|
||||
/* Turn off color if rogue level. */
|
||||
if (Is_rogue_level(&u.uz))
|
||||
color = NO_COLOR;
|
||||
|
||||
amiga_print_glyph(win, color, ch);
|
||||
#else
|
||||
g_putch(ch); /* print the character */
|
||||
#endif
|
||||
cw->curx++; /* one character over */
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user