Changeset 36:29e3b676c0c2 in xplra for test/basictest.cc
- Timestamp:
- 02/10/13 08:21:47 (11 years ago)
- Branch:
- default
- hg-Phase:
- (<MercurialRepository 3 'hg:/home/ivaradi/xplane/hg/xplra' '/'>, 'public')
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
test/basictest.cc
r25 r36 53 53 printf("Connected to X-Plane.\n\n"); 54 54 55 int xplaneVersion = 0; 56 int xplmVersion = 0; 57 int xplraVersion = 0; 58 59 printf("Querying the versions...\n"); 60 xplane.getVersions(xplaneVersion, xplmVersion, xplraVersion); 61 printf("X-Plane version: %d, XPLM: %d, XPLRA: %03d\n\n", 62 xplaneVersion, xplmVersion, xplraVersion); 63 55 64 printf("Querying the number of the engines...\n"); 56 65 int numEngines = xplane.getInt("sim/aircraft/engine/acf_num_engines");
Note:
See TracChangeset
for help on using the changeset viewer.