Changeset 89:69ba1a2b5897 in xplra
- Timestamp:
- 05/12/13 09:06:13 (11 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- test
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
test/basicctest.c
r60 r89 105 105 xplaneVersion, xplmVersion, xplraVersion); 106 106 107 printf("Saving the situation...\n"); 108 if (xplra_save_situation(connectionID, "output/situations/test.sit")<0) goto error; 109 printf("Saved the situation\n\n"); 110 107 111 printf("Querying the number of the engines...\n"); 108 112 if (xplra_get_int(&numEngines, connectionID, -
test/basictest.cc
r60 r89 70 70 xplaneVersion, xplmVersion, xplraVersion); 71 71 72 printf("Saving the situation...\n"); 73 xplane.saveSituation("output/situations/test.sit"); 74 printf("Saved the situation\n\n"); 75 72 76 printf("Querying the number of the engines...\n"); 73 77 int numEngines = xplane.getInt("sim/aircraft/engine/acf_num_engines"); -
test/basictest.py
r40 r89 26 26 print "X-Plane version: %d, XPLM: %d, XPLRA: %03d" % \ 27 27 (xplaneVersion, xplmVersion, xplraVersion) 28 print 29 30 print "Saving the situation..." 31 xplane.saveSituation("output/situations/test.sit") 32 print "Saved the situation" 28 33 print 29 34
Note:
See TracChangeset
for help on using the changeset viewer.