MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / getCameraHeight

Method getCameraHeight

Source/Fodder.cpp:3591–3600  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3589}
3590
3591int16 cFodder::getCameraHeight() const {
3592 if (!mParams->mWindowRows) {
3593 if (mVersionCurrent)
3594 return mVersionCurrent->GetScreenSize().mHeight;
3595
3596 return 364;
3597 }
3598
3599 return (int16) mParams->mWindowRows * 16;
3600}
3601
3602void cFodder::DataNotFound() {
3603 g_Debugger->Error("No game data could be found, including the demos, have you installed the data pack?");

Callers

nothing calls this directly

Calls 1

GetScreenSizeMethod · 0.45

Tested by

no test coverage detected