Update of /cvsroot/gcblue/gcb_wx/include/scriptinterface
In directory sc8-pr-cvs1:/tmp/cvs-serv12807/include/scriptinterface
Modified Files:
tcPlatformInterface.h tcScenarioInterface.h
Log Message:
Index: tcPlatformInterface.h
===================================================================
RCS file: /cvsroot/gcblue/gcb_wx/include/scriptinterface/tcPlatformInterface.h,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** tcPlatformInterface.h 3 Jan 2004 00:45:12 -0000 1.9
--- tcPlatformInterface.h 5 Jan 2004 02:48:02 -0000 1.10
***************
*** 77,80 ****
--- 77,81 ----
// basic nav commands: heading, speed, altitude
float GetAltitude() {return mpPlatformObj->mcKin.mfAlt_m;}
+ float GetFuel() const;
float GetMaxAltitude() {return mpPlatformObj->mpDBObject->mfMaxAltitude_m;}
float GetSpeed() {return mpPlatformObj->mcKin.mfSpeed_kts;}
Index: tcScenarioInterface.h
===================================================================
RCS file: /cvsroot/gcblue/gcb_wx/include/scriptinterface/tcScenarioInterface.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** tcScenarioInterface.h 1 Jan 2004 23:44:46 -0000 1.6
--- tcScenarioInterface.h 5 Jan 2004 02:48:02 -0000 1.7
***************
*** 63,67 ****
double alt; ///< alt in meters
double heading; ///< heading in deg
! double speed; ///< fractional speed, 0 to 1
void AddOrder(tcOrder order);
--- 63,67 ----
double alt; ///< alt in meters
double heading; ///< heading in deg
! double speed; ///< fractional speed or throttle setting, 0 to 1
void AddOrder(tcOrder order);
***************
*** 78,81 ****
--- 78,83 ----
// Interface functions to be called through Python
bool AddUnitToAlliance(tcScenarioUnit unit, int alliance);
+ bool AddUnitToFlightDeck(std::string parentName, std::string className,
+ std::string unitName, int locCode);
void CreateAlliance(int alliance, std::string name);
tcOrder GetDefaultOrder();
|