Version Information?

From: Patrick Dughi (dughi@IMAXX.NET)
Date: 09/19/98

Has anyone thought of adding versions to their player files (binary) ?

        That is, if you want to make a pfile change, you go ahead and do
it, make the new structures, but keep the old ones.  Then have a way to
check for version of pfile, and then load up, setting up defaults for each
new thing, and you're set.

        How? Oh, I don't know. Maybe make the first element of each struct
an integer with a version number, and for each file do something like read
the size of an int , determine struct type, rewind, load up correct struct
                This doesn't seem too hard to me, what do you think?


     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | |

This archive was generated by hypermail 2b30 : 12/15/00 PST