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

Method MapTile_Move_Up

Source/Fodder.cpp:8627–8638  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8625}
8626
8627void cFodder::MapTile_Move_Up(int16 pPanTiles) {
8628
8629 for (; pPanTiles > 0; --pPanTiles) {
8630
8631 --mMapTile_RowOffset;
8632 mMapTile_RowOffset &= 0x0F;
8633 if (mMapTile_RowOffset == 0x0F) {
8634 mMapTile_Ptr -= (mMapLoaded->getWidth() << 1);
8635 --mMapTile_MovedVertical;
8636 }
8637 }
8638}
8639
8640void cFodder::MapTile_Update_Y() {
8641 int16 Data0 = mMapTile_MoveDirectionY;

Callers

nothing calls this directly

Calls 1

getWidthMethod · 0.45

Tested by

no test coverage detected