From dfe25f4b76e82167fd6a92fa2316164e12004f79 Mon Sep 17 00:00:00 2001 From: Bardur Arantsson Date: Thu, 28 Jun 2012 08:58:19 +0200 Subject: Remove ANG281_RESET_VISUALS preprocessor define --- src/main-crb.c | 6 ------ src/main-gtk2.c | 7 +------ 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/src/main-crb.c b/src/main-crb.c index ad027c72..53761e1a 100644 --- a/src/main-crb.c +++ b/src/main-crb.c @@ -555,7 +555,6 @@ static bool_ check_create_user_dir(void) * * #define ALLOW_BIG_SCREEN (V, Ey, O, T.o.M.E., and Z. Dr's big screen needs * more work. New S one is too idiosyncratic...) - * #define ANG281_RESET_VISUALS (Cth, Gum, T.o.M.E., Z) * #define SAVEFILE_SCREEN (T.o.M.E.) * #define HAS_SCORE_MENU (V and T.o.M.E.) * #define ANGBAND_CREATOR four letter code for your variant, if any. @@ -568,7 +567,6 @@ static bool_ check_create_user_dir(void) #define USE_DOUBLE_TILES #define SAVEFILE_SCREEN -#define ANG281_RESET_VISUALS #define ALLOW_BIG_SCREEN #define HAS_SCORE_MENU #define ANGBAND_CREATOR 'PrnA' @@ -2460,11 +2458,7 @@ static errr Term_xtra_mac_react(void) term_data_resize(td); /* Reset visuals */ -#ifndef ANG281_RESET_VISUALS - reset_visuals(TRUE); -#else reset_visuals(); -#endif /* !ANG281_RESET_VISUALS */ } /* Success */ diff --git a/src/main-gtk2.c b/src/main-gtk2.c index fc02f164..d129f866 100644 --- a/src/main-gtk2.c +++ b/src/main-gtk2.c @@ -45,7 +45,7 @@ * with FREE/KILL, which takes one pointer parameter. * * [Z]-based variants (Gum and Cth, for example) usually need - * ANG293_COMPAT, ANG291_COMPAT and ANG281_RESET_VISUALS. + * ANG293_COMPAT, ANG291_COMPAT. * * [O] needs ANG293_COMPAT and ZANG_SAVE_GAME. * @@ -58,7 +58,6 @@ #ifdef TOME # define ANG293_COMPAT /* Requires V2.9.3 compatibility code */ # define ANG291_COMPAT /* Requires V2.9.1 compatibility code */ -# define ANG281_RESET_VISUALS /* The old style reset_visuals() */ # define SAVEFILE_SCREEN /* New/Open integrated into the game */ # define USE_DOUBLE_TILES /* Mogami's bigtile patch */ #endif /* TOME */ @@ -2254,11 +2253,7 @@ static void init_graphics(void) smooth_rescaling = smooth_rescaling_request; /* Reset visuals */ -#ifndef ANG281_RESET_VISUALS - reset_visuals(TRUE); -#else reset_visuals(); -#endif /* !ANG281_RESET_VISUALS */ } #endif /* USE_GRAPHICS */ -- cgit v1.2.3