#pragma warning (disable:4786) #include "ai test.hpp" CPerson::CPerson (void) { m_Awareness = new AIAwareness (this); m_Combat = new AICombat (this); m_Converse = new AIConverse (this); m_Comm = new AIComm (this); m_Move = new AIMove (this); } CPerson::~CPerson (void) { } void CPerson::SetDestination (int x,int y) { m_Move->SetDestination (x,y); } void CPerson::DoTick (void) { CRect arect; Think (1); arect.left = 0; arect.top = 0; arect.right = 514; arect.bottom = 514; InvalidateRect (g_MainWindow->Window (),&arect,false); } void DoTick (void) { int i; DoPathTick (); for (i=0;i