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

Method getHeightPixels

Source/Map/Map.hpp:81–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79 int32 getAreaPixels() const { return getWidthPixels() * getHeightPixels(); }
80 int32 getWidthPixels() const { return static_cast<int32>(mParams.mWidth) << 4; }
81 int32 getHeightPixels() const { return static_cast<int32>(mParams.mHeight) << 4; }
82
83 virtual bool load(tSharedBuffer pMapFile, tSharedBuffer pSptFile, const bool pCF2) = 0;
84 virtual bool save(std::string pFilename, const bool CF1) = 0;

Calls

no outgoing calls

Tested by

no test coverage detected