rnd-20090623-1-src
[rocksndiamonds.git] / src / game_sp / DirectXGlobals.h
diff --git a/src/game_sp/DirectXGlobals.h b/src/game_sp/DirectXGlobals.h
new file mode 100644 (file)
index 0000000..4615d91
--- /dev/null
@@ -0,0 +1,26 @@
+// ----------------------------------------------------------------------------
+// DirectXGlobals.h
+// ----------------------------------------------------------------------------
+
+#ifndef DIRECTXGLOBALS_H
+#define DIRECTXGLOBALS_H
+
+#include "vb_types.h"
+#include "vb_defs.h"
+#include "vb_vars.h"
+#include "vb_lib.h"
+
+#include "global.h"
+
+extern void ClipToWindow(long hWnd);
+extern void InitDirectX(long hWndForm, long hWndClip);
+extern void ReleaseDirectDraw();
+extern void RestorePrimarySurface();
+
+extern DirectDraw7 DDraw;
+extern DirectDrawSurface7 PrimarySurface;
+extern DirectSound DSound;
+extern DirectX7 DirectX;
+extern DirectX7 DirectXS;
+
+#endif /* DIRECTXGLOBALS_H */