Changeset 89:69ba1a2b5897 in xplra for test/basictest.cc


Ignore:
Timestamp:
05/12/13 09:06:13 (11 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

Added calls to save the current situation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/basictest.cc

    r60 r89  
    7070               xplaneVersion, xplmVersion, xplraVersion);
    7171
     72        printf("Saving the situation...\n");
     73        xplane.saveSituation("output/situations/test.sit");
     74        printf("Saved the situation\n\n");
     75
    7276        printf("Querying the number of the engines...\n");
    7377        int numEngines = xplane.getInt("sim/aircraft/engine/acf_num_engines");
Note: See TracChangeset for help on using the changeset viewer.