From: Keith F. <ven...@us...> - 2003-03-06 06:39:54
|
Update of /cvsroot/planeshift/planeshift/src/common/psprop/pc In directory sc8-pr-cvs1:/tmp/cvs-serv20807 Modified Files: pspcproxlist.h pspclinmove.h Log Message: Committing reworked CD and behavior code from Andrew Mann (Rhad), who didn't have the guts to commit these himself. :-) This also adds "jump" as an action. With no anim, it is slightly ugly but it works great and seems very realistic. Index: pspcproxlist.h =================================================================== RCS file: /cvsroot/planeshift/planeshift/src/common/psprop/pc/pspcproxlist.h,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** pspcproxlist.h 2 Mar 2003 06:24:43 -0000 1.14 --- pspcproxlist.h 6 Mar 2003 06:39:51 -0000 1.15 *************** *** 38,42 **** ! #define DEF_PROX_DIST 100 // 50m is trial distance here /** --- 38,42 ---- ! #define DEF_PROX_DIST 100 // 100m is trial distance here /** Index: pspclinmove.h =================================================================== RCS file: /cvsroot/planeshift/planeshift/src/common/psprop/pc/pspclinmove.h,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** pspclinmove.h 8 Feb 2003 06:51:15 -0000 1.16 --- pspclinmove.h 6 Mar 2003 06:39:51 -0000 1.17 *************** *** 36,39 **** --- 36,40 ---- virtual void SetCameraPitchSpeed(float angle) = 0; virtual void Move(const csVector3& vel) = 0; + virtual void GetVelocity(csVector3 *p_vel) = 0; virtual bool InitCD(csVector3& top, csVector3& bottom)=0; *************** *** 52,58 **** --- 53,61 ---- virtual iSector* GetSector() = 0; virtual void SetReady(bool flag) = 0; + virtual bool IsOnGround() = 0; virtual bool IsReady() = 0; }; #endif + |