Update of /cvsroot/gcblue/gcb_wx/include/database
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20399/include/database
Modified Files:
tcMissileDBObject.h tcSonarDBObject.h
Log Message:
Sonar work, passive sonar, torpedoes
Index: tcSonarDBObject.h
===================================================================
RCS file: /cvsroot/gcblue/gcb_wx/include/database/tcSonarDBObject.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** tcSonarDBObject.h 2 Dec 2004 04:17:23 -0000 1.1
--- tcSonarDBObject.h 5 Dec 2004 02:49:46 -0000 1.2
***************
*** 48,54 ****
--- 48,63 ----
float maxFrequency_Hz;
bool isPassive;
+ //bool isActive ///< both isActive and isPassive indicate selectable
+ //bool isTowed;
+ //float maxTowedScope_m;
+ //bool applyScanLoss;
+ //float bearingResolution_deg;
+
std::string audioFile; ///< filename for audio sound effect (active only)
+
+
float alpha; ///< CALCULATED attenuation coefficent in dB/km
+ // float bearingResolution_rad; ///< CALCULATED
virtual tcSensorState* CreateSensor(tcGameObject* parent); ///< factory method
Index: tcMissileDBObject.h
===================================================================
RCS file: /cvsroot/gcblue/gcb_wx/include/database/tcMissileDBObject.h,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** tcMissileDBObject.h 29 Nov 2004 03:54:49 -0000 1.14
--- tcMissileDBObject.h 5 Dec 2004 02:49:46 -0000 1.15
***************
*** 97,104 ****
--- 97,106 ----
};
+ /// these need to be moved to a common area
#define SURFACE_TARGET 0x0001
#define AIR_TARGET 0x0002
#define LAND_TARGET 0x0004
#define MISSILE_TARGET 0x0008
+ #define SUBSURFACE_TARGET 0x0010
class tcMissileDBObject : public tcWeaponDBObject
|