From: Andrew M. <rh...@us...> - 2003-03-02 06:24:46
|
Update of /cvsroot/planeshift/planeshift/src/common/psprop/pc In directory sc8-pr-cvs1:/tmp/cvs-serv12111 Modified Files: pspcproxlist.h Log Message: celPcProximityList and iPcProximityList rework. Name clarification and logic reorganization. See code in psproxlist.cpp if you are brave. Index: pspcproxlist.h =================================================================== RCS file: /cvsroot/planeshift/planeshift/src/common/psprop/pc/pspcproxlist.h,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** pspcproxlist.h 12 Feb 2003 07:51:11 -0000 1.13 --- pspcproxlist.h 2 Mar 2003 06:24:43 -0000 1.14 *************** *** 51,65 **** virtual bool Initialize(int myClientNum,int myObjectID) = 0; ! /// Get the proxlist of the other entity and add self to it. ! virtual bool Subscribe(int othercnum, iCelEntity *otherentity)=0; ! /// Add the entity to this subscription list ! virtual void AddSubscription(iCelEntity *interestedEntity, int theirClientNum)=0; ! /// Get the proxlist of the other entity and take self off of its list ! virtual bool Unsubscribe(int fromcnum, iCelEntity *fromentity)=0; ! /// Take the specified entity off this subscription list ! virtual void RemoveSubscription(iCelEntity *entity)=0; /// Remove the owning entity from everyone else's prox lists. --- 51,65 ---- virtual bool Initialize(int myClientNum,int myObjectID) = 0; ! /// Subscribes us to the otherentity's publishing list, and otherentity to ours ! virtual bool MutualSubscribe(int othercnum, iCelEntity *otherentity)=0; ! /// Add the entity to this client/entity list ! virtual void AddPublish(iCelEntity *interestedEntity, int theirClientNum)=0; ! /// Take fromentity off our publishing list and take us off fromentity's list. ! virtual bool MutualUnsubscribe(iCelEntity *fromentity)=0; ! /// Take the specified entity off this client/entity list ! virtual void RemovePublish(iCelEntity *entity)=0; /// Remove the owning entity from everyone else's prox lists. |