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

Method getHeight

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

Source from the content-addressed store, hash-verified

75 int32 getArea() const { return static_cast<int32>(mParams.mWidth * mParams.mHeight); }
76 int32 getWidth() const { return static_cast<int32>(mParams.mWidth); }
77 int32 getHeight() const { return static_cast<int32>(mParams.mHeight); }
78
79 int32 getAreaPixels() const { return getWidthPixels() * getHeightPixels(); }
80 int32 getWidthPixels() const { return static_cast<int32>(mParams.mWidth) << 4; }

Callers 15

Phase_PrepareMethod · 0.45
Map_Load_TileTracksMethod · 0.45
Camera_Pan_Set_SpeedMethod · 0.45
Map_Overview_PrepareMethod · 0.45
Mouse_Cursor_HandleMethod · 0.45
Mouse_Inputs_GetMethod · 0.45
map_GetRandomYMethod · 0.45
Map_Terrain_GetMethod · 0.45
MapTile_GetMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected