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

Method MapTile_Move_Right

Source/Fodder.cpp:8588–8599  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8586}
8587
8588void cFodder::MapTile_Move_Right(int16 pPanTiles) {
8589
8590 for (; pPanTiles > 0; --pPanTiles) {
8591
8592 ++mMapTile_ColumnOffset;
8593 mMapTile_ColumnOffset &= 0x0F;
8594 if (!mMapTile_ColumnOffset) {
8595 mMapTile_Ptr += 2;
8596 ++mMapTile_MovedHorizontal;
8597 }
8598 }
8599}
8600
8601void cFodder::MapTile_Move_Left(int16 pPanTiles) {
8602

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected