SaturnRingLibrary 0.9
SGL wrapper
 
Loading...
Searching...
No Matches

◆ CopyMap()

void SRL::Tilemap::Interfaces::Bmp2Tile::CopyMap ( uint8_t sourcePage,
Tilemap::Coord topLeft,
Tilemap::Coord botRight,
uint8_t destPage,
Tilemap::Coord destTile )
inline

Copies a rectangular selection of Tilemap data between 2 pages in the tilemap.

Parameters
sourcePageIndex of the Tilemap Page to copy from
topLeftPage Coordinates of Top left of region to Copy
botRightPage Coordinates of Bottom Right of region Copy
destPageIndex of the Tilemap page being copied to
destTileStarting Coordinate to copy to in the destination page (the new Top left)