MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / getDY

Method getDY

src/Engine/Screen.cpp:575–578  ·  view source on GitHub ↗

* Gets the Vertical offset from the mid-point of the screen, in pixels. * @return the vertical offset. */

Source from the content-addressed store, hash-verified

573 * @return the vertical offset.
574 */
575int Screen::getDY()
576{
577 return (_baseHeight - ORIGINAL_HEIGHT) / 2;
578}
579
580/**
581* Changes a given scale, and if necessary, switch the current base resolution.

Callers 11

centerAllSurfacesMethod · 0.80
lowerAllSurfacesMethod · 0.80
MiniMapStateMethod · 0.80
ScannerStateMethod · 0.80
MedikitStateMethod · 0.80
BuildNewBaseStateMethod · 0.80
btnRegionListClickMethod · 0.80
btnCountryListClickMethod · 0.80
btnFinanceListClickMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected