Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenTTD/OpenTTD
/ SetSelectionRed
Function
SetSelectionRed
src/viewport.cpp:2256–2260 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
2254
2255
2256
void SetSelectionRed(bool b)
2257
{
2258
_thd.make_square_red = b;
2259
SetSelectionTilesDirty();
2260
}
2261
2262
/**
2263
* Test whether a sign is below the mouse
Callers
3
ToggleRailButton_Remove
Function · 0.85
ToggleRoadButton_Remove
Function · 0.85
OnClick
Method · 0.85
Calls
1
SetSelectionTilesDirty
Function · 0.85
Tested by
no test coverage detected