#ifndef __GLOBALSHPP__
#define __GLOBALSHPP__

#pragma warning (disable:4786)
#include "windows.hpp"
#pragma warning (disable:4786)
#include "ai test.hpp"
#pragma warning (disable:4786)
#include "ai test wnd.hpp"
#pragma warning (disable:4786)
#include "airailpath.hpp"
#pragma warning (disable:4786)

#ifndef GLOBAL_EXTERN
#define GLOBAL_EXTERN extern
#endif

const int MAXPERSON = 1;
const int c_nDefaultRenderingHeight = 480;          // default width of direct draw surface
const int c_nDefaultRenderingWidth = 640;           // default height of direct draw surface
const int c_nDefaultRenderingBitsPerPixel = 16;     // bits per pixel of direct draw surface
const DWORD c_dwWindowedStyle = WS_OVERLAPPED+WS_CAPTION+WS_SYSMENU+WS_BORDER;
const DWORD c_dwWindowedStyleEx =0;
const CString WINDOW_NAME("AI Test");
const CString WINDOW_CLASS_NAME("AITESTWINDOWCLASS");

GLOBAL_EXTERN HINSTANCE g_hInstance;
GLOBAL_EXTERN CString g_szTitle;
GLOBAL_EXTERN CString g_szClassName;

GLOBAL_EXTERN bool g_Quitting;

GLOBAL_EXTERN CRegistry *g_Registry;

GLOBAL_EXTERN CAITestWindow *g_MainWindow;

GLOBAL_EXTERN CPerson g_Person[MAXPERSON];
GLOBAL_EXTERN AIFormation g_Formation;

GLOBAL_EXTERN CRailGraph g_Graph;

#endif