1 /* $Id: winClient.h,v 5.0 2001/04/07 20:00:59 dik Exp $
2  *
3  * XPilot, a multiplayer gravity war game.  Copyright (C) 1991-2001 by
4  *
5  *      Bj�rn Stabell        <bjoern@xpilot.org>
6  *      Ken Ronny Schouten   <ken@xpilot.org>
7  *      Bert Gijsbers        <bert@xpilot.org>
8  *      Dick Balaska         <dick@xpilot.org>
9  *
10  * This program is free software; you can redistribute it and/or modify
11  * it under the terms of the GNU General Public License as published by
12  * the Free Software Foundation; either version 2 of the License, or
13  * (at your option) any later version.
14  *
15  * This program is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18  * GNU General Public License for more details.
19  *
20  * You should have received a copy of the GNU General Public License
21  * along with this program; if not, write to the Free Software
22  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
23  */
24 
25 /***************************************************************************\
26 *  winClient.h - Interface XPilot to the MFC frontend						*
27 *																			*
28 *  interface from the MFC poo to the xpilot "C" source.						*
29 *																			*
30 *  $Id: winClient.h,v 5.0 2001/04/07 20:00:59 dik Exp $						*
31 \***************************************************************************/
32 
33 #ifndef	_INC_WINDOWS
34 #include <windows.h>
35 #endif
36 
37 #ifdef __cplusplus
38 extern "C" {
39 #endif
40 
41 extern	void		xpilotShutdown();
42 extern	int			main(int argc, char** argv);
43 extern	int			Net_fd(void);
44 extern	int			Net_input(void);
45 extern	void		Paint_frame(void);
46 extern	void		PaintWinClient();
47 extern	HINSTANCE	hInstance;
48 extern	void		Client_cleanup();
49 
50 extern	void		InitWinX(HWND m_hWnd);
51 extern	void		WinXShutdown();
52 
53 extern	int			received_self;
54 
55 extern	const char*	winHelpFile;	/* used to determine .ini file locations */
56 
57 /* requests from the xpilot "real code" to mfc */
58 extern	void	_Trace(char* lpszFormat, ...);
59 extern	const char* mfcDoTalkWindow();
60 extern	char*	Get_xpilotini_file(int level);
61 
62 #ifdef	_DEBUG
63 extern	void	xpmemShutdown();
64 #endif
65 
66 extern	void	Progress(const char* s, ...);
67 
68 #ifdef __cplusplus
69 };
70 #endif
71