[Gcblue-commits] gcb_wx/include/sim tcRadarSensorState.h,1.5,1.6 tcSensorState.h,1.4,1.5
Status: Alpha
Brought to you by:
ddcforge
From: <ddc...@us...> - 2004-02-05 23:19:41
|
Update of /cvsroot/gcblue/gcb_wx/include/sim In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30786/include/sim Modified Files: tcRadarSensorState.h tcSensorState.h Log Message: Index: tcRadarSensorState.h =================================================================== RCS file: /cvsroot/gcblue/gcb_wx/include/sim/tcRadarSensorState.h,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** tcRadarSensorState.h 1 Feb 2004 22:19:08 -0000 1.5 --- tcRadarSensorState.h 5 Feb 2004 23:17:04 -0000 1.6 *************** *** 68,71 **** --- 68,72 ---- virtual bool ReleaseTrack(); + virtual bool IsCommandReceiver() {return isCommandReceiver;} virtual bool IsSemiactive() {return isSemiactive;} virtual void SetIlluminator(long illum_id, unsigned sensor_idx); *************** *** 80,83 **** --- 81,85 ---- protected: bool isSemiactive; + bool isCommandReceiver; tcRadar* GetSemiactiveIlluminator(); Index: tcSensorState.h =================================================================== RCS file: /cvsroot/gcblue/gcb_wx/include/sim/tcSensorState.h,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** tcSensorState.h 1 Feb 2004 22:19:08 -0000 1.4 --- tcSensorState.h 5 Feb 2004 23:17:04 -0000 1.5 *************** *** 38,41 **** --- 38,42 ---- class tcSimState; + class tcGameObject; /** *************** *** 45,48 **** --- 46,50 ---- { public: + tcGameObject *parent; int mbActive; tnPoolIndex mnDBKey; *************** *** 61,64 **** --- 63,67 ---- virtual bool InitFromDB(tcDatabase *apDatabase, tnPoolIndex anKey, float mountAzimuth_rad); void Serialize(tcFile& file, bool mbLoad); + void SetParent(tcGameObject *obj) {parent = obj;} void UpdateCoverage(tsGeoPoint p,float az_rad); int UpdateScan(double afTime); *************** *** 66,69 **** --- 69,73 ---- tcSensorState* Clone(void); tcSensorState(); + tcSensorState(tcGameObject *obj); virtual ~tcSensorState(); |