Changeset 36:29e3b676c0c2 in xplra for test/basicctest.c
- Timestamp:
- 02/10/13 08:21:47 (11 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
test/basicctest.c
r29 r36 42 42 int retval = 0; 43 43 const char* errorString = 0; 44 45 int xplaneVersion = 0; 46 int xplmVersion = 0; 47 int xplraVersion = 0; 48 44 49 int numEngines = 0; 45 50 float spoolTime = 0.0; … … 69 74 } 70 75 76 printf("Querying the versions...\n"); 77 if (xplra_get_versions(connectionID, &xplaneVersion, 78 &xplmVersion, &xplraVersion)<0) goto error; 79 printf("X-Plane version: %d, XPLM: %d, XPLRA: %03d\n\n", 80 xplaneVersion, xplmVersion, xplraVersion); 81 71 82 printf("Querying the number of the engines...\n"); 72 83 if (xplra_get_int(&numEngines, connectionID,
Note:
See TracChangeset
for help on using the changeset viewer.