Changeset 36:29e3b676c0c2 in xplra for src/client/c/hu/varadiistvan/xplra/XPlane.cc
- Timestamp:
- 02/10/13 08:21:47 (11 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/client/c/hu/varadiistvan/xplra/XPlane.cc
r30 r36 193 193 //------------------------------------------------------------------------------ 194 194 195 void XPlane::getVersions(int& xplaneVersion, int& xplmVersion, int& xplraVersion) 196 throw(Exception) 197 { 198 stream->writeU8(Protocol::COMMAND_GET_VERSIONS); 199 stream->flush(); 200 checkResult(); 201 202 xplaneVersion = stream->readS32(); 203 xplmVersion = stream->readS32(); 204 xplraVersion = stream->readS32(); 205 206 checkStream(); 207 } 208 209 //------------------------------------------------------------------------------ 210 195 211 void XPlane::getScalar(const char* name, uint8_t type) throw(Exception) 196 212 {
Note:
See TracChangeset
for help on using the changeset viewer.