From: Matze B. <mat...@us...> - 2002-03-01 18:05:31
|
Update of /cvsroot/planeshift/planeshift/src/common/psprop/pc In directory usw-pr-cvs1:/tmp/cvs-serv18447/src/common/psprop/pc Modified Files: pspclinmove.h Log Message: started with dead reckoning and made linear movement really independant of framerate Index: pspclinmove.h =================================================================== RCS file: /cvsroot/planeshift/planeshift/src/common/psprop/pc/pspclinmove.h,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** pspclinmove.h 28 Feb 2002 02:45:26 -0000 1.1 --- pspclinmove.h 1 Mar 2002 18:05:27 -0000 1.2 *************** *** 29,42 **** SCF_DECLARE_FAST_INTERFACE(iPcLinearMovement) - SCF_VERSION( iPcLinearMovement, 0, 0, 1 ); struct iPcLinearMovement : public iBase { ! virtual void Rotate(csVector3& angle) = 0; ! virtual void Move(csVector3& vel) = 0; ! }; #endif --- 29,46 ---- SCF_DECLARE_FAST_INTERFACE(iPcLinearMovement) SCF_VERSION( iPcLinearMovement, 0, 0, 1 ); + struct iDataBuffer; struct iPcLinearMovement : public iBase { ! virtual void Rotate(const csVector3& angle) = 0; ! virtual void Move(const csVector3& vel) = 0; + // returns data usefull for dead reckoning + virtual iDataBuffer* GetDRData() = 0; + // §pplies dead reckoning data to this object + virtual void SetDRData(iDataBuffer* data) = 0; + }; #endif |