| 52 | } |
| 53 | |
| 54 | void Bitmap::blitBitmap(const Bitmap *pSrc, int x, int y) |
| 55 | { |
| 56 | for ( int iy = 0; iy < std::min(this->height()-y, pSrc->height()); ++iy ) |
| 57 | memcpy(&this->data[(y + iy)*this->width() + x], &pSrc->data[iy*pSrc->width()], std::min(this->width(),pSrc->width()) ); |
| 58 | } |
| 59 | |
| 60 | void Bitmap::BlitGrpFrame(const grpFrame *pGrp, int x, int y) |
| 61 | { |