Update of /cvsroot/gcblue/gcb_wx/include/scriptinterface
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4193/include/scriptinterface
Modified Files:
tcPlatformInterface.h tcScenarioInterface.h
tcSimPythonInterface.h
Log Message:
Index: tcPlatformInterface.h
===================================================================
RCS file: /cvsroot/gcblue/gcb_wx/include/scriptinterface/tcPlatformInterface.h,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** tcPlatformInterface.h 8 Jan 2004 23:54:27 -0000 1.11
--- tcPlatformInterface.h 29 Jan 2004 00:05:03 -0000 1.12
***************
*** 89,97 ****
float GetAltitude() {return mpPlatformObj->mcKin.mfAlt_m;}
float GetFuel() const;
! float GetMaxAltitude() {return mpPlatformObj->mpDBObject->mfMaxAltitude_m;}
! float GetSpeed() {return mpPlatformObj->mcKin.mfSpeed_kts;}
! float GetMaxSpeed() {return mpPlatformObj->mpDBObject->mfMaxSpeed_kts;}
! float GetHeading() {return C_180OVERPI*mpPlatformObj->mcKin.mfHeading_rad;}
! float GetHeadingRad() {return mpPlatformObj->mcKin.mfHeading_rad;}
float GetTerrainElevation();
bool HasThrottle();
--- 89,97 ----
float GetAltitude() {return mpPlatformObj->mcKin.mfAlt_m;}
float GetFuel() const;
! float GetMaxAltitude();
! float GetSpeed();
! float GetMaxSpeed();
! float GetHeading();
! float GetHeadingRad();
float GetTerrainElevation();
bool HasThrottle();
Index: tcScenarioInterface.h
===================================================================
RCS file: /cvsroot/gcblue/gcb_wx/include/scriptinterface/tcScenarioInterface.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** tcScenarioInterface.h 5 Jan 2004 02:48:02 -0000 1.7
--- tcScenarioInterface.h 29 Jan 2004 00:05:05 -0000 1.8
***************
*** 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);
--- 63,68 ----
double alt; ///< alt in meters
double heading; ///< heading in deg
! double speed; ///< speed in knots
! double throttle; ///< throttle setting, 0 to 1, or > 1 for afterburner
void AddOrder(tcOrder order);
Index: tcSimPythonInterface.h
===================================================================
RCS file: /cvsroot/gcblue/gcb_wx/include/scriptinterface/tcSimPythonInterface.h,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** tcSimPythonInterface.h 29 Dec 2003 01:10:25 -0000 1.8
--- tcSimPythonInterface.h 29 Jan 2004 00:05:05 -0000 1.9
***************
*** 89,92 ****
--- 89,93 ----
void ProcessCallback(std::string command, long anData, int param);
void ProcessHotKey(unsigned int key, unsigned int flags);
+ void ProcessSecondaryHook(long id);
void ReportError(const char* text);
void SelectFlightInterface(void) {meMenuMode = FLIGHT_MENU;}
|