int saveTChannel

( T_CHANNEL* iChannel, FILE* out )

Write out a cahnnel object to a file.

Documentation

Write out a cahnnel object to a file. Due to the volume of data in this object, I am trying to use memcpy to move double information to a single array before writing. If this works, good; otherwise, I waill have to move data over using more statements. I don't want to just call fwrite on the object because if it changes in a later version, then old save files would be unreadable. By writing out data as primitives, we can keep old load functions that can still be used on old save files, while writing new load functions to work with new save files.
Parameters:
out - FILE pointer to destination file
Returns:
total number of bytes written

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.