www.pudn.com > GameEngine_src.rar > GlobalObject.cpp


#include "CAppWnd.h" 
#include "resource.h" 
#include "CTimer.h" 
#include "CDInput.h" 
#include "CEasyDraw.h" 
#include "CEasyAudio.h" 
 
 
#include "CMap.h" 
#include "CMessageManager.h" 
#include "CGameManager.h" 
#include "CPathSeeker.h" 
#include "CHero.h" 
#include "CSpriteFactory.h" 
#include "CNpcDlg.h" 
#include "CES_Executor.h" 
#include "CItemFactory.h" 
#include "CMagicFactory.h" 
 
CAppWnd		theAppWnd; 
PEASYAUDIO	g_pEasyAudio; 
PEASYDRAW	g_pEasyDraw; 
CDIKeyBoard	theKeyBoard; 
CDIMouse	theMouse; 
CTimer		theTimer; 
 
CMap				theMap; 
CMessageManager		theMsgMgr; 
CGameManager		theGameManager; 
CPathSeeker			thePathSeeker; 
CHero				theHero; 
CSpriteFactory		theSpriteFactory; 
 
CNpcDlgMgr			theNpcDlgMgr; 
 
CES_Executor		theES_Executor; 
 
CItemFactory		theItemFactory; 
CItemBox			theItemBag;				//英雄背包,即装备栏 
CItemBox			theItemTrough;			//物品快捷使用栏 
CItemBox			theItemStorage;			//物品的保管箱 
CItemBox			theEquipmentBox;		//装备栏 
CItemBox			theItemShop;			//物品商店 
 
CMagicFactory		theMagicFactory;		//魔法工厂