|
From: Yohann C. <pl...@us...> - 2004-12-01 20:30:06
|
Update of /cvsroot/epfl/tggame In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21977 Modified Files: aicontroller.cc aicontroller.h Log Message: désolé..... le billard c'est pour une autre fois... Index: aicontroller.cc =================================================================== RCS file: /cvsroot/epfl/tggame/aicontroller.cc,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** aicontroller.cc 1 Dec 2004 18:56:48 -0000 1.16 --- aicontroller.cc 1 Dec 2004 20:29:54 -0000 1.17 *************** *** 18,23 **** int AIController::CROUCH = 5; - int iDirection; - AIController::AIController(Pawn* p) : Controller(p) { --- 18,21 ---- *************** *** 48,52 **** --- 46,52 ---- test *= -1; */ + // rotY+=test; bDir[FORWARD]=1; + // pPawn->SetRotation(Quaternion(rotY, Vector3::UNIT_Y)); //bDir[FORWARD] = 1; *************** *** 57,60 **** --- 57,61 ---- { pPawn->SetRotation(Quaternion(Util::Random()*360, Vector3::UNIT_Y)); + std::cout << "OUCH" << std::endl; /* Index: aicontroller.h =================================================================== RCS file: /cvsroot/epfl/tggame/aicontroller.h,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** aicontroller.h 30 Nov 2004 18:22:00 -0000 1.10 --- aicontroller.h 1 Dec 2004 20:29:55 -0000 1.11 *************** *** 18,24 **** AIController (Pawn* p); virtual ~AIController() {} ! void Think (float); ! // void Collide (PhysicNode* other, const Vector3& vPoint, const Vector3& vCollisionNormal); void Initialize (); }; --- 18,24 ---- AIController (Pawn* p); virtual ~AIController() {} ! void Think (float); ! void Collide (PhysicNode* other, const Vector3& vPoint, const Vector3& vCollisionNormal); void Initialize (); }; |