1 /* Pcsx - Pc Psx Emulator
\r
2 * Copyright (C) 1999-2003 Pcsx Team
\r
4 * This program is free software; you can redistribute it and/or modify
\r
5 * it under the terms of the GNU General Public License as published by
\r
6 * the Free Software Foundation; either version 2 of the License, or
\r
7 * (at your option) any later version.
\r
9 * This program is distributed in the hope that it will be useful,
\r
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
\r
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
\r
12 * GNU General Public License for more details.
\r
14 * You should have received a copy of the GNU General Public License
\r
15 * along with this program; if not, write to the Free Software
\r
16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1307 USA
\r
23 HWND hWnd; // Main window handle
\r
24 HINSTANCE hInstance; // Application instance
\r
25 HMENU hMenu; // Main window menu
\r
32 extern int AccBreak;
\r
33 extern int ConfPlug;
\r
34 extern int CancelQuit;
\r
35 extern char cfgfile[256];
\r
37 extern char PcsxDir[256];
\r
39 void strcatz(char *dst, char *src);
\r
41 LRESULT WINAPI MainWndProc(HWND, UINT, WPARAM, LPARAM);
\r
42 BOOL CALLBACK ConfigureMcdsDlgProc(HWND hW, UINT uMsg, WPARAM wParam, LPARAM lParam);
\r
43 BOOL CALLBACK ConfigureCpuDlgProc(HWND hW, UINT uMsg, WPARAM wParam, LPARAM lParam);
\r
44 BOOL CALLBACK ConfigureNetPlayDlgProc(HWND hW, UINT uMsg, WPARAM wParam, LPARAM lParam);
\r
46 LRESULT WINAPI CheatDlgProc(HWND hW, UINT uMsg, WPARAM wParam, LPARAM lParam);
\r
47 LRESULT WINAPI CheatSearchDlgProc(HWND hW, UINT uMsg, WPARAM wParam, LPARAM lParam);
\r
49 void ConfigurePlugins(HWND hWnd);
\r
51 int Open_File_Proc(char *file);
\r
52 int Open_Iso_Proc(char *file);
\r
53 void Open_Mcd_Proc(HWND hW, int MCDID);
\r
54 void CreateMainWindow(int nCmdShow);
\r
56 void PADhandleKey(int key);
\r
61 void UpdateMenuSlots();
\r
62 void ResetMenuSlots();
\r
64 void InitLanguages();
\r
65 char *GetLanguageNext();
\r
66 void CloseLanguages();
\r
67 void ChangeLanguage(char *lang);
\r
69 #endif /* __WIN32_H__ */
\r