This is a single commit appended on same branch as #475 (because of conflicts), the diff will make more sense after that is merged.
Just added const to all save methods I could find.
Adding the save method to a common base class (#478) requires that items/actors etc have the same save method signature, and it'd be a bit messy to include this in that PR.
Things that requiring saving should probably be implementing an ISaveable interface, but that can be done another day
This is a single commit appended on same branch as #475 (because of conflicts), the diff will make more sense after that is merged. Just added
const
to allsave
methods I could find. Adding thesave
method to a common base class (#478) requires that items/actors etc have the samesave
method signature, and it'd be a bit messy to include this in that PR. Things that requiring saving should probably be implementing anISaveable
interface, but that can be done another day