Friday, 13 May 2011

Developer Journal 82 - On Boost Serialization

When I load, I get a new SimData object. Could be the same object. The thing is that the serialization code calls the SimData constructor and then loads values from the save file.

The load function should clear objects in graphics and physics. Then load data from the save file into SimData. Then load data from SimData into graphics and physics.

I feel funny reaching inside SimData. Before I do, I’m going to test whether what I said about SimData above is correct.

Error in loading genes.
Error in loading neurons.


No comments:

Post a Comment