[Gcblue-commits] gcb_wx/include/database tcBallisticDBObject.h,1.1,1.2 tcLauncherDBObject.h,1.6,1.7
Status: Alpha
Brought to you by:
ddcforge
|
From: Dewitt C. <ddc...@us...> - 2004-08-05 02:22:43
|
Update of /cvsroot/gcblue/gcb_wx/include/database In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29972/include/database Modified Files: tcBallisticDBObject.h tcLauncherDBObject.h Log Message: Index: tcBallisticDBObject.h =================================================================== RCS file: /cvsroot/gcblue/gcb_wx/include/database/tcBallisticDBObject.h,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** tcBallisticDBObject.h 29 Jul 2004 00:14:16 -0000 1.1 --- tcBallisticDBObject.h 5 Aug 2004 02:22:34 -0000 1.2 *************** *** 33,52 **** namespace Database { ! class tcBallisticDBObject : public tcWeaponDBObject ! { ! public: ! virtual const char* GetClassName() {return "Sensor";} ///< returns class name of database object ! virtual void PrintToFile(tcFile& file); ! int Serialize(tcFile& file, bool mbLoad, UINT32 anVersion); ! int SerializeCSV(CsvTranslator* csv, bool mbLoad); ///< CSV serialization ! virtual void SerializeXml(TiXmlElement* node, bool load); ///< XML serialization ! static int WriteCSVHeader(CsvTranslator* csv); ///< writes column headings ! tcBallisticDBObject(tcBallisticDBObject& obj); ///< copy constructor ! tcBallisticDBObject(); ! virtual ~tcBallisticDBObject(); ! }; } // namespace Database --- 33,54 ---- namespace Database { ! class tcBallisticDBObject : public tcWeaponDBObject ! { ! public: ! float GetGunneryElevation(float range_m, float dz_m, float& tti_s); ! float GetMaxLevelGunRangeKm(); ! virtual const char* GetClassName() {return "Sensor";} ///< returns class name of database object ! virtual void PrintToFile(tcFile& file); ! int Serialize(tcFile& file, bool mbLoad, UINT32 anVersion); ! int SerializeCSV(CsvTranslator* csv, bool mbLoad); ///< CSV serialization ! virtual void SerializeXml(TiXmlElement* node, bool load); ///< XML serialization ! static int WriteCSVHeader(CsvTranslator* csv); ///< writes column headings ! tcBallisticDBObject(tcBallisticDBObject& obj); ///< copy constructor ! tcBallisticDBObject(); ! virtual ~tcBallisticDBObject(); ! }; } // namespace Database Index: tcLauncherDBObject.h =================================================================== RCS file: /cvsroot/gcblue/gcb_wx/include/database/tcLauncherDBObject.h,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** tcLauncherDBObject.h 24 May 2004 00:14:45 -0000 1.6 --- tcLauncherDBObject.h 5 Aug 2004 02:22:34 -0000 1.7 *************** *** 38,41 **** --- 38,42 ---- { public: + float cycleTime; ///< down time between shots tcDBString mzChildClass; ///< class of platform to launch (simple model) UINT mnCapacity; ///< max number of launch objects held (simple model) |