diff --git a/src/mn_setup.c b/src/mn_setup.c index c604bf8e..66188bf1 100644 --- a/src/mn_setup.c +++ b/src/mn_setup.c @@ -3258,7 +3258,7 @@ static const char *exit_sequence_strings[] = { }; static const char *fuzzmode_strings[] = { - "Vanilla", "Refraction", "Shadow" + "Blocky", "Refraction", "Shadow", "Original" }; static setup_menu_t gen_settings5[] = { diff --git a/src/r_draw.c b/src/r_draw.c index c6db3113..7ab83191 100644 --- a/src/r_draw.c +++ b/src/r_draw.c @@ -684,6 +684,9 @@ void R_SetFuzzColumnMode(void) case FUZZ_SHADOW: R_DrawFuzzColumn = DrawFuzzColumnShadow; break; + case FUZZ_ORIGINAL: + R_DrawFuzzColumn = DrawFuzzColumnOriginal; + break; } } diff --git a/src/r_draw.h b/src/r_draw.h index 3074f6ec..4b0d3e38 100644 --- a/src/r_draw.h +++ b/src/r_draw.h @@ -53,6 +53,7 @@ typedef enum FUZZ_BLOCKY, FUZZ_REFRACTION, FUZZ_SHADOW, + FUZZ_ORIGINAL } fuzzmode_t; extern fuzzmode_t fuzzmode; diff --git a/src/r_main.c b/src/r_main.c index 960a68ae..2b6dcef1 100644 --- a/src/r_main.c +++ b/src/r_main.c @@ -1019,6 +1019,8 @@ void R_InitAnyRes(void) void R_BindRenderVariables(void) { BIND_NUM_GENERAL(extra_level_brightness, 0, 0, 4, "Level brightness"); + BIND_NUM_GENERAL(fuzzmode, FUZZ_BLOCKY, FUZZ_BLOCKY, FUZZ_ORIGINAL, + "Partial Invisibility (0 = Blocky; 1 = Refraction; 2 = Shadow, 3 = Original)"); BIND_BOOL_GENERAL(stretchsky, false, "Stretch short skies"); BIND_BOOL_GENERAL(linearsky, false, "Linear horizontal scrolling for skies"); BIND_BOOL_GENERAL(r_swirl, false, "Swirling animated flats"); @@ -1030,7 +1032,8 @@ void R_BindRenderVariables(void) BIND_NUM_GENERAL(invul_mode, INVUL_MBF, INVUL_VANILLA, INVUL_GRAY, "Invulnerability effect (0 = Vanilla; 1 = MBF; 2 = Gray)"); BIND_BOOL(flashing_hom, true, "Enable flashing of the HOM indicator"); - BIND_NUM(screenblocks, 10, 3, UL, "Size of game-world screen"); + M_BindNum("screenblocks", &screenblocks, NULL, 10, 3, + UL, ss_stat, wad_no, "Size of game-world screen"); M_BindBool("translucency", &translucency, NULL, true, ss_gen, wad_yes, "Translucency for some things"); @@ -1040,9 +1043,6 @@ void R_BindRenderVariables(void) M_BindBool("flipcorpses", &flipcorpses, NULL, false, ss_enem, wad_no, "Randomly mirrored death animations"); - M_BindNum("fuzzmode", &fuzzmode, NULL, - FUZZ_BLOCKY, FUZZ_BLOCKY, FUZZ_SHADOW, ss_none, wad_no, - "Partial Invisibility (0 = Vanilla; 1 = Refraction; 2 = Shadow)"); BIND_BOOL(draw_nearby_sprites, true, "Draw sprites overlapping into visible sectors");