Changeset - r27660:0e1dff977e70
[Not reviewed]
master
0 3 0
Richard Wheeler - 15 months ago 2023-06-27 14:47:42
2762690+zephyris@users.noreply.github.com
Change: Make terraforming point selection sprite visible at >2x zoom out (#11017)
3 files changed with 3 insertions and 3 deletions:
0 comments (0 inline, 0 general)
src/smallmap_gui.cpp
Show inline comments
 
@@ -1800,7 +1800,7 @@ static const NWidgetPart _nested_smallma
 
					NWidget(WWT_PUSHIMGBTN, COLOUR_BROWN, WID_SM_CENTERMAP),
 
							SetDataTip(SPR_IMG_SMALLMAP, STR_SMALLMAP_CENTER), SetFill(1, 1),
 
					NWidget(WWT_IMGBTN, COLOUR_BROWN, WID_SM_BLANK),
 
							SetDataTip(SPR_DOT_SMALL, STR_NULL), SetFill(1, 1),
 
							SetDataTip(SPR_EMPTY, STR_NULL), SetFill(1, 1),
 
					NWidget(WWT_IMGBTN, COLOUR_BROWN, WID_SM_CONTOUR),
 
							SetDataTip(SPR_IMG_SHOW_COUNTOURS, STR_SMALLMAP_TOOLTIP_SHOW_LAND_CONTOURS_ON_MAP), SetFill(1, 1),
 
					NWidget(WWT_IMGBTN, COLOUR_BROWN, WID_SM_VEHICLES),
src/table/sprites.h
Show inline comments
 
@@ -42,7 +42,7 @@
 

	
 
static const SpriteID SPR_SELECT_TILE  = 752;
 
static const SpriteID SPR_DOT          = 774; // corner marker for lower/raise land
 
static const SpriteID SPR_DOT_SMALL    = 4078;
 
static const SpriteID SPR_EMPTY        = 4078; // empty (transparent blue) sprite
 
static const SpriteID SPR_WHITE_POINT  = 4079;
 

	
 
/* ASCII */
src/viewport.cpp
Show inline comments
 
@@ -1126,7 +1126,7 @@ draw_inner:
 
					if (IsSteepSlope(ti->tileh)) z -= TILE_HEIGHT;
 
				}
 
			}
 
			DrawSelectionSprite(_cur_dpi->zoom <= ZOOM_LVL_DETAIL ? SPR_DOT : SPR_DOT_SMALL, PAL_NONE, ti, z, foundation_part);
 
			DrawSelectionSprite(SPR_DOT, PAL_NONE, ti, z, foundation_part);
 
		} else if (_thd.drawstyle & HT_RAIL) {
 
			/* autorail highlight piece under cursor */
 
			HighLightStyle type = _thd.drawstyle & HT_DIR_MASK;
0 comments (0 inline, 0 general)