Index: src/settings.cpp =================================================================== --- src/settings.cpp (revision 11050) +++ src/settings.cpp (working copy) @@ -1340,6 +1340,7 @@ SDT_VAR(Patches, toolbar_pos, SLE_UINT8, S,MS, 0, 0, 2, 0, STR_CONFIG_PATCHES_TOOLBAR_POS, v_PositionMainToolbar), SDT_VAR(Patches, window_snap_radius, SLE_UINT8, S,D0, 10, 1, 32, 0, STR_CONFIG_PATCHES_SNAP_RADIUS, NULL), SDT_BOOL(Patches, invisible_trees, S, 0, false, STR_CONFIG_PATCHES_INVISIBLE_TREES, RedrawScreen), + SDT_BOOL(Patches, invisible_houses, S, 0, false, STR_CONFIG_PATCHES_INVISIBLE_HOUSES, RedrawScreen), SDT_BOOL(Patches, population_in_label, S, 0, true, STR_CONFIG_PATCHES_POPULATION_IN_LABEL, PopulationInLabelActive), SDT_VAR(Patches, map_x, SLE_UINT8, S, 0, 8, 6, 11, 0, STR_CONFIG_PATCHES_MAP_X, NULL), SDT_VAR(Patches, map_y, SLE_UINT8, S, 0, 8, 6, 11, 0, STR_CONFIG_PATCHES_MAP_Y, NULL), Index: src/lang/english.txt =================================================================== --- src/lang/english.txt (revision 11050) +++ src/lang/english.txt (working copy) @@ -1067,6 +1067,7 @@ STR_CONFIG_PATCHES_ERRMSG_DURATION :{LTBLUE}Duration of error message: {ORANGE}{STRING1} STR_CONFIG_PATCHES_POPULATION_IN_LABEL :{LTBLUE}Show town population in the town name label: {ORANGE}{STRING1} STR_CONFIG_PATCHES_INVISIBLE_TREES :{LTBLUE}Invisible trees (with transparent buildings): {ORANGE}{STRING1} +STR_CONFIG_PATCHES_INVISIBLE_HOUSES :{LTBLUE}Invisible town buildings (instead of transparent): {ORANGE}{STRING1} STR_CONFIG_PATCHES_LAND_GENERATOR :{LTBLUE}Land generator: {ORANGE}{STRING1} STR_CONFIG_PATCHES_LAND_GENERATOR_ORIGINAL :Original Index: src/settings_gui.cpp =================================================================== --- src/settings_gui.cpp (revision 11050) +++ src/settings_gui.cpp (working copy) @@ -641,6 +641,7 @@ "measure_tooltip", "window_snap_radius", "invisible_trees", + "invisible_houses", "population_in_label", "link_terraform_toolbar", "liveries", Index: src/town_cmd.cpp =================================================================== --- src/town_cmd.cpp (revision 11050) +++ src/town_cmd.cpp (working copy) @@ -154,6 +154,8 @@ pal = dcts->ground.pal; DrawGroundSprite(image, pal); + if (_patches.invisible_houses && HASBIT(_transparent_opt, TO_HOUSES)) return; + /* Add a house on top of the ground? */ image = dcts->building.sprite; if (image != 0) { Index: src/variables.h =================================================================== --- src/variables.h (revision 11050) +++ src/variables.h (working copy) @@ -121,6 +121,7 @@ bool wagon_speed_limits; // enable wagon speed limits bool forbid_90_deg; // forbid trains to make 90 deg turns bool invisible_trees; // don't show trees when buildings are transparent + bool invisible_houses; // don't show houses when buildings are transparent bool no_servicing_if_no_breakdowns; // dont send vehicles to depot when breakdowns are disabled bool link_terraform_toolbar; // display terraform toolbar when displaying rail, road, water and airport toolbars bool reverse_scroll; // Right-Click-Scrolling scrolls in the opposite direction Index: src/newgrf_house.cpp =================================================================== --- src/newgrf_house.cpp (revision 11050) +++ src/newgrf_house.cpp (working copy) @@ -334,6 +334,7 @@ } if ((byte)dtss->delta_z != 0x80) { + if (_patches.invisible_houses && HASBIT(_transparent_opt, TO_HOUSES)) return; AddSortableSpriteToDraw( image, pal, ti->x + dtss->delta_x, ti->y + dtss->delta_y,