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

Method getWindowWidth

Source/Fodder.cpp:3535–3544  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3533}
3534
3535int16 cFodder::getWindowWidth() const {
3536 if (!mParams->mWindowColumns) {
3537 if (mVersionCurrent)
3538 return 320;
3539
3540 return 352;
3541 }
3542
3543 return (int16) mParams->mWindowColumns * 16;
3544}
3545
3546cDimension cFodder::getSurfaceSize() const {
3547 if (!mParams->mWindowColumns || !mParams->mWindowRows) {

Callers 2

Sprite_OnScreen_CheckMethod · 0.80
Sprite_OnScreen_CheckMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected