Extract screen scrolling from DoSetViewportPosition
commitd1057ae8f8d4f0785fdc0e190dd99abcfe6090ed
authorcirdan <cirdansw@gmail.com>
Fri, 28 Apr 2017 16:26:21 +0000 (28 18:26 +0200)
committercirdan <cirdansw@gmail.com>
Fri, 28 Apr 2017 16:26:21 +0000 (28 18:26 +0200)
treea39d16794e76517b70a99ba0e0fc04b5507e7a19
parentc83404ed4b883049e4aa8abd5ee7619d44184343
Extract screen scrolling from DoSetViewportPosition

Extract the screen scrolling part from DoSetViewportPosition into
its own function ScrollScreenRect in gfx.cpp, which allows to make
GfxScroll and RedrawScreenRect static.
src/gfx.cpp
src/gfx_func.h
src/viewport.cpp