MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / SetVisibleRect

Method SetVisibleRect

engine/Poseidon/UI/Map/UIMap.cpp:2462–2466  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2460 }
2461 else
2462 {
2463 saturate(y, _h - _invScaleY, 0);
2464 }
2465}
2466
2467void CStaticMap::ScrollX(float dif)
2468{
2469 _mapX += dif;

Callers 3

AdjustMapVisibleRectMethod · 0.80
CreateStaticMapFunction · 0.80
CreateStaticMapMainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected