1 /* $Id: XPilotNT.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 // xpilot.h : main header file for the XPILOT application
26 //
27 
28 #ifndef __AFXWIN_H__
29 	#error include 'stdafx.h' before including this file for PCH
30 #endif
31 
32 #include "resource.h"       // main symbols
33 
34 /////////////////////////////////////////////////////////////////////////////
35 // CXpilotApp:
36 // See xpilot.cpp for the implementation of this class
37 //
38 
39 class CXpilotApp : public CWinApp
40 {
41 public:
42 	virtual BOOL PreTranslateMessage(MSG* pMsg);
43 	CXpilotApp();
44 
45 // Overrides
46 	// ClassWizard generated virtual function overrides
47 	//{{AFX_VIRTUAL(CXpilotApp)
48 	public:
49 	virtual BOOL InitInstance();
50 	virtual int ExitInstance();
51 	//}}AFX_VIRTUAL
52 
53 // Implementation
54 
55 	//{{AFX_MSG(CXpilotApp)
56 	afx_msg void OnAppAbout();
57 		// NOTE - the ClassWizard will add and remove member functions here.
58 		//    DO NOT EDIT what you see in these blocks of generated code !
59 	//}}AFX_MSG
60 	DECLARE_MESSAGE_MAP()
61 };
62 
63 extern	CXpilotApp theApp;
64 
65 #ifdef	_BETAEXPIRE
66 extern	BOOL	betaexpired;
67 #define	BETACHECK()	(betaexpired)
68 #else
69 #define	BETACHECK() (0)
70 #endif
71 
72 /////////////////////////////////////////////////////////////////////////////
73