[Gcblue-commits] gcb_wx/include/scriptinterface tcPlatformInterface.h,1.15,1.16
Status: Alpha
Brought to you by:
ddcforge
From: <ddc...@us...> - 2004-02-16 01:14:05
|
Update of /cvsroot/gcblue/gcb_wx/include/scriptinterface In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7358/include/scriptinterface Modified Files: tcPlatformInterface.h Log Message: Index: tcPlatformInterface.h =================================================================== RCS file: /cvsroot/gcblue/gcb_wx/include/scriptinterface/tcPlatformInterface.h,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** tcPlatformInterface.h 15 Feb 2004 19:47:21 -0000 1.15 --- tcPlatformInterface.h 16 Feb 2004 01:06:22 -0000 1.16 *************** *** 22,30 **** #include "tcPlatformObject.h" #include <boost/python.hpp> using namespace boost::python; ! namespace Sensor { class tcAllianceSensorMap; } --- 22,33 ---- #include "tcPlatformObject.h" + #include "tcSensorMap.h" + #include <boost/python.hpp> using namespace boost::python; ! namespace Sensor ! { class tcAllianceSensorMap; } *************** *** 55,60 **** }; ! // wrapper around tcTrack with additional info for iterating ! class tcTrackIterator : public tcTrack { public: long mnKey; --- 58,64 ---- }; ! // wrapper around tcSensorMapTrack with additional info for iterating ! class tcTrackIterator : public tcSensorMapTrack ! { public: long mnKey; *************** *** 64,70 **** { public: ! std::vector<tcTrack> track; ! tcTrack GetTrack(int n) {return track[n];} int Size() {return (int)track.size();} --- 68,74 ---- { public: ! std::vector<tcSensorMapTrack> track; ! tcSensorMapTrack GetTrack(int n) {return track[n];} int Size() {return (int)track.size();} *************** *** 160,166 **** float GetRangeToTarget(void); /// get track info object for target ! tcTrack GetTargetTrackInfo(void); tcGameObject* GetTargetObj(void); ! bool GetTargetTrack(tcTrack& track); /// returns true if launcher is effective vs. current target bool IsLauncherEffective(int anLauncher); --- 164,170 ---- float GetRangeToTarget(void); /// get track info object for target ! tcSensorMapTrack GetTargetTrackInfo(void); tcGameObject* GetTargetObj(void); ! bool GetTargetTrack(tcSensorMapTrack& track); /// returns true if launcher is effective vs. current target bool IsLauncherEffective(int anLauncher); *************** *** 224,245 **** void SetAllSensorState(int anState); /// gets track info object for closest track within range that matches classification and affiliation parameters ! tcTrack GetClosestTrack(float afMaxRange_km, UINT16 anClassMask, ! UINT8 anAffiliation); /// gets track info object for closest air track within range matching affiliation ! tcTrack GetClosestAirTrack(float afMaxRange_km, UINT8 anAffiliation); /// gets track info object for closest surface track within range matching affiliation ! tcTrack GetClosestSurfaceTrack(float afMaxRange_km, UINT8 anAffiliation); /// gets track info object for closest missile track within range matching affiliation ! tcTrack GetClosestMissileTrack(float afMaxRange_km, UINT8 anAffiliation); /// gets track list object that has all tracks within range matching affiliation tcTrackList GetTrackList(int anClassMask, float afMaxRange_km, UINT8 anAffiliation); /// get intercept heading to track in radians ! float GetInterceptHeadingToTrack(const tcTrack& track); // get range to track in km ! float GetRangeToTrack(const tcTrack& track); /// set heading to intercept track ! float SetHeadingToInterceptTrack(tcTrack track); /// get track info object corresponding to track id ! tcTrack GetTrackById(long id); // flightport (airstrip, cv flight deck, helo pad) --- 228,252 ---- void SetAllSensorState(int anState); /// gets track info object for closest track within range that matches classification and affiliation parameters ! tcSensorMapTrack GetClosestTrack(float afMaxRange_km, UINT16 anClassMask, ! UINT8 anAffiliation, int maxEngagements); /// gets track info object for closest air track within range matching affiliation ! tcSensorMapTrack GetClosestAirTrack(float afMaxRange_km, ! UINT8 anAffiliation, int maxEngagements); /// gets track info object for closest surface track within range matching affiliation ! tcSensorMapTrack GetClosestSurfaceTrack(float afMaxRange_km, ! UINT8 anAffiliation, int maxEngagements); /// gets track info object for closest missile track within range matching affiliation ! tcSensorMapTrack GetClosestMissileTrack(float afMaxRange_km, ! UINT8 anAffiliation, int maxEngagements); /// gets track list object that has all tracks within range matching affiliation tcTrackList GetTrackList(int anClassMask, float afMaxRange_km, UINT8 anAffiliation); /// get intercept heading to track in radians ! float GetInterceptHeadingToTrack(const tcSensorMapTrack& track); // get range to track in km ! float GetRangeToTrack(const tcSensorMapTrack& track); /// set heading to intercept track ! float SetHeadingToInterceptTrack(tcSensorMapTrack track); /// get track info object corresponding to track id ! tcSensorMapTrack GetTrackById(long id); // flightport (airstrip, cv flight deck, helo pad) |