[Gcblue-commits] gcb_wx/include/database tcBallisticDBObject.h,1.6,1.7 tcMissileDBObject.h,1.16,1.17
Status: Alpha
Brought to you by:
ddcforge
|
From: Dewitt C. <ddc...@us...> - 2005-03-25 03:48:16
|
Update of /cvsroot/gcblue/gcb_wx/include/database In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv349/include/database Modified Files: tcBallisticDBObject.h tcMissileDBObject.h Log Message: OpenAL++ updates, added point defense Index: tcBallisticDBObject.h =================================================================== RCS file: /cvsroot/gcblue/gcb_wx/include/database/tcBallisticDBObject.h,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** tcBallisticDBObject.h 31 Jan 2005 01:32:35 -0000 1.6 --- tcBallisticDBObject.h 25 Mar 2005 03:48:06 -0000 1.7 *************** *** 38,43 **** { public: ! enum {GUN_ROUND = 0, GRAVITY_BOMB = 1}; int ballisticType; float GetGunneryElevation(float range_m, float dz_m, float& tti_s); --- 38,44 ---- { public: ! enum {GUN_ROUND = 0, GRAVITY_BOMB = 1, POINT_DEFENSE = 2}; int ballisticType; + float maxRange_km; ///< maximum effective range float GetGunneryElevation(float range_m, float dz_m, float& tti_s); *************** *** 45,48 **** --- 46,50 ---- bool IsGravityBomb() const; bool IsGunRound() const; + bool IsPointDefense() const; virtual const char* GetClassName() {return "Ballistic";} ///< returns class name of database object Index: tcMissileDBObject.h =================================================================== RCS file: /cvsroot/gcblue/gcb_wx/include/database/tcMissileDBObject.h,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** tcMissileDBObject.h 7 Dec 2004 03:59:07 -0000 1.16 --- tcMissileDBObject.h 25 Mar 2005 03:48:06 -0000 1.17 *************** *** 94,98 **** FC_TRACK, ///< needs a fire-control track (launching platform) to launch, semi-active or command guidance SEEKER_TRACK, ///< needs seeker track and FC track to launch ! AUTO ///< will launch and either proceed unguided or autonomously search out target }; --- 94,99 ---- FC_TRACK, ///< needs a fire-control track (launching platform) to launch, semi-active or command guidance SEEKER_TRACK, ///< needs seeker track and FC track to launch ! AUTO, ///< will launch and either proceed unguided or autonomously search out target ! TARGET_ONLY ///< needs a target (no track requirements) }; |