[Gcblue-commits] gcb_wx/src/scriptinterface tcPlatformInterface.cpp,1.41,1.42
Status: Alpha
Brought to you by:
ddcforge
|
From: Dewitt C. <ddc...@us...> - 2005-04-17 22:35:40
|
Update of /cvsroot/gcblue/gcb_wx/src/scriptinterface In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14954/src/scriptinterface Modified Files: tcPlatformInterface.cpp Log Message: fixed problem writing to account database, added command state update as part of create update for new objects at client, removed application-level command ack Index: tcPlatformInterface.cpp =================================================================== RCS file: /cvsroot/gcblue/gcb_wx/src/scriptinterface/tcPlatformInterface.cpp,v retrieving revision 1.41 retrieving revision 1.42 diff -C2 -d -r1.41 -r1.42 *** tcPlatformInterface.cpp 29 Mar 2005 00:12:27 -0000 1.41 --- tcPlatformInterface.cpp 17 Apr 2005 22:35:31 -0000 1.42 *************** *** 177,180 **** --- 177,185 ---- } + void tcPlatformInterface::SetAltitude(float alt_m) + { + mpPlatformObj->SetAltitude(alt_m); + } + /** * Set state to 1 to land object if near appropriate flightport. *************** *** 201,204 **** --- 206,214 ---- } + void tcPlatformInterface::SetSpeed(float speed_kts) + { + mpPlatformObj->SetSpeed(speed_kts); + } + /** * Sets speed to max speed or max military power for aero modeled aircraft. |