MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / Blink

Method Blink

src/smallmap_gui.cpp:1431–1439  ·  view source on GitHub ↗

Blink the industries (if hover over an industry). */

Source from the content-addressed store, hash-verified

1429
1430 /** Blink the industries (if hover over an industry). */
1431 void Blink()
1432 {
1433 if (_smallmap_industry_highlight == IT_INVALID) return;
1434
1435 _smallmap_industry_highlight_state = !_smallmap_industry_highlight_state;
1436
1437 this->UpdateLinks();
1438 this->SetDirty();
1439 }
1440
1441 /** Force a full refresh of the map. */
1442 void ForceRefresh()

Callers

nothing calls this directly

Calls 2

UpdateLinksMethod · 0.95
SetDirtyMethod · 0.45

Tested by

no test coverage detected