rnd-20090623-1-src
[rocksndiamonds.git] / src / game_sp / DDScrollBuffer.h
diff --git a/src/game_sp/DDScrollBuffer.h b/src/game_sp/DDScrollBuffer.h
new file mode 100644 (file)
index 0000000..cc77cf8
--- /dev/null
@@ -0,0 +1,29 @@
+// ----------------------------------------------------------------------------
+// DDScrollBuffer.h
+// ----------------------------------------------------------------------------
+
+#ifndef DDSCROLLBUFFER_H
+#define DDSCROLLBUFFER_H
+
+#include "vb_types.h"
+#include "vb_defs.h"
+#include "vb_vars.h"
+#include "vb_lib.h"
+
+#include "global.h"
+
+extern void DDScrollBuffer_Blt();
+extern void DDScrollBuffer_Cls(int BackColor);
+extern long DDScrollBuffer_CreateAtSize(long Width, long Height, long hWndViewPort);
+extern long DDScrollBuffer_Get_DestXOff();
+extern long DDScrollBuffer_Get_DestYOff();
+extern int DDScrollBuffer_Get_Height();
+extern DirectDrawSurface7 DDScrollBuffer_Get_Surface();
+extern long DDScrollBuffer_Get_Width();
+extern void DDScrollBuffer_Let_DestXOff(long NewVal);
+extern void DDScrollBuffer_Let_DestYOff(long NewVal);
+extern void DDScrollBuffer_ScrollTo(int X, int Y);
+extern void DDScrollBuffer_ScrollTowards(int X, int Y, double Step);
+extern void DDScrollBuffer_SoftScrollTo(int X, int Y, long TimeMS, int FPS);
+
+#endif /* DDSCROLLBUFFER_H */