void TDriverFrm::MoveBmp(Graphics::TBitmap *Dest, Graphics::TBitmap *Source, TColor Color) { int x,y; TRGBTriple *Sbyte, *Dbyte; for(y=0; y<TILEDIM; y++){ Sbyte = (TRGBTriple *)Source->ScanLine[y]; Dbyte = (TRGBTriple *)Dest->ScanLine[y]; for(x=0; x<TILEDIM; x++){ Dbyte[x] = Sbyte[x]; } } }
Sbyte = (TRBGTriple *)(Source->scanline[y]);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)