1 // ----------------------------------------------------------------------------
3 // ----------------------------------------------------------------------------
5 #ifndef DDSCROLLBUFFER_H
6 #define DDSCROLLBUFFER_H
11 extern int mScrollX, mScrollY;
12 extern int mScrollX_last, mScrollY_last;
14 extern boolean redraw[2 + MAX_PLAYFIELD_WIDTH + 2][2 + MAX_PLAYFIELD_HEIGHT + 2];
19 extern void InitScrollPlayfield();
20 extern void UpdatePlayfield(boolean);
21 extern void RestorePlayfield();
23 extern void DDScrollBuffer_ScrollTo(int X, int Y);
24 extern void DDScrollBuffer_ScrollTowards(int X, int Y, double Step);
25 extern void DDScrollBuffer_SoftScrollTo(int X, int Y, int TimeMS, int FPS);
27 #endif /* DDSCROLLBUFFER_H */