Added 0.030 of PicoDrive and moved license files into root
[cyclone68000.git] / PicoDrive / stdafx.h
diff --git a/PicoDrive/stdafx.h b/PicoDrive/stdafx.h
new file mode 100644 (file)
index 0000000..b63e5bf
--- /dev/null
@@ -0,0 +1,73 @@
+\r
+#pragma warning(disable:4514)\r
+#pragma warning(push)\r
+#pragma warning(disable:4201)\r
+#include <windows.h>\r
+#pragma warning(pop)\r
+\r
+#include <aygshell.h>\r
+#include <commdlg.h>\r
+#include <gx.h>\r
+\r
+#include "resource.h"\r
+\r
+#include "../Pico/Pico.h"\r
+\r
+#define APP_TITLE L"PicoDrive"\r
+\r
+// ----------------------------------------------------------\r
+\r
+struct Target\r
+{\r
+  unsigned char *screen;\r
+  POINT point; // Screen to client point\r
+  RECT view,update;\r
+  int offset; // Amount to add onto scanline\r
+  int top,bottom; // Update rectangle in screen coordinates\r
+};\r
+\r
+// Config.cpp\r
+struct Config\r
+{\r
+  int key[8];\r
+};\r
+extern struct Config Config;\r
+\r
+int ConfigInit();\r
+int ConfigSave();\r
+int ConfigLoad();\r
+\r
+// Debug.cpp\r
+int DebugShowRam();\r
+int DebugScreenGrab();\r
+\r
+// Emulate.cpp\r
+extern struct Target Targ;\r
+extern TCHAR RomName[260];\r
+int EmulateInit();\r
+void EmulateExit();\r
+int EmulateFrame();\r
+int SndRender();\r
+\r
+// File.cpp\r
+int FileLoadRom();\r
+int FileState(int load);\r
+\r
+// FrameWindow.cpp\r
+extern HWND FrameWnd;\r
+extern struct GXDisplayProperties GXDisp;\r
+extern struct GXKeyList GXKey;\r
+extern int FrameShowRam;\r
+int FrameInit();\r
+\r
+// Wave.cpp\r
+extern int WaveRate;\r
+extern int WaveLen; // Length of each buffer in samples\r
+extern short *WaveDest; // Destination to render sound\r
+int WaveInit();\r
+int WaveExit();\r
+int WaveUpdate();\r
+\r
+// WinMain.cpp\r
+extern "C" int dprintf(char *Format, ...);\r
+extern int Main3800;\r