| 83 | extern uint _dirty_block_colour; |
| 84 | |
| 85 | void GfxScroll(int left, int top, int width, int height, int xo, int yo) |
| 86 | { |
| 87 | Blitter *blitter = BlitterFactory::GetCurrentBlitter(); |
| 88 | |
| 89 | if (xo == 0 && yo == 0) return; |
| 90 | |
| 91 | if (_cursor.visible) UndrawMouseCursor(); |
| 92 | |
| 93 | if (_networking) NetworkUndrawChatMessage(); |
| 94 | |
| 95 | blitter->ScrollBuffer(_screen.dst_ptr, left, top, width, height, xo, yo); |
| 96 | /* This part of the screen is now dirty. */ |
| 97 | VideoDriver::GetInstance()->MakeDirty(left, top, width, height); |
| 98 | } |
| 99 | |
| 100 | |
| 101 | /** |
no test coverage detected