license info added to Pico directory
[cyclone68000.git] / PicoDrive / stdafx.h
CommitLineData
15eb0001 1\r
2#pragma warning(disable:4514)\r
3#pragma warning(push)\r
4#pragma warning(disable:4201)\r
5#include <windows.h>\r
6#pragma warning(pop)\r
7\r
8#include <aygshell.h>\r
9#include <commdlg.h>\r
10#include <gx.h>\r
11\r
12#include "resource.h"\r
13\r
14#include "../Pico/Pico.h"\r
15\r
16#define APP_TITLE L"PicoDrive"\r
17\r
18// ----------------------------------------------------------\r
19\r
20struct Target\r
21{\r
22 unsigned char *screen;\r
23 POINT point; // Screen to client point\r
24 RECT view,update;\r
25 int offset; // Amount to add onto scanline\r
26 int top,bottom; // Update rectangle in screen coordinates\r
27};\r
28\r
29// Config.cpp\r
30struct Config\r
31{\r
32 int key[8];\r
33};\r
34extern struct Config Config;\r
35\r
36int ConfigInit();\r
37int ConfigSave();\r
38int ConfigLoad();\r
39\r
40// Debug.cpp\r
41int DebugShowRam();\r
42int DebugScreenGrab();\r
43\r
44// Emulate.cpp\r
45extern struct Target Targ;\r
46extern TCHAR RomName[260];\r
47int EmulateInit();\r
48void EmulateExit();\r
49int EmulateFrame();\r
50int SndRender();\r
51\r
52// File.cpp\r
53int FileLoadRom();\r
54int FileState(int load);\r
55\r
56// FrameWindow.cpp\r
57extern HWND FrameWnd;\r
58extern struct GXDisplayProperties GXDisp;\r
59extern struct GXKeyList GXKey;\r
60extern int FrameShowRam;\r
61int FrameInit();\r
62\r
63// Wave.cpp\r
64extern int WaveRate;\r
65extern int WaveLen; // Length of each buffer in samples\r
66extern short *WaveDest; // Destination to render sound\r
67int WaveInit();\r
68int WaveExit();\r
69int WaveUpdate();\r
70\r
71// WinMain.cpp\r
72extern "C" int dprintf(char *Format, ...);\r
73extern int Main3800;\r