Merge branch 'enhanced_viewport_overlay' into jgrpp

# Conflicts:
#	src/vehicle.cpp
This commit is contained in:
Jonathan G Rennison
2017-09-04 01:24:10 +01:00
12 changed files with 212 additions and 204 deletions

View File

@@ -106,6 +106,7 @@ protected:
uint8 refresh; ///< Refresh counter, zeroed every FORCE_REFRESH_PERIOD ticks.
LinkGraphOverlay *overlay;
static void BreakIndustryChainLink();
Point SmallmapRemapCoords(int x, int y) const;
/**
@@ -196,7 +197,7 @@ public:
friend class NWidgetSmallmapDisplay;
SmallMapWindow(WindowDesc *desc, int window_number);
virtual ~SmallMapWindow() { delete this->overlay; }
virtual ~SmallMapWindow();
static void RebuildColourIndexIfNecessary();