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

Method MapTile_Move_Down

Source/Fodder.cpp:8614–8625  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8612}
8613
8614void cFodder::MapTile_Move_Down(int16 pPanTiles) {
8615
8616 for (; pPanTiles > 0; --pPanTiles) {
8617
8618 ++mMapTile_RowOffset;
8619 mMapTile_RowOffset &= 0x0F;
8620 if (!mMapTile_RowOffset) {
8621 mMapTile_Ptr += (mMapLoaded->getWidth() << 1);
8622 ++mMapTile_MovedVertical;
8623 }
8624 }
8625}
8626
8627void cFodder::MapTile_Move_Up(int16 pPanTiles) {
8628

Callers

nothing calls this directly

Calls 1

getWidthMethod · 0.45

Tested by

no test coverage detected