When OpenTTD was versioned using SVN the lower bits of var 21/A1 contained the SVN revision. Since OpenTTD 1.9 these bits are unused.
nml has openttd_version var. It also has a built-in function version_openttd(MAJOR, MINOR, BUILD, REVISION) which can test for a specific svn version of OpenTTD. That won't return valid results with OpenTTD >= 1.9
The text was updated successfully, but these errors were encountered:
The SVN revision bits are frozen to one past the last SVN revision number, they are not zero.
There are also AI and GS that depend on the version number, repurposing it will at the very least need to make sure it remains greater than the final SVN revision.