1
0

saveg.qsrc 1.2 KB

123456789101112131415161718192021
  1. # saveg
  2. !! This file is for adding version numbers to save games,
  3. !! which is be used by the save game updater to change save variables that have been replaced by newer variables.
  4. !! If you change a variable, then you should update the version is this file. (In most cases just increase version_patch by 1.)
  5. !! Then the version number of your new version will be ((100*version_major +version_minor)*100+version_revision)*100+version_patch.
  6. !! For example if version_major = 0, version_minor = 8, version_revision = 2, version_patch = 4 then the new version number is 00080204.
  7. !! You should then add the updates of the variables in the bottom of saveupdater.qsrc starting with adding a line:
  8. !! if ((100*version_major +version_minor)*100+version_revision)*100+version_patch < "new version number":
  9. !! where "new version number" should be replace by the number you got here. (In the example above this would be 00080204.)
  10. !! Then add you replacement of variables after this line.
  11. !! When you do this you should always commit this file and saveupdater.qsrc at the same time.
  12. version_major = 0
  13. version_minor = 9
  14. version_revision = 3
  15. version_patch = 3
  16. --- saveg ---------------------------------