[Gcblue-commits] gcb_wx/include/scriptinterface tcPlatformInterface.h,1.21,1.22
Status: Alpha
Brought to you by:
ddcforge
|
From: Dewitt C. <ddc...@us...> - 2004-07-19 00:52:39
|
Update of /cvsroot/gcblue/gcb_wx/include/scriptinterface In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28586/include/scriptinterface Modified Files: tcPlatformInterface.h Log Message: Index: tcPlatformInterface.h =================================================================== RCS file: /cvsroot/gcblue/gcb_wx/include/scriptinterface/tcPlatformInterface.h,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** tcPlatformInterface.h 18 Jul 2004 03:18:00 -0000 1.21 --- tcPlatformInterface.h 19 Jul 2004 00:52:26 -0000 1.22 *************** *** 109,112 **** --- 109,114 ---- /// gets current heading in radians float GetHeadingRad(); + /// gets height of terrain in meters at (lon, lat) + float GetMapTerrainElevation(float lon_rad, float lat_rad); /// gets height of terrain under platform in meters float GetTerrainElevation(); *************** *** 183,187 **** int GetLauncherCount(void); /// sets datum for launcher ! void SendDatumToLauncher(float afLon_rad, float afLat_rad, int anLauncher); /// hands off platform target to launcher bool HandoffTargetToLauncher(int anLauncher); --- 185,189 ---- int GetLauncherCount(void); /// sets datum for launcher ! void SendDatumToLauncher(float afLon_rad, float afLat_rad, float alt_m, int anLauncher); /// hands off platform target to launcher bool HandoffTargetToLauncher(int anLauncher); *************** *** 281,284 **** --- 283,287 ---- static void AttachSimState(tcSimState *apSS) {mpSimState = apSS;} static void AttachConsole(tcSoundConsole *apConsole) {mpConsole = apConsole;} + static void AttachMapData(tcMapData* md) {mapData = md;} void GetSensorMap(void); private: *************** *** 290,293 **** --- 293,297 ---- static tcSoundConsole *mpConsole; static tcCommandQueue *mpCommandQueue; // for requesting GUI commands + static tcMapData* mapData; ///< for getting terrain elevation }; } |