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

Added the C and C++ calls to save the current situation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/client/c/hu/varadiistvan/xplra/XPlane.cc

    r57 r87  
    246246//------------------------------------------------------------------------------
    247247
     248void XPlane::saveSituation(const char* path) throw(Exception)
     249{
     250    stream->writeU8(Protocol::COMMAND_SAVE_SITUATION);
     251    stream->writeString(path);
     252    stream->flush();
     253    checkResult();
     254}
     255
     256//------------------------------------------------------------------------------
     257
    248258void XPlane::getScalar(const char* name, uint8_t type) throw(Exception)
    249259{
Note: See TracChangeset for help on using the changeset viewer.