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

Method MapTile_Move_Left

Source/Fodder.cpp:8601–8612  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8599}
8600
8601void cFodder::MapTile_Move_Left(int16 pPanTiles) {
8602
8603 for (; pPanTiles > 0; --pPanTiles) {
8604
8605 --mMapTile_ColumnOffset;
8606 mMapTile_ColumnOffset &= 0x0F;
8607 if (mMapTile_ColumnOffset == 0x0F) {
8608 mMapTile_Ptr -= 2;
8609 --mMapTile_MovedHorizontal;
8610 }
8611 }
8612}
8613
8614void cFodder::MapTile_Move_Down(int16 pPanTiles) {
8615

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected