diff options
Diffstat (limited to 'src/main-crb.c')
-rw-r--r-- | src/main-crb.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/src/main-crb.c b/src/main-crb.c index 34b735d1..a4a1a742 100644 --- a/src/main-crb.c +++ b/src/main-crb.c @@ -586,8 +586,6 @@ static bool_ check_create_user_dir(void) # define ALLOW_BIG_SCREEN # define HAS_SCORE_MENU # define NEW_ZVIRT_HOOKS -/* I can't ditch this, yet, because there are many variants */ -# define USE_TRANSPARENCY #endif /* ANGBAND30X */ # define USE_DOUBLE_TILES @@ -2872,13 +2870,9 @@ static errr Term_text_mac(int x, int y, int n, byte a, const char *cp) * * Erase "n" characters starting at (x,y) */ -#ifdef USE_TRANSPARENCY static errr Term_pict_mac(int x, int y, int n, const byte *ap, const char *cp, const byte *tap, const char *tcp, const byte *eap, const char *ecp) -#else /* USE_TRANSPARENCY */ -static errr Term_pict_mac(int x, int y, int n, const byte *ap, const char *cp) -#endif /* USE_TRANSPARENCY */ { int i; Rect dst_r; @@ -2916,13 +2910,11 @@ static errr Term_pict_mac(int x, int y, int n, const byte *ap, const char *cp) byte a = *ap++; char c = *cp++; -#ifdef USE_TRANSPARENCY byte ta = *tap++; char tc = *tcp++; byte ea = *eap++; char ec = *ecp++; bool_ has_overlay = (ea && ec); -#endif #ifdef USE_DOUBLE_TILES @@ -2947,12 +2939,10 @@ static errr Term_pict_mac(int x, int y, int n, const byte *ap, const char *cp) { int col, row; Rect src_r; -#ifdef USE_TRANSPARENCY int t_col, t_row; Rect terrain_r; int e_col, e_row; Rect ego_r; -#endif /* USE_TRANSPARENCY */ /* Row and Col */ row = ((byte)a & 0x7F) % pict_rows; @@ -2964,7 +2954,6 @@ static errr Term_pict_mac(int x, int y, int n, const byte *ap, const char *cp) src_r.right = src_r.left + graf_width; src_r.bottom = src_r.top + graf_height; -#ifdef USE_TRANSPARENCY /* Row and Col */ t_row = ((byte)ta & 0x7F) % pict_rows; t_col = ((byte)tc & 0x7F) % pict_cols; @@ -2989,8 +2978,6 @@ static errr Term_pict_mac(int x, int y, int n, const byte *ap, const char *cp) ego_r.bottom = ego_r.top + graf_height; } -#endif /* USE_TRANSPARENCY */ - /* Hardwire CopyBits */ RGBBackColor(&white); RGBForeColor(&black); @@ -3018,8 +3005,6 @@ static errr Term_pict_mac(int x, int y, int n, const byte *ap, const char *cp) /* Get Pixmap handle */ pixmap_h = GetPortPixMap(port); -#ifdef USE_TRANSPARENCY - /* Transparency effect */ switch (transparency_mode) { @@ -3064,15 +3049,6 @@ static errr Term_pict_mac(int x, int y, int n, const byte *ap, const char *cp) } } -#else /* USE_TRANSPARENCY */ - - /* Draw the picture */ - CopyBits((BitMap*)frameP->framePix, - (BitMap*)*pixmap_h, - &src_r, &dst_r, srcCopy, NULL); - -#endif /* USE_TRANSPARENCY */ - /* Release the lock and dispose the PixMap handle */ UnlockPortBits(port); |