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

Function SetTileSelectBigSize

src/viewport.cpp:2627–2633  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2625}
2626
2627void SetTileSelectBigSize(int ox, int oy, int sx, int sy)
2628{
2629 _thd.offs.x = ox * TILE_SIZE;
2630 _thd.offs.y = oy * TILE_SIZE;
2631 _thd.new_outersize.x = sx * TILE_SIZE;
2632 _thd.new_outersize.y = sy * TILE_SIZE;
2633}
2634
2635/** returns the best autorail highlight type from map coordinates */
2636static HighLightStyle GetAutorailHT(int x, int y)

Callers 4

OnPaintMethod · 0.85
UpdateSelectSizeMethod · 0.85
OnPaintMethod · 0.85
OnPaintMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected