major cleanup of preprocessor hell
[rocksndiamonds.git] / src / game_sp / DDScrollBuffer.h
1 // ----------------------------------------------------------------------------
2 // DDScrollBuffer.h
3 // ----------------------------------------------------------------------------
4
5 #ifndef DDSCROLLBUFFER_H
6 #define DDSCROLLBUFFER_H
7
8 #include "global.h"
9
10
11 extern int mScrollX, mScrollY;
12 extern int mScrollX_last, mScrollY_last;
13
14 extern boolean redraw[2 + MAX_PLAYFIELD_WIDTH + 2][2 + MAX_PLAYFIELD_HEIGHT + 2];
15
16 extern int TEST_flag;
17
18
19 extern void InitScrollPlayfield();
20 extern void UpdatePlayfield(boolean);
21 extern void RestorePlayfield();
22
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);
26
27 #endif /* DDSCROLLBUFFER_H */