[Gcblue-commits] gcb_wx/include/scriptinterface tcPlatformInterface.h,1.27,1.28 tcScenarioInterface.
Status: Alpha
Brought to you by:
ddcforge
|
From: Dewitt C. <ddc...@us...> - 2004-12-05 02:50:26
|
Update of /cvsroot/gcblue/gcb_wx/include/scriptinterface In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20399/include/scriptinterface Modified Files: tcPlatformInterface.h tcScenarioInterface.h Log Message: Sonar work, passive sonar, torpedoes Index: tcPlatformInterface.h =================================================================== RCS file: /cvsroot/gcblue/gcb_wx/include/scriptinterface/tcPlatformInterface.h,v retrieving revision 1.27 retrieving revision 1.28 diff -C2 -d -r1.27 -r1.28 *** tcPlatformInterface.h 29 Nov 2004 03:54:49 -0000 1.27 --- tcPlatformInterface.h 5 Dec 2004 02:49:46 -0000 1.28 *************** *** 285,290 **** // flightport (airstrip, cv flight deck, helo pad) /// true if platform has a flight port (e.g. carrier) ! bool HasFlightPort(void); ! tcFlightPortInterface GetFlightPortInfo(void); tcTrack GetLandingData(long id); int GetLandingState(); --- 285,290 ---- // flightport (airstrip, cv flight deck, helo pad) /// true if platform has a flight port (e.g. carrier) ! bool HasFlightPort(); ! tcFlightPortInterface GetFlightPortInfo(); tcTrack GetLandingData(long id); int GetLandingState(); *************** *** 293,296 **** --- 293,297 ---- // miscellaneous void GetUserInput(std::string callback, std::string uitype); + bool IsValid() const; void SendCommand(std::string command); /// display text message in user console Index: tcScenarioInterface.h =================================================================== RCS file: /cvsroot/gcblue/gcb_wx/include/scriptinterface/tcScenarioInterface.h,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** tcScenarioInterface.h 8 Aug 2004 00:31:32 -0000 1.11 --- tcScenarioInterface.h 5 Dec 2004 02:49:46 -0000 1.12 *************** *** 38,41 **** --- 38,44 ---- using namespace boost::python; + /** + * + */ namespace ScriptInterface { *************** *** 53,56 **** --- 56,62 ---- }; + /** + * + */ class tcScenarioUnit { *************** *** 71,74 **** --- 77,81 ---- bool Validate(); }; + /** * Interface class to python scenario generation scripts. *************** *** 81,84 **** --- 88,96 ---- bool AddUnitToFlightDeck(std::string parentName, std::string className, std::string unitName, int locCode); + void AddToUnitMagazine(const std::string& unitName, + const std::string& item, unsigned int quantity); + void SetUnitLauncherItem(const std::string& unitName, + unsigned int launcherIdx, const std::string& item, unsigned int quantity); + void CreateAlliance(int alliance, std::string name); tcOrder GetDefaultOrder(); |